搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Disable Firefox context menu?

  • 1 回覆
  • 0 有這個問題
  • 21 次檢視
  • 最近回覆由 cor-el

more options

Basically.

I see a lot of options on how to disable Javascript context menus on sites, for purpose.

I want the opposite - certain sites, most notably Google Workspace and Nextcloud, have a very useful Javascript context menu for things like tweaking format or renaming files.

But when I right-click in Firefox, the browser's own context menu pops up and overlaps with the site's, making it nearly unusable. (Pressing escape to dismiss the menu has a 50% chance of also dismissing the site's)

Any way to disable the context menu? Bonus points if it can be done on a per-site basis.

Basically. I see a lot of options on how to disable Javascript context menus on sites, for purpose. I want the opposite - certain sites, most notably Google Workspace and Nextcloud, have a very useful Javascript context menu for things like tweaking format or renaming files. But when I right-click in Firefox, the browser's own context menu pops up and overlaps with the site's, making it nearly unusable. (Pressing escape to dismiss the menu has a 50% chance of also dismissing the site's) Any way to disable the context menu? Bonus points if it can be done on a per-site basis.

所有回覆 (1)

more options

You can control this via dom.event.contextmenu.enabled on the about:config page. Setting this to true (default) should give you the website context menu, if necessary you can hold the Shift key to get the Firefox context menu.