How To Disable Right Click on Website [WordPress, Blogger, Image, and Video]


Do you want to disable right-click on your website or blog? Do you want to protect your article from being copied? Then you are at the right place.

The person who reached this post must be a blogger who wants to protect his/her website from unauthorized copy. Starting a blog is now much easier than in earlier times. You must have written SEO friendly articles with proper on-page and off-page SEO.

Here we are going to discuss some tricks to disable right click on your website, especially on blogger.

Why disable right-click on your website or blog?

All you know is how hard to write unique content. Right-click helps anyone to copy your post content easily. By disabling right-click you don’t allow them to copy your content.

By implementing the following code you can protect your blog posts from copy.

Steps to Implement the Code

  • Step 1: Go to the Layout section from the Blogger dashboard
  • Step 2: Click on “Add a Gadget” (preferable on the Footer section)
  • Step 3: Select the “HTML/JavaScript” option
  • Step 4: Copy the below javascript code and paste it into the content box
  • Step 5: Click on Save, done!

Don’t worry it is lightweight and it doesn’t increase your website’s loading time.

[SEO] Meta Tags: A Complete Guide

Here is the Main Code

<!-- Disable Right Click Code by -->
<script language='JavaScript'>
function clickIE()
{if (document.all) {(message);return false;}}function clickNS(e)
{if (document.layers||(document.getElementById&&!document.all))
{if (e.which==2||e.which==3) {(message);
return false;}}}
if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
document.oncontextmenu=new Function("return false")

Download the Code

You can easily download the code and keep it on your PC or laptop for future use.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.