ICICT Nigeria

Nigeria Institute Of Computing and ICT.

How To Stop People From Copying Your Blog Post On Bloggers Blog - Disable Right Click

This is a new trick for all bloggers on Google Bloggers Platform or blogspot that don't want anyone to copy their articles, so many people are now copying peoples blog posts nowadays and i think if i share this with you you will love it; lets go.

Follow below steps to disable right click on your bloggers blog.
  1. Log in to your blogger dashboard
  2. Click on layout
  3. Add Gadget
  4. Select HTML/JAVASCRIPT
Copy Below Codes In The Text Area That Will Show Up.

<script language='JavaScript'>
<!--

var message="No Right-Click!";

///////////////////////////////////
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>
 
I hope it works for you please let me know if you are having any issue through the comment box and share with friends.

No comments:

Post a Comment