This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

Disabling the default context menu

  • 1 valiny
  • 1 manana an'ity olana ity
  • 3 views
  • Valiny farany nomen'i 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.