Fun Firefox hack: restore your last session
In older versions of Firefox, when you closed the browser window, open tabs would be lost. You could use plugins like
Session Saver to restore them the next time you started Firefox. In Firefox 2.*, this became a built-in option.
Tools -> Options -> Main -> When Firefox starts -> "Show my windows and tabs from last time."
What I found annoying about Session Saver, and what I find annoying about the 2.* option, is that I
rarely want to continue where I left off. Usually I just want to close the browser windows and be done with it. So the plugin/option makes me happy maybe 5% of the time. 95% of the time I have to hold down Ctrl+W until all the tabs are closed, and only then can I exit.
Also some time around Firefox 2.*, on launch it would detect if the browser shut down cleanly last time, and if not, give you the option to restore open windows and tabs. (Do you see where I'm going with this? ;)
So for the 5% of the time that I want to save the tabs I have open, I kill Firefox.
In Windows,
- Press Ctrl+Shift+Esc to open the Task Manager
- Locate firefox.exe and click on it. Easiest way is to click the "Mem Usage" column - Firefox will usually end up at the very bottom.
- Right click, select "End process"
- Click "Yes"
The next time you start Firefox, it'll offer to open your windows and tabs.
Of course, killing Firefox manually using the Task Manager is kind of a pain. So create a shortcut on your QuickLaunch bar. Set the location to "taskkill /im firefox.exe". Now when you want to close Firefox and restore the tabs later, just click that icon.
@ 11:24 PM, June 20, 2008
great! :D
the best part is the shortcut lol :D
@ 11:33 AM, December 05, 2008
The Only problem Firefox 3 doesn't recover last session correctly.
Sometimes I got the 3 days old session state (I not closed my firefox for three days just browsing).
It seems firefox dosn't update its staee.
The ssessionstore.js not updated as before.
Sometimes updated, sometimes not.
In that cases I had to browse history to recover my last session manually.