-->
Welcome To Free Learning Softwares in Urdu (By Qasim Ashraf..!!!)

How To Disable Hightlight Function: Protect Your Blog Content From Copy and Paste

To write a very constructive blog content is a very hard work, which some bloggers don't understand what it takes, all they are looking for is where to copy content for their blog, which is really a very bad act, especially when your copied content is ranking higher than your original content. I can remember when i first started blogging, it took me 10-15mins before i can actually figure out where to start my write-up, but seems to be getting easier as time goes on.


Now the major trick you can use to protect your content from copy and paste bloggers is to disable highlight function. I also shared a tutorial on how to disable right click context menu on images, which you can also use it to protect your blog images.


How To Disable Highlight Function

  • Go to your dashboard
  • Click Template > Edit HTML > Proceed
  • Use ctrl F to find </head> and paste the following code above </head>

<script type='text/javascript'>
 if (typeof document.onselectstart!=&quot;undefined&quot;) {
 document.onselectstart=new Function (&quot;return false&quot;);
}
 else{
 document.onmousedown=new Function (&quot;return false&quot;);
 document.onmouseup=new Function (&quot;return true&quot;);
}
</script> 

  • Now save your template.

Alternative

You can also add it, using this second option.
  • Go to Layout > Add a Gadget > HTML/JavaScript
  • Paste the following code in the content box leaving the title box empty.

<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script> 

  • Click on the Save button and you are done.
With this trick, your blog content is now safe from copy and paste bloggers.
Take few seconds to share it, if it help's a bit.

Enjoyed This Post? Subscribe For More Update!

Related Posts Plugin for WordPress, Blogger...

Post By : Qasim Ashraf
Category:

0 comments: