WalterGR
(a blog)
Friday, June 08, 2007
  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,

  1. Press Ctrl+Shift+Esc to open the Task Manager
  2. 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.
  3. Right click, select "End process"
  4. 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.
Comments
Anonymous Anonymous @ 11:24 PM, June 20, 2008

great! :D
the best part is the shortcut lol :D

 

Anonymous Anonymous @ 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.

 


Post a Comment


<< Home
Walter muses about running a website empire, technology, &c.

Editor of The Online Slang Dictionary, StreetReviewer, and Overheard in Sac.

Feed me XML.
E-mail me: waltergr, gmail.com

People I know

/ I Wish I Were a Japanese Schoolgirl
/ If I wanted you to know...
/ Life is pretty neat
/ nawl
/ Paul Paradise
/ the robots

People I don't know

/ Don Box's Spoutlet
/ Joel on Software
/ The Old New Thing

Things I read

/ Worse Than Failure
/ Lambda the Ultimate
/ OSNews

Recent works

/ Heard around the Open Source watercooler
/ No rest for the wicked
/ My newest project - StreetReviewer.com
/ Moving time
/ On focus
/ Cool Tools - MusicBrainz Tagger
/ On diction (...on Dancer, on Prancer, on Vixen)
/ Are you friendly?
/ Wait, you don't have to do pay-per-view?
/ Expanding my real estate empire

My corpus

α / February 2005 / March 2005 / November 2005 / June 2007 / July 2008 / ω