Monday, April 23, 2012

Disable Mouse Selection On Your Blogger Page | Protect Your Page From Being Copied

0 comments
You know a thing that someone enter your blog and simply copy your articles and copy to their blog. That will seriously affect your blog ranking. You can easily prevent this nuisance by disable your text selection. Here is the code. You add an html/java script gadget in your blogger and paste code
blogger men writingin it .Please dont give any name to the gadget.
<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>

source -  www.dynamicdrive.com

Leave a Reply

Related Posts Plugin for WordPress, Blogger...