Place this below code in head section

<script language="javascript">
    document.onmousedown=disableclick;
    status="Right Click Disabled";
    function disableclick(e)
    {
      if(event.button==2)
       {
         alert(status);
         return false;  
       }
    }
    </script>

Place this below code in Body tag

<body oncontextmenu="return false">
Categories:

0 comments:

Post a Comment