I think every blogger faces a problem regarding copying of contents. Many of the online users visit the site and so the chance of copying the content remains open. so one should disable the option of right click in the blog so that one can’t select and copy the content.
Also read : Linkwithin related posts for Blogger
You can do the steps in blogger so that right click will not work and hence one can’t do copy – paste in the blogger. It is important to activate in a blogspot blog beacuse some Bloggers do many efforts by researching and then writing a great article for their website, whereas some body just visit the website and does copy and paste article for his blog or website. so to prevent this we need to deactivate the right click in the blogspot blog as we see many websites donot allow right click.
How to Disable the right click :
- Go to Blogger Dashboard
- Click on layout and then after Click on add a gadget
- Select add a html/javascript widget
- Paste the following code in the body section and leave the upper portion i mean title as blank
- Click on save and check in your blog, right click is not working.
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>
Niraj Bhusal says
Thanx Sanjay for this post
I think this is a good idea to protect our site. Is there something for the WordPress too?
aris_jay2002 says
Well, I think I will have to give this post a go and see what happens……
Ryan Biddulph says
Quick easy and smart tip Sanjay, thanks dude!
Ryan
Suresh Khanal says
Well, I disabled right clicking for some time (I used digiprove for my WordPress blog) but later on realized that I am doing more harm than good and then removed locking.
In fact, genuine readers need to copy and organize for their purpose and while trying to stop leeches we caused difficulty to the good use. Though we disable right click, the copy-cats can easily get our content through View Source. So, what’s the use? We only stopped good users.
sanjay choubey says
Suresh sir thanks for being here. yeah you are right but this trick will protect direct copy and paste from your website and i think online users will not prefer to copy the content from view source since it will increase the further steps. they will jump to other website for copying the content and hence due to less chance, website will be protected.
sanjay choubey says
Thanks Ryan brother. keep appreciating me. i will keep posting these useful steps.
sanjay choubey says
yes dear follow this link https://sanjaychoubey.com/2013/06/how-to-add-thirt-party-widget-in.html
Shameem Thaha says
Hey bro disabling right click its an nice method but they can easily copy from view source as like suresh bro said between nice post