How To Disable Right Click on Blog/Websites

Want to disable right click on Blog.?? This is very simple blogger tricks to avoid copyright issue from blog.

 

Many blogger noticing that most of blogs copied their blog content so they want protect their blog from copying and Disable Right click is very good idea to avoid this.

Here :

Step 1:

Login into blogger dashboard and Go to layout at left panel than click on add a gadget link as shown in below.

Step 2:

When you click Add a Gadget link a popup window will open with all gadgets list. Please choose HTML/JavaScript gadget form list.


Step 3

Past 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>





























Step 4:

Save the gadget.

Step 5


Save the Layout.

Then go to your Post and see Right click was Disable :)

If you like this post and wish to get more post like this when we add new tutorial about blogger then SUBSCRIBE TO OUR RSS FEED!

0 comments:

Copyright © 2014 Akash Articles
Copyright © 2013-2014 AkashAticles. All Rights are Strictly Reserved.