Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi
Eza archivé

Disabling the default context menu

LHOFFC

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)

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.