搜尋 Mozilla 技術支援網站

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

了解更多

Can I disable the escape key from exiting full screen on Mac?

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

more options

I noticed that Firefox recently gave the escape key the ability to bring the current browser window out of full screen on Mac. I use the escape key to exit out of all kinds of menus as I browse the web, and it's rather annoying when instead it takes me out of full screen. Any work arounds? Thank you!

I noticed that Firefox recently gave the escape key the ability to bring the current browser window out of full screen on Mac. I use the escape key to exit out of all kinds of menus as I browse the web, and it's rather annoying when instead it takes me out of full screen. Any work arounds? Thank you!

所有回覆 (1)

more options

Leaving full screen mode via ESC appears to be a Mac feature added in 92 (#1688584) and was disabled for 93 by adding the browser.fullscreen.exit_on_escape pref (#1726810;false) and got enabled again in 94 (#1732367;true).

You can check browser.fullscreen.exit_on_escape on the about:config page and set its value to false.

  • about:config => browser.fullscreen.exit_on_escape = false

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

DISCLAIMER: modifying prefs directly via the about:config page is not officially supported and there is no guarantee that this will keep working in future releases or otherwise "breaks" Firefox.