Disable Mouse Right Click on Blogger or Blogspot Blogs
Follow these below few steps to Disable Mouse Right Click on Blogger or Blogspot Blogs
Step 1. Login into Blogger Dashboard and go to Layout Then click on Add Gadget link as shown in below picture.
Step 2. After click Add Gadget link a popup window will open with all gadgets. Tehn choose HTML/JavaScript gadget form list as shown in below picture.
Step 3. Paste below Code just inside it.
<script language=JavaScript>
<!--
//Disable right mouse click Script
var message="Function 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>
Steps 4. Finally, Save the Gadget and also save the Layout. You are done.
Conclusion: If this article is useful to How to Disable Right Click on Your Blog, Make sure you share it through all social networks or Leave a Comment below.