Context Menu Disabler

Stop the menu. This script completely suppresses the right-click menu, preventing users from seeing options like "Save Image As", "Print", or "Inspect Element".

Right-Click is Disabled Here

Try right-clicking inside this box. Nothing will happen.

Copy the Script

<!-- Option 1: Disable on entire page -->
<body oncontextmenu="return false;">

<!-- Option 2: Disable via Script -->
<script>
document.oncontextmenu = function() {
  return false;
}
</script>

Frequently Asked Questions

Yes, the 'oncontextmenu' event is supported by all modern browsers (Chrome, Firefox, Safari, Edge).

Yes. Instead of applying it to the 'document' or 'body', you can add the 'oncontextmenu="return false;"' attribute directly to an <img> tag.

No. Users can simply disable JavaScript or use browser developer tools (F12) to access your content regardless of this script.