Monday, 3 June 2024

How To Disable Copy/Paste and Right Click in Blogger To Protect your Content

How to disable the copy/Paste option in Blogger. If you want to disable the copy/paste option you can block it easily and you can prevent copying your valuable content without your permission. 


Follow these 4 steps process Disable copy/paste & Right click option in Blogger.

  1. Log in to the Blogger Account Dashboard.
  2. Now Go to the Theme Section.
  3. In the Theme Section go to customize with Edit HTML.
  4. Copy the code below and paste it before the </body> tag.


To Disable the Selection & copy.

<script> $('body').bind('copy cut drag drop', function (e) { e.preventDefault(); }); </script>

To disable the RIght-CLick 

 <script> document.addEventListener('contextmenu', function (e) { e.preventDefault(); }); </script>

No comments:

Post a Comment