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

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

  • 1 cavab
  • 1 has this problem
  • 1 view
  • Last reply by 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!

All Replies (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.