Tags:

How To Disable Right click on Blogger/Blogspot blogs

By Ayman H Sunday, September 9, 2012
Today Im 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 Im noticing many blogs which have copied my blog content, Im 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.
http://4.bp.blogspot.com/-Iqw4qAhrGMY/UELLmPNgNXI/AAAAAAAAB78/z3h7zaf434A/s1600/disable+right+click.png

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.

Thats it pals.. Isnt it very simple?!:).

Post Tags:

Blogger Tricks

Basic / Advanced tutorials on WordPress, Google Blogger, SEO, Earning online income, Website development tips, tricks, etc.

No Comment to " How To Disable Right click on Blogger/Blogspot blogs "