Disabling right click in Blogger websites is really easy as it does not need any technical knowledge you simply have to copy and paste some script into your <body> and that’s it everything is done.
Why will anyone want to disable the right click in their website? Well there can be many reasons but the main reason which comes to anyone's mind is the content copying and the page source viewing.
To disable the right click just follow below steps .:
1. Go to your dashboard in Blogger.com
2. Now click Template and than click Edit HTML, now click on Proceed.
3. Now simply copy and paste the below script right before the </body> tag.
1. Go to your dashboard in Blogger.com
2. Now click Template and than click Edit HTML, now click on Proceed.
3. Now simply copy and paste the below script right before the </body> tag.
<script language=javascript>
<!--
var message="";
function clickIE()
{
if (document.all) {
(message);return false;}
}
function clickNS(e)
{
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{
document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
4. That’s it, now click on Save Template Button, now script is up and running on your blog just check it out refresh your blog and try to right click you will not be able to do that, ask your readers to do this thing.
<!--
var message="";
function clickIE()
{
if (document.all) {
(message);return false;}
}
function clickNS(e)
{
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{
document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
4. That’s it, now click on Save Template Button, now script is up and running on your blog just check it out refresh your blog and try to right click you will not be able to do that, ask your readers to do this thing.
Comments
Post a Comment