Today I'm
going to finish the copyright infringement series with this last post which is
clearly about disabling the right click on your blogger blog. Disabling right
click in manner avoiding users from copying your blog images, etc., This is
going to be a very simple tutorial in 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
thought of finishing this series.
It becomes a disadvantage if you disable right click on
tutorials, codes sharing blog as it will avoid newbie bloggers from copying the
shared tutorials as they use mouse to copy them. So think about your blog
content and then move on with implementing the mouse right click disabling
JavaScript code on your blog.
How To Disable Mouse 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:
Post a Comment