skins about bias entry link stuff
👯 Say something kind?

👯 Memories



Older Post | < Newer Post

👯 Followers


👯 Because of you!
Disable Highlight Text
Tuesday, July 23, 2013 | 12:43:00 PM | 0 comments

"I don't wan't someone to copy any text from my blog!" How to disable highlight text? Follow my step under this :)
1.  Dashboard > Template > Edit html
2. Find </head> code !
3. Copy this code, then paste above </head>  code.
<script type="text/javascript">
/***********************************************
* THIS IS DISABLE HIGHLIGHT TEXT SCRIPT
* YOU CAN REMOVE THIS CODES IF YOU WANT
* Credits http://www.dynamicdrive.com/
***********************************************/
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
 4. Preview and save!

Good luck!

Post a Comment

• Any question/ request/ complain?!
• Please leave some comment after read my post!
• Use positive words, no harsh words!
• Thanks for read my post, hope useful :)