![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Disabling the default context menu
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.