How to Disable Right Click On Blogger?


So Bloggers as you know that if you add some code in your theme section than your site may slow down For that I have wrote a Code for you which will disable your right click and will protect you from content stealing.

1. Go to Your Layout Section.

2. Add a Gadget.

3. Copy the following code and Paste it in HTML/JavaScript Gadget.

 <!--Written by>  
 <script language=javascript>  
 //Disable right click script - By  
 var message="Function Disabled";  
 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.oncontextmenu=new Function("return false")  
 // -->  


 <!--Written by>  
 <!--This is a Stylish Controller with Notification-->  
 var message="Not Allowed";  
 var shouldAlert=1;  
  return false;  
 <!--Written by>  

4. Click On Save.

5. Your Code is Ready to Work.

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave a Reply