Disable right click on your blog
If you have ever used a laptop/computer then you may know that right click is the most important button. Most useful options you can find in just one right click.
So it is must to disable right click function on your blog so that there could not happen any wrong use of your blog content. So watch this step by step method to know:
How to disable right click on your blog:
<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>
That's it guys. Right click will not work on your blog anymore.
Watch this video tutorial to know
How to disable right click on your blog?
Also read:


No comments