This post is about preventing pirates from copying/stealing the content on your blog or website after so much stress of creating, composing, editing and even re-editing.

Of course, photocopying the content from one website to another, to make the matter worse, they refused to make reference to the original site that owns the content. This has made some sites or blog to implement some coding that prevents visitors from copying their content.

Now, I am going to show you a simple step on how to protect your site from these set of people but it actually based on Blogger for now. However, the way it work is by disabling the contents on your site from being highlighted – (Ctrl + A).

Warning: This trick might not be compatible with some Stone Age browsers.

Guideline on how to disable content from being copied on Blogger

  • Kindly login to your Blogger, and go to Dashboard
  • Now, go to Layout, and click on Add a Gadget > Select HTML/JavaScript gadget
  • The copy and Paste the below code in the box:

<script
src=’demo-to-prevent-copy-paste-on-blogger_files/googleapis.js’></script>
<script
type=’text/javascript’>
if (typeof
document.onselectstart!=”undefined” ) {

document.onselectstart=new Function (“return false” );
} else {
document.onmousedown=new Function (“return false” );
document.onmouseup=new Function (“return true” );
}</script>

  • And, that is all. Now go to your site and test it.

Note: Another way one can implement the above code is by placing it below <head> or above
</head> in your template.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Captcha verification failed!
CAPTCHA user score failed. Please contact us!