Running 2 Youtube Channel : The Masti Adda (Fun based ) : The Knowledge Adda (Knowledge based) : Subscribe for Knowledge with Fun....

How to disable being copied your Text from Blog of Website

Written by @

Every Bloggers always wanted to prevent users or other bloggers from copying the content from their blog or website. Every blogger wants that no one can steal their efforts . Few Bloggers do lots of efforts by researching and writing great articles for their blog, whereas some just copy and paste article and tutorials on their blog from others. So to prevent such bloggers from copying the content from your blog i will teach you to disable right click on your blog with just simple JavaScript. So lets get started.

  • Go to your blogger Dashboard and click on Layout. 
  • Then click on Add Gadget. 
  • Choose HTML/JavaScript From Popup Window 
  • Now Copy and Paste below code into it. 
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script> 
Now save it and you are done disabling right click on your blog.

No comments:

Post a Comment