Saturday, August 20, 2011

Disable Right Click


<script>
function disableRight()
{
if(event.button==2)
{
alert(&quot;Right Click Not Allowed!&quot;);
return false;
}
}
document.onmousedown=disableRight;

</script>

No comments:

Post a Comment