The steps are as enumerated below:
Blog Dashboard>Template>Edit HTML>. Find this code then replace with this code
<body onmousedown="return false" oncontextmenu="return false" onselectstart="return false">
However as a warning this code disables the search box and any text box like email subscription box etc.
Other options can be found at
http://anshuldudeja.blogspot.com/2009/04/disable-right-click-option-in-blogger_02.html
If every thing fails file DMCA complaint
http://www.labnol.org/internet/filing-dmca-complaint-to-google/8185/
Pitfall: Above explanations also disable the search box and subscribe the blog for email tips.
---------
One can use the below code as a HTML widget in a blogger site i.e. Layout>Add a gadget>HTML/Javascript. However smart bloggers can still copy despite this code being present. Benefit of this widget is that one will see that search box and subscribe the blog widget are functional by using this widget
<script language="JavaScript">
<!--
//Disable right mouse click Script
//By Maximus () w/ mods by DynamicDrive
//For full source code, visit http://www.indian-share-tips.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>
Not to forget one can even protect the images from being copied and said info can be assessed at http://bloggerstop.net/2009/08/protect-photos-from-getting-copied.html











No comments:
Post a Comment