How to Disable Right click in Blog

Step-1 : Go to your blogger Dashboard
Step-2 : Select option Layout from the left side menu in Dashboard
Step-3 : Click on Add to Gadget
Step-4 : Choose HTML/Javascript option
Step-5 : Now copy and paste the following code
Step-6 : Done !!! Now right click has been disable in your blog
//Disable right click script by http://tips4blog.blogspot.com/

var message="";document.oncontextmenu=new Function("return false")
<script language="JavaScript"><!--

///////////////////////////////////function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if(document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
// -->//</script>


Powered by Blog Tips by KP