为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Won't ask to save my tabs on closing all

  • 18 个回答
  • 1170 人有此问题
  • 1 次查看
  • 最后回复者为 tabtabthesilly

more options

Firefox no longer asks to save tabs before closing firefox. It warns me that it is about to close all tabs but no longer asks to save them.

Mike Kay (aka Elrikk)

Firefox no longer asks to save tabs before closing firefox. It warns me that it is about to close all tabs but no longer asks to save them. Mike Kay (aka Elrikk)

所有回复 (18)

more options

Are the tabs restored on startup if you quit? If they aren't, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in safe mode (don't forget to select Disable all add-ons when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See this article for information about troubleshooting extensions and themes and this one for plugins.

If you need support for one of your add-ons, you'll have to contact its author.

If the problem does not disappear when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone.

If tabs are restored when you start again, even though you didn't click a Save and Quit button, then I think it's a setting on the options screen. Go into Tools > Options > Tabs and tick Warn me when closing multiple tabs.

more options

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


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

I've tried the safe-mode start, disabling everything except my history, yet still the issue persists. Firefox 3.6....I click the top-right x to close the browser, no prompt, and when I restart, no saved tabs.

Further assistance would be greatly appreciated.

more options

If you use Delete browsing, search and download history on Firefox in Firefox 3.5 and later to clear the 'Browsing History' when you close Firefox then restoring tabs from the last session ("Save & Quit" or "Show my windows and tabs from last time") doesn't work.

more options

I also verified the about:config sections posted by cor-el, with zero success. Each one was already set to the default value. I toggled each one and toggled it back, hoping this might set a flag correctly, but that tactic also failed to yeild results. Any other ideas appreciated, otherwise I'll be removing firefox and hoping for the best after a reinstall.

more options

Ah, that was it! Thanks cor-el!

more options

My browser.showQuitWarning setting was set to False. I set it to True while ensuring that browser.warnOnQuit was still True. Now I am prompted to save my tabs when I exit.

Also, if you don't Save your session when you exit, you should still be able to restore it next time you start Firefox by clicking History > Restore Previous Session.

Source

由ferikfox于修改

more options

Thanks ferikfox, as I understood your post more clearly, and your first fix worked (my QuitWarning was set on False). Your second idea is also a good reminder of the History/Restore option.  :-)

more options

Ive checked all the ABOUT items....all are set as you state. Still nothing works. Was just reading web, and tried to close like usual...now it wont save my tabs. Did nothing. Have you screwed it up by deleting this option.....put i back if so.

more options

Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.
Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.
You can use "History > Restore Previous Session" to get the previous session at any time.
You may need to click the orange/gray Firefox button to see History.
There is also a "Restore Previous Session" button on the default about:home Home page.

Another possibility is to use:

Make sure that you do not use Delete browsing, search and download history on Firefox to clear the 'Browsing History' when you close Firefox.

more options

To show windows and tabs from last time, click top left Firefox tab, options, options, general tab: 'when firefox starts' click down to 'show my windows and tabs from last time' click ok. I know that these are the steps for vista, I don't know about XP.

more options

I can't believe Mozilla doesn't tell about the "browser.showQuitWarning" solution in their help article http://support.mozilla.com/en-US/kb/Firefox%20does%20not%20ask%20to%20save%20tabs%20and%20windows%20on%20exit?s=ask+to+save+tabs&as=s - instead they're just suggesting various silly workarounds that don't solve the problem at all, while there actually is a very simple and perfect solution to it.

由Mr-Love于修改

more options

I found this article: http://support.mozilla.com/en-US/kb/Session%20Restore#w_configuring-session-restore

it says that you need to configure it in the Tools menu when you've updated to the new version. I was a bit perturbed myself after updating to 7, that when I opened up the browser all of my tabs had gone. I use them at work, and now I have to go through the history to find the ones I lost!

more options

I think this worked on my old computer but I need to set it up again on my new computer to get tabs to save and close at the end of my session. I remeber the about config part the the rest of your description I cut off so I don't know what to change in those settings. Can you help me. I am now running windows 7 not xp like before when I did it.

more options

Ok I did not figure out to save and quit but I did find out you can restore your last session. Click on your history tab at the top tool bar then you should see restore last session. Second one down on the menu. Click that and it should get the tabs all back. Still want to save them if anyone has an answer.

more options

Absolutely worked. Love it thank you very much for fixing this for me.

more options

Hi, I just have the same problem and I found a solution in the forums but never the whole thing in one post, so I'll post it: First as ToneE says "

  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"

and second. You need to set: Firefox/Tools > Options > General > Startup: "When Firefox Starts": "Show my home page". and your favourite firefox pop up "Save and Quit" question will appear again. If the last option is set on "Show my windows and tabs from last time" the browser want ask ou anything when you're closing it. ENJOY :)

more options

I've tried that, and the window that asks whether you want to save the tabs still don't appear. I have selected it to save tabs and "don't ask again" before, and most times it does save my tabs, but sometimes it doesn't, so I want to get the window back to make sure it does save...any solution? Thanks!