Disable Copy Paste In Blogger

If you're a blogger and you spend a lot of time writing quality content for your blog then you must know that there are some people who can copy your content to their site. Obviously you would not want that.

Disable Copy Paste In Blogger

Your content belongs to you and no person has the right to copy that unless you give them permission but what about others?

You can stop others also by disabling copy paste in your blog.
This trick will disable text selection from your blog that way no one would be able to select any text or paragraph to copy.

Steps to follow

  • Open blogger
  • Go to 'Layout' and click on 'Add a gadget'
  • Select 'HTML/Javascript gadget' from the list like this

HTML/Javascript Gadget

  • Paste this code directly in that gadget

<!- START disable copy paste --><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 false"); } </script><!-- End disable copy paste -->

  • Save gadget and visit your blog to see live changes.

I like blogging as much as I like coding and designing though not more than traveling.
If I'm not here publishing stuff then you will find me researching about SEO and marketing.
Love to meet new people and try to help every person.
Find me interesting or have any issue?
Shoot a message and I'll be with you.


  1. Hi I just checked. Thanks for your valuable info but I just checked it doesn't disable copy/paste from mobile. What shall i do?

    1. Hey Tooku,

      I've checked and the code is working on mobile also. You may want to check if some other script is not conflicting in your theme. :)


Don't forget to check 'Notify me' box to get notification of reply.