How To Disable Right Click On Your Blogger/BlogSpot? postheadericon

Posted by Jkmkhv | Pada 21:01

How To Disable Right Click On Your Blogger/BlogSpot?


How to Disable Right Click in Blogger Blog or Website.

Now I will tell you how you can disable
If you are Blogger use login to Blogger.com
And Click on the following Add to Blogger Button.


for  manual Go to Blogger Dashboard >> Layout >> Add a Gadget
Install a HTML/Javascript Gadget and Paste the following script.
Or you may copy and paste the following script into you website
<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>
Now Check you Blog’s home page
Right click has been disabled.

0 comments: