How To Disable Copying Text On Blogger Blogs?

JavaScript

Want to Disable Copying Text On Blogger Blogs??

chandan sharma

Steps to for Blogger (Disable Copying Text):

  1. Go to Dashboard > Select the blog where you would like to implement the code
  2. Go to Layout > Add a Gadget > Select “HTML/JavaScript gadget
  3. Paste the following 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>

Finally DONE..!!

Leave a Reply

Your email address will not be published. Required fields are marked *