Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Disabling the default context menu

  • 1 amsa
  • 1 yana da wannan matsala
  • 3 views
  • Amsa ta ƙarshe daga 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.