$(document).bind("contextmenu", function (e) { return false; });
<script type="text/javascript"> document.onmousedown = disableRightclick; var message = "Right click not allowed !!"; function disableRightclick(evt){ if(evt.button == 2){ alert(message); return false; } } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)