Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Giwan/56e7dd856b1c1dce359cd4a74f948f2d to your computer and use it in GitHub Desktop.

Select an option

Save Giwan/56e7dd856b1c1dce359cd4a74f948f2d to your computer and use it in GitHub Desktop.
How to disable exit Firefox full screen with escape button
  1. Go to about:config in firefox
  2. Note that you will need to accept the risk warning so abort if you're not comfortable[1]
  3. In the filter input field type "fullscreen"
  4. You should have the option of browser.fullscreen.exit_on_escape
  5. Make sure it's set to false.

[1] This particular change is not very risky however there are other settings that can be changed here that are not so innocent. Make sure that you're careful in this environment and don't just apply anything you read on the internet.

Reasoning

I use the escape key a lot for all sorts of things and Firefox is the only browser that exists from fullscreen like this. For various browser or web page popups the escape button can be a quick way of getting rid of these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment