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.

ابحث في الدعم

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

Firefox does not ask to save tabs and windows on exit

  • 2 (ردّان اثنان)
  • 60 have this problem
  • 2 views
  • آخر ردّ كتبه kmagrip

more options

I've done everything suggested in this article: https://support.mozilla.com/en-US/kb/Firefox+does+not+ask+to+save+tabs+an... Settings in "Options" are ok. I have no extensions/themes. And the problem is still there on safe mode. Out of the two files mentioned as possibly corrupted, I deleted formhistory.sqlite but the file sessionstore.js is not in the profile directory when Firefox is closed (as the article suggests... it is there when Firefox is open)

I've done everything suggested in this article: [https://support.mozilla.com/en-US/kb/Firefox+does+not+ask+to+save+tabs+and+windows+on+exit] Settings in "Options" are ok. I have no extensions/themes. And the problem is still there on safe mode. Out of the two files mentioned as possibly corrupted, I deleted formhistory.sqlite but the file sessionstore.js is not in the profile directory when Firefox is closed (as the article suggests... it is there when Firefox is open)

الحل المُختار

What is the startup setting?

Tools > Options > General > Startup: "When Firefox Starts"


In Firefox 3 you do not get the 'Save & Quit' pop-up dialog if you choose Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time".
If that option is selected then your pages will already be reopened the next time.
To get that pop-up dialog you have to select one of the other choices (Show my home page,Show a blank page).

You can reset the warn prefs on the about:config page via the right-click context menu.

browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

Read this answer in context 👍 5

All Replies (2)

more options

الحل المُختار

What is the startup setting?

Tools > Options > General > Startup: "When Firefox Starts"


In Firefox 3 you do not get the 'Save & Quit' pop-up dialog if you choose Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time".
If that option is selected then your pages will already be reopened the next time.
To get that pop-up dialog you have to select one of the other choices (Show my home page,Show a blank page).

You can reset the warn prefs on the about:config page via the right-click context menu.

browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

more options

ok, solved, thank you very much.

The "warnOnQuit" pref solved it. I had already noticed the "warnOnClose" and it was set to true as it should. Thought this one was enough. Still wonder how we set the option in the menu and these stay off, though.