Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

save and quit

  • 8 replies
  • 42 have this problem
  • 2 views
  • Last reply by cor-el

more options

Is the latest Firefox 4 has the feature of asking the user to save tabs and windows upon exit?

This feature is available on Firefox 3 below.

Is the latest Firefox 4 has the feature of asking the user to save tabs and windows upon exit? This feature is available on Firefox 3 below.

Chosen solution

One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.

  1. Type about:config into the location bar and press enter
  2. Accept the warning message that appears, you will be taken to a list of preferences
  3. Locate the preference browser.tabs.warnOnClose, if its value is set to false, double-click on it to change its value to true
  4. Repeat this for these 3 preferences browser.warnOnQuit, browser.warnOnRestart and browser.showQuitWarning
Read this answer in context 👍 20

All Replies (8)

more options

Chosen Solution

One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.

  1. Type about:config into the location bar and press enter
  2. Accept the warning message that appears, you will be taken to a list of preferences
  3. Locate the preference browser.tabs.warnOnClose, if its value is set to false, double-click on it to change its value to true
  4. Repeat this for these 3 preferences browser.warnOnQuit, browser.warnOnRestart and browser.showQuitWarning
more options

On the "Firefox does not ask to save tabs and windows on exit" reply "browser:config" is not working either!!!

Also from email each link start a new firefox page....

more options

Thanks for your help TonyE! My problem has solved!

I'm still observing if there are more bugs...

Modified by huge_healthy

more options

Thank you!!!

more options

arzu, to follow the instructions TonyE gave you must put the "about:config" in the address bar of your browser.

About your email link problem try going to your menu toolbar, and clicking: "Tools>Options>Tabs" and tick the box for "Open new windows in a new tab instead" That should handle that.

more options

If this works, it is very useful. Here goes nothing.

more options

Tried TonyE's solution and all those settings were already there.

more options

Firefox 4 saves the previous session automatically.
You can use "Firefox > History > Restore Previous Session" to get the previous session.
There is also a "Restore Previous Session" button on the default about:home Home page.

Another possibility is to use:

  • Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"