Last Updated:
How to Disable Right Click in Website or Blog

How to Disable Right Click in Website or Blog

As before I have posted an article regarding plagiarism. Plagiarism has been founded on everywhere on the internet world. As I have mentioned in my article regarding How to Check Plagiarism that how new Blogger or beginners start copy from other Blog and paste data on their website. May be their thinking is that they are working on their Blog. But they don’t know it will affect their Blog rank and because search engines spiders are watching every thing. So today I am going to share an trick for avoiding copying contents and disable right click on your site.

Recommendations:-

Benefits

Now I am going to share such benefits that why we should disable right click in Blog or website. By disable right click you can avoid content theft to steal images from your site, open in new window, copy any of your contents. So if you want to protect your contents and disable right click in your Blog follow give below steps.

How to Disable Right Click in Blogger Blog or Website.

Now I will tell you how you can disable
If you are Blogger use login to Blogger.com
for  manual Go to Blogger Dashboard >> Layout >> Add a Gadget
Install a HTML/Javascript Gadget and Paste the following script.
Or you may copy and paste the following script into you website

<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>

Now Check you Blog’s home page
Right click has been disabled.
For further assistance you can ask by reply in this post also like our Social Media Community or Subscribe our daily updates for getting new tips and tricks from TipsTricksIsland.com

Comments