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

搜尋 Mozilla 技術支援網站

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

了解更多

How to stop tabs restoring from previous session.

  • 3 回覆
  • 4 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

This started a couple weeks ago when I open a new window, all the tabs from the previous session open. I have it set to open to my homepage and it always has been. I didn't change any settings, install any new addons (I read some can cause this, and none of the addons ever caused this before). I also haven't used the restore session from History or anything similar.

I've tried switching it to open a blank page, but it still always opened previous tabs. I've looked through all kinds of FAQ's and questions, but can't find a solution. How can I fix this?

This started a couple weeks ago when I open a new window, all the tabs from the previous session open. I have it set to open to my homepage and it always has been. I didn't change any settings, install any new addons (I read some can cause this, and none of the addons ever caused this before). I also haven't used the restore session from History or anything similar. I've tried switching it to open a blank page, but it still always opened previous tabs. I've looked through all kinds of FAQ's and questions, but can't find a solution. How can I fix this?

所有回覆 (3)

more options

please try the following in order to switch off sessionrestore completely: enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preferences named browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo. double-click on those entries and change both of their values to 0.

http://kb.mozillazine.org/Browser.sessionstore.max_tabs_undo http://kb.mozillazine.org/Browser.sessionstore.max_windows_undo

more options

I found that answer while digging through similar questions, they're both set at 0, but for some reason it didn't fix the issue. Thank you though for the help.

more options

You can check if you have an user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.


Are there other browser.sessionstore.* prefs that weren't the default?

You can check the browser.sessionstore.* prefs on the about:config page and reset user set (bold) browser.sessionstore.*prefs to the default value via the right-click context menu to make sure that Session Restore is enabled and working properly.