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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox continually restores my last session on startup

  • 3 回覆
  • 3 有這個問題
  • 8 次檢視
  • 最近回覆由 Happy112

more options

Hey team,

Whenever I close and restart my firefox session, it reloads all of my tabs from the previous session and immediately starts to refresh each page.

I've checked multiple forums which have directed me to the about:config page to change the 'restoresessions' features, but that hasn't resolved anything. I saw forums that indicated some people had a dodgy 'user.js' file in their Firefox Profile folder, but I don't appear to have a user.js file (and this apparently doesn't exist by default).

I've got my browser set to 'Show my homepage' on startup in the Firefox settings, but still it reloads my tabs everytime and immediately starting chewing all of my RAM.

Please help.

Thanks.

Hey team, Whenever I close and restart my firefox session, it reloads all of my tabs from the previous session and immediately starts to refresh each page. I've checked multiple forums which have directed me to the about:config page to change the 'restoresessions' features, but that hasn't resolved anything. I saw forums that indicated some people had a dodgy 'user.js' file in their Firefox Profile folder, but I don't appear to have a user.js file (and this apparently doesn't exist by default). I've got my browser set to 'Show my homepage' on startup in the Firefox settings, but still it reloads my tabs everytime and immediately starting chewing all of my RAM. Please help. Thanks.

所有回覆 (3)

more options

Firefox may not be shutting down correctly, and for that reason doing a crash recovery at startup. I'm not sure what you changed in about:config, but please try this:

You can switch Firefox from automatically restoring tabs after a crash to instead show you a list of the windows and tabs in the session so you can select only the ones you want back. (Or none of them.) Here's how:

(i) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(ii) In the search box above the list, type or paste sess and pause while the list is filtered

(iii) Double-click the browser.sessionstore.max_resumed_crashes preference and change the value from 1 to 0 (that's a zero) and click OK

Please do not change any other sessionstore preferences without researching or asking about them first.

Hope this helps.

more options

The user.js setting you mentioned also could get embedded in prefs.js, but it should be cleared after being executed. Some users have problems updating prefs.js or it gets rolled back by utility programs with browser settings protection features (e.g., Advanced SystemCare). More info on investigating these problems in this article: How to fix preferences that won't save.

more options

Would you disable the add-on 'Tab Auto Reload' and see if that will make a difference  ?