How to Disable Right Click on Blogger and WordPress Website

Rate this post

Hello friends, welcome to my website, today we are going to tell you in this post that how you can disable right click on your blogger and wordpress website and inspect element on your blogger website, so we Make sure that no one can copy your code. Like if you are a creator, and you don’t want someone to steal your work? You people can do this and if you do not remove your content even after right click disbaled, then you can give him DMCA and if you do not understand with warning, then give him DMCA directly.


How to Disabled the Right Click Key

Friends, disabling the right click would be very helpful to you because many people come to your website and those people like your content, then they want to copy it, if they select it, then the right click will be disabled. And with this they will not be able to copy either.

Friends, it also becomes necessary for some time so that your website remains safe and secure, people who come to your website from plagiarist people, just by copying the content, after applying it, your website becomes very secure.

However, it depends on you that some people face a lot of problem, then they can use right click disable. And these features are used on websites like banks to make them more secure.

And friends, if it is about WordPress, then you get many free plugins in WordPress, in which you can easily disable the right click. But friends, as you all know that we cannot install any plugin in blogger, we can disable right click in blogger’s theme by adding some custom code here. And friends, if you want to use this code, you can do it on WordPress as well and it will work on WordPress too, all of you stay with Techy Shreya.

Cons of the using Copy Paste Content of Other User

Do you know ? Many people who are new, however, do not know that copy paste content is not safe and secure, if they do this or use copied content, then it becomes harmful for them, its writer and for them too. . Because their content and your content are exactly the same and keep matching on both the websites which is not good.

Those who are new people, they do not know that the disadvantages of copy content are those who have just started blogging. Yes, start blogging but put your own original content, products and services on your website. But some bloggers copy content from other blogger’s website and they don’t even care about it.

How to Disabled the Right Click and Inspect Element Function on Blogger 

Advice –

Friends, I tell you first of all that you should take a backup of your theme, which is already before customizing in the template and before doing some changes, because if something goes wrong, then you can use the old template. Can revert from help as before.

Step 1: – First of all you have to login to your blogger account.

Step 2: – Now you have to click on Theme Menu.

Step 3: – Now you have to select Edit HTML.

Step 4: – Now you have to copy the Javascript code given below and paste it above the closing </body> tag.

           <script type='text/javascript'>

var message="Right Click is Disabled!";
function clickIE4(){
if (event.button==2){
return false;}}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;}}}
if (document.layers){
else if (document.all&&!document.getElementById){
}document.oncontextmenu=new Function("alert(message);return false")

Step 5:- You have to click on Save Theme.

Step 6: – Now go to your website and right click once, see that your right click must have been disabled.


So, friends, in today’s post, I have taught you how to disable right click. If you like this post, then do share it with your friends and if you face any problem, then tell your problem in the comment section, we will definitely try to solve it.

One Request?

I worked hard on this post to help the blogging community. It would help me a lot if you consider sharing it on social media networks. Because Sharing Is Caring.. ♥️

Sharing Is Caring...

Hello! My name is Tech Shreyansh, and I'm a Youtuber and Content Creator from Azamgarh, India. I have a channel on YouTube called Tech Shreyansh where I upload Tech Video, Also I'm a Professional Web Developer or Designer. I enjoy playing with Codes and making Interesting Things.

Leave a comment