Code Snippet posted by:
Lakhangarg | Posted on: 8/31/2009 | Category:
JavaScript Codes | Views: 1532 | Status:
[Member] [Moderator]
|
Alert Moderator
Call This in the Head Tag and this code will shows the message Disabled on right click at any where on the web page.
<script language="JavaScript" language="javascript">
var msg="Disabled";
document.oncontextmenu=new Function(" alert(msg);return false")
</script>