Say no to stealing.


Hello! I'm Clark. Today I'll teach you how to disable the right click on your blog (Blogger/Blogspot). Firstly, we disable it because of content stealing / copying. They copy your content and post it to their blog. Now, to prevent them stealing your contents, you need to follow the steps:

1.) Go to your Blogger Dashboard.

2.) Select the blog you want to disable right click.

3.) Go to Layout --> Add Gadget.

4.) Select "Add HTML/Javascipt" and copy this code:


<script language=JavaScript>
<!--


//Disable right mouse click Script
//By Being Geeks
//For full source code, visit http://www.beinggeeks.com


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>

5.) Then click "Save" and view your blog.

6.) Voila! No more right click to your blog.

NOTE: I DID NOT STOLE THE SCRIPT. I REDISTRIBUTE THE SCRIPT FOR EDUCATIONAL PURPOSE.


0 comments: