How to Disable Right Click on Blogger / Blogspot?

by Dinesh 2013-11-04 15:57:34

Simple Javascript code to prevent copying content from your blogger post.

<script language="JavaScript">
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full <span class="IL_AD" id="IL_AD4">source code</span>, visit http://www.dynamicdrive.com

var <span class="IL_AD" id="IL_AD7">message</span>="";
///////////////////////////////////
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;}

document.oncontextmenu=new Function("return false")
// -->
</script>
619
like
0
dislike
0
mail
flag

You must LOGIN to add comments