How to Disable Right Click on Website or Blog


How to Disable mouse Right Click on the website?

Have you noticed, that many websites don’t allow their visitors to use of right-clicking on Blog area? This is very useful for a webmaster or blog owner. Because of this feature minimizes the possibilities of the content direct copying to other posts. Right-click enables more features like see the source codes of website, copy-paste and other things.

So if still, you haven’t disabled right-clicking on your website then there are many chances that your images and contents can be copied by the user.

So if you want to disable  Right Click on your website you can follow the given steps.

For WordPress:

If you are the owner of a WordPress Site then you have many methods to disable right click on WordPress. here both methods are given.

With Plugin-:

You can install a plugin named as “Wp-content copy protection & No Right click“.

It disables Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+S, Ctrl+A.

Without Plugin:-

  1. Go to the theme editor
  2. Then go to header.php
  3. Copy the given code.
  4. Paste this code between <head> …,</head> tags.

For Blogspot:

  • Go to Dashboard >Layout > Add  Gadget >HTML >JavaScript.
  • Copy the code from this file and paste it in that blogger widget.
  • Save the HTML/javascript and view your blog.

Now on your Blogspot right click has been disabled. if anyone tries to click,  it’ll show an error message that Disabled!

How disable right click in any website?

Even if you do not have a Blogspot user, you can use this code to disable right click of the mouse.

Follow these Steps to disable right click

  1. Copy The Code.
  2. Edit Source Code of the website.
  3. Paste the given copied code between the <head> ….</head> tag.

Now save your source code and test your website you’ll find that the right click has disabled.

So this code is very useful for those bloggers want to prevent the copy of their articles, images, contents from their blog or websites.

Read More:

I hope this article will be helpful to you. if you like this article please leave a comment. Thanks


  1. Amazing blog! Is your theme custom made or did you
    download it from somewhere? A design like yours with a few simple adjustements would really make my blog shine.

    Please let me know where you got your design. Bless you


Please enter your comment!
Please enter your name here