為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to prevent Firefox from trying to restore the previous session???

more options

Sometimes I have many websites open, and Firefox gets blocked. Nothing works any more. I then force Firefox to shut down. BUT when I restart Firefox, it starts restoring the previous session. Same problem as before. I click and click and click on closing, but it keeps opening the different windows of my previous session, and doesn't close any windows. So how to prevent Firefox from restoring the previous session?

Sometimes I have many websites open, and Firefox gets blocked. Nothing works any more. I then force Firefox to shut down. BUT when I restart Firefox, it starts restoring the previous session. Same problem as before. I click and click and click on closing, but it keeps opening the different windows of my previous session, and doesn't close any windows. So how to prevent Firefox from restoring the previous session?

所有回覆 (6)

more options

You're on 3.6.24, try the "BarTab" extension would reduce normal stuff from all starting at once.

But you have a real problem. I think that if you cancel firefox.exe a second time it doesn't reload, I don't remember the details.

more options

Thank you, I'll try that and get back to report the results. It sounds promising!

more options

Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See:


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.

  • Use the Filter bar at to top of the about:config page to locate a preference more easily.
  • Preferences that have been modified show as bold (user set).
  • Preferences can be reset to the default via the right-click context menu if they are user set
  • Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

由 cor-el 於 修改

more options

I use add-on Session Manager http://sessionmanager.mozdev.org/

which after a forced shutdown allows various tabs to be deselected before launching Firefox.

It helps to isolate stuck tabs such as long running scripts.

more options

I'm back. I tried the "Bar tab" extension but apart from slowing down firefox it did not do any good. I just had a crash and firefox tried to restore the previous session, and it crashed again. :(

Edit: Now I'll try solution number two. It was difficult (also because my firefox is in swedish and translations are not always accurate), but I managed. I'll get back after the next firefox crash has happened...

由 Fluweel 於 修改

more options

The preference names in about:config are the same for all localizations. So browser.sessionstore.max_resumed_crashes will be in English.