کد:
<!-- START OF Disable Right Click Menu DHTML -->

<!-- SUMMARY BRIEF
 This code will disable all right click menus
 in all browsers and on all operating systems.
-->

<!-- Put this code inside of your <HEAD> tag. -->

<SCRIPT LANGUAGE="JavaScript">
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.target==document)return false;
    }
}
else {
    document.onmousedown = function(){return false}
}
// -->
</script>

<!-- END OF Disable Right Click Menu DHTML -->