Have you ever noticed, that some websites do not allow their visitors using right mouse click while pointer is on the blog area. This option is useful for the site and blog owners, who want to minimize the possibilities of the content direct copying to other posts
Here is a detailed step on how to go about it.
Firstly, Login to your Blogger Account

  Click on ‘Add a Gadget‘ on the sidebar.
  Select ‘HTML/Javascript‘ paste the given code

Disable Right Click With Alert Messege / Without Alert

<script language=JavaScript>
<!--
//edited by FLEXYHACK
//Disable right mouse click Script

//For full source code, visit http://www.flexyhackedemy.blogspot.com

var message="Right Click 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>

  OR




Don't Forget To Leave A Comment Or Like Our Facebook Page
Hope You All Enjoy it..
Previous Post Next Post