How do I return to Firefox's Default window size?
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)
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"
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)
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.