Today I'm getting to finish the infringement of copyright series with this last post which is clearly about disabling the proper click on your blogger blog. Disabling right click in manner avoiding users from copying your blog images, etc., this is often getting to be a really simple tutorial during this series. Hope you guys following this series and fighting flawlessly with the content thieves. Today I too have planned a plagiarism fight day as I'm noticing many blogs which have copied my blog content, I'm gonna take them down today but before starting the rival i assumed of finishing this series.
It becomes an obstacle if you disable right click on tutorials, codes sharing blog because it will avoid newbie bloggers from copying the shared tutorials as they use mouse to repeat them. So believe your blog content then advance with implementing the mouse right click disabling JavaScript code on your blog.
How To Disable Right click on Blogger blogs
1. Go to blogger dashboard --> Layout --> Add a gadget.
2. Choose Html/JavaScript gadget and paste the following peace of code just inside it.
Right click disabling JavaScript code
<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>
3. Save the gadget.
4. Save the layout.
That's it pals.. Isn't it very simple?!:).

0 Comments