Tuesday, September 6, 2011

Disable Right Mouse Click Widget Generator

What is the Usefulness of adding a "Disable Right Click Widget"?




If your blog containing with valuable information's and if you want to protect them without letting anyone to copy paste those in there web sites or blog, Using the Disable Right Click Widget is the Best Choice.


<script language=JavaScript>
<!--
 var message="Na Na Naaa  Do Not Copy Paste ";
 function click(z) {
  if (document.all) {
   if (event.button == 2) {
    alert(message);
    return false;
   }
  }
  if (document.layers) {
   if (z.which == 3) {
    alert(message);
    return false;
   }
  }
 }
 if (document.layers) {
  document.captureEvents(Event.MOUSEDOWN);
 }
 document.onmousedown=click;
// -->
</script>

Copy and paste the code between the <head> </head> tags of your webpage.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.