Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

I want to remove "Restore Previous Session" without disabling crash/tab restore and history


I have checked "Clear history when ff closes" & "Active logins" / "Saved passwords" but nothing.

The options of restoring a session after a crash and reopening an accidentally closed tab are great, but I just can't feel ok that everyone on my pc can restore a whole session with an email (facebook, forum,etc) account logged in with the "Restore Previous Session" "feature", if I forgot to log out before closing Firefox.

For me this is a big privacy issue. Please don't make me switch to Chrome!

Additional System Details

This happened

Every time Firefox opened

This started when...

Firefox 4

Installed Plug-ins

  • IE Tab 2 Plug-in for Mozilla/Firefox
  • Shockwave Flash 10.2 r152
  • 4.0.60129.0
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Adobe PDF Plug-In For Firefox and Netscape 10.0.1
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.


  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0

More Information

firefox4sucks 0 solutions 1 answers

Helpful Reply

I agree. I hate the feature on the home page. With my job, this is also a big privacy concern.

Please allow us to disable this.

as well, i'd like to see a way to go back to the classic ff view instead of this new 4.0 crap

alsk 0 solutions 1 answers

Mozilla's solution is to set these two options in about:config to zero: browser.sessionstore.max_tabs_undo browser.sessionstore.max_windows_undo

However, this causes the restore on crash and the "undo close tab" features to no longer work. This is ridiculous as I see no relation to restoring a tab I just closed with the program still running, and restoring everything after the program has been completely closed.

The best solution I have found is to set the file "sessionstore.js" to read only. This will allow the undo close tab function to work but will not session restore after a crash (or restore anything after firefox has been closed). The file is located somewhere like "C:\Users\*username*\AppData\Roaming\Mozilla\Firefox\Profiles\"

Close firefox with a blank tab before setting the file to read only so there is no information stored in the file for eternity.

vieya 0 solutions 1 answers

I hate that there is no option to change it. I don't need to accidentally close my stuff and then have someone hacking into my personal contact information. Please give us the option to disable or remove it all together. It is a nice option but the fact that we can't disable it, makes it annoying.

I overall nice feature if we can disable but if not then just remove this feature.

Please fix ASAP.

Bcool 0 solutions 1 answers

I did not like the session restore feature in FF 4. I uninstalled and reinstalled. During the second install I imported my data from IE8 and that seem to disable the session restore from coming up on FF home page. Remember I imported my home page from IE8.

Hope this helps.

xmokay 0 solutions 1 answers

alsk's method is helpful.

I tried to set "browser.sessionstore.max_tabs_undo" and "browser.sessionstore.max_windows_undo" to zero, but it has no effect for "Restore Previous Session".

To make "sessionstore.js" read only can successful disable "Restore Previous Session". (To disable history record can make "Restore Previous Session" disabled too, but I need history)

macky_r 0 solutions 1 answers

Hi everyone!

Try using this method. I hope it works.

In the Location bar (Where you type the URL i.e. www. firefox.xom), type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page. Copy and paste browser.sessionstore.resume_from_crash in the list Double-click on browser.sessionstore.resume_from_crash to set it to false.

Nenogarda 0 solutions 1 answers

Helpful Reply

I managed to remove the "Restore Previous Session" button from the home page by changing my default home page with this : www.google.com/firefox/ (the default home page from the previous versions of Firefox). It worked for me, I hope it works for you too.

  • Top 10 Contributor
  • Moderator
10753 solutions 96760 answers

You can set the pref browser.sessionstore.privacy_level to 2 (never) or 1 (non-HTTPS, default in Firefox 3 versions) on the about:config page to disable saving cookies via session restore.

bluefire 0 solutions 1 answers

@Nenogarda -- Even with this option, the previous session could be restored via Menu [History-->Restore Previous Session]; though not as straight forward as from the Firefox home page.

Modified by bluefire

nickoff 0 solutions 1 answers

Hi tried this and it seemed to work. Just a few quick clicks to get your privacy back. When you finish your session-click home,close Fire Fox,open Fire Fox,click home and close. Next time you open up Fire Fox restore your previous session should not have any content in it.

Modified by nickoff

John 0 solutions 2 answers

use firefox 3.6.24