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

How do I return to Firefox's Default window size?

  • 3 replies
  • 15 have this problem
  • 1 view
  • Last reply by cor-el

more options

I want to return Firefox to the default window size it had when I installed it. I know how to re-size the window with the mouse, but I want it to be exactly the same (px) every time.

I want to return Firefox to the default window size it had when I installed it. I know how to re-size the window with the mouse, but I want it to be exactly the same (px) every time.

All Replies (3)

more options

Window sizes and positions are stored in localstore.rdf in the Profile Folder.

You can delete the file or remove the current custom settings from that file to reset the window size to the default.
As an alternative you can edit or remove the main-window section in localstore.rdf if you want to keep the toolbar customization:

RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
more options

If you set your home page to something like...

 javascript:window.resizeTo(850,950);

...new windows will resize to those pixel dimensions. (From http://maarten.livejournal.com/495984.html)

more options

That only works if you allow JavaScripts to resize windows.
Tools > Options > Content : JavaScript > Advanced > Allow Scripts to: [X] "Move or resize existing windows"

Another possibility is to add -url javascript:window.resizeTo(850,950); to the command (target) line in the Properties of Firefox desktop shortcut.