Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

Disabling the default context menu

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 9 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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.

การตอบกลับทั้งหมด (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.