Skip to content

Instantly share code, notes, and snippets.

@hoangtranwork
Last active October 10, 2018 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoangtranwork/fbd308f326a741109f8eb03a9990a839 to your computer and use it in GitHub Desktop.
Save hoangtranwork/fbd308f326a741109f8eb03a9990a839 to your computer and use it in GitHub Desktop.
Steps to make Firefox open maximized on macOS
  1. Get the profile folder location in about:support page

  2. Edit the file xulstore.json found in the above folder. It's a json file and we need only to edit the key main-window to something like this:

"main-window":{"screenX":"0","screenY":"0","width":"1920","height":"1080","sizemode":"maximized"}

NOTE:

  • Step 2 should be done when Firefox is not open, as it seems that the file get updated when Firefox closes.
  • Sometimes you need to put negative value to screenX if the windows is still shifted abit from the screen edge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment