Moody
Harap maaf, shoutbox di blog ini lambat load :).

Disable highlight text (Nobody can copy it)

huihui . Ehh ? Has someone copy ur entry . Amboi, it cn't b .  Should b abolished . Let we learn how, dn't let people copy ur entry again .


What mean highlight  ?
Like this,

- Dashboard  >  Design  >  Page element  >  Add a gadget  >  HTML/javascript
- Copy code below here :


<script type="text/javascript">


/***********************************************
* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/


//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>







- Save ler ! Easy right ? Done?

0 300 love me:

Related Posts Plugin for WordPress, Blogger...
Copyright © All Rights Reserved moonrobi.blogspot.com