Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disabling the default context menu

  • 1 tontu
  • 1 am na jafe-jafe bii
  • 9 views
  • i mujjee tontu mooy cor-el

more options

Hi. I am programming in javascript. How do I disable the default context menu that appear when I right click the browser window? Regards Lars.

Hi. I am programming in javascript. How do I disable the default context menu that appear when I right click the browser window? Regards Lars.

All Replies (1)

more options

That is controlled via the dom.event.contextmenu.enabled pref. Keep in mind that you can only do this for yourself.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.