Newsletter

How to Disable Right Click or Copy-Paste on Blogger/Blogspot

Hello Friends, How are You?? I hope that you will be fine. Today, I am posting for Bloggers who are using Google's Blogger or Blogspot. As we know that how much TIME a Blogger spends in writing a Post on Blog but what happens when someone copies (thefts) your post in just a few seconds and Post that on his Blog even without giving any Credit to Original owner of the content ? In English, Such type of people are known as Plagiarists. I am going to tell you that How to Disable Right Click or Copy-Paste on Blogger/Blogspot and Other Websites by using a Javascript Code and Prevent your Blog from such Plagiarists or Copycats.

how-to-disable-right-click-on-blogger

How to Disable Right Click on Blogger Blog

You just need to follow the step by step tutorial as guided below:
  1. Login to Blogger Dashboard and navigate to Layout.
    how-to-disable-right-click-on-blogger
  2. Click on ‘Add a Gadget‘ on the sidebar or anywhere you like.
    how-to-disable-right-click-on-blogger
  3. Select ‘HTML/Javascript‘ and Paste the below-given code.
    how-to-disable-right-click-on-blogger
           how-to-disable-right-click-on-blogger

Now, You have two options whether you want to show any message when someone tries to copy or not. If you didn't want to show any message then use the code just below Without Message  or if you want to show any message then use the code just below the With Message.


Without Message 

<script language=JavaScript> <!-- //Script by www.BlogHatrick.Com var message=""; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script>



With Message


<script language=JavaScript> <!-- //Script by www.BlogHatrick.Com message="Right Click Has Been Disabled"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script>



Now, Click on Save and Enjoy.

CustomizationYou can also change 
Right Click Has Been Disabled with your own Custom Message. It will display when someone tries to do right click on your blog.

Hope that You Enjoyed this Post . Please Don't Forget to Share this Post with your Friends on Social Medias to encourage me to Write such Articles, Hacks and Tricks in Future.

Tags:
disable copy paste in blogger,how to disable text selection in blogger,how to disable right click on blogger for pictures,how to disable copy text in blogger,prevent copy in blogger,disable right click on images blogger,how to protect blog from copy paste,enable right click on blog, disable copy paste in Blogspot, disable right click in blogger,
how to disable text selection in blogger,
how to protect your blog content from copying, how to disable copy paste in wordpress, how to protect blog from copy paste, disable right click on images blogger, html code to prevent copying text,
enable right click on blog
How to Disable Right Click or Copy-Paste on Blogger/Blogspot How to Disable Right Click or Copy-Paste on Blogger/Blogspot Reviewed by Swayam Raj on October 21, 2017 Rating: 5

2 comments:

  1. Replies
    1. Thank you, Raj Kumar meena.
      Hope that see you again here

      Delete

Powered by Blogger.