搜尋 Mozilla 技術支援網站

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

了解更多

Restart always has previous session tabs, even when set to 'show my home page' only

  • 1 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

When I restart FF, I want ONLY one page, with my specified home page, to start. But FF *always* loads all the previous session pages and tabs, even though I have configured Tools --> Options --> General --> Startup --> "When Firefox starts: Show my home page". I have tried setting it to "Show my windows and tabs from last time" and then restarting and then resetting it to "Show my home page" and restarting and it does not work. This is mindbogglingly annoying. Is there some other setting I'm missing? The support page: https://support.mozilla.org/en-US/kb/restore-previous-session#w_configuring-session-restore has no other options available.

Please help! Thanks!

M

When I restart FF, I want ONLY one page, with my specified home page, to start. But FF *always* loads all the previous session pages and tabs, even though I have configured Tools --> Options --> General --> Startup --> "When Firefox starts: Show my home page". I have tried setting it to "Show my windows and tabs from last time" and then restarting and then resetting it to "Show my home page" and restarting and it does not work. This is mindbogglingly annoying. Is there some other setting I'm missing? The support page: https://support.mozilla.org/en-US/kb/restore-previous-session#w_configuring-session-restore has no other options available. Please help! Thanks! M

所有回覆 (1)

more options

You likely have a user.js file that sets the browser.sessionstore.resume_session_once pref to true and this causes Firefox to restore the previous session. This pref is normally only used in cases where you need to restart Firefox like when you install an extension.

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

You can delete this file. Do not edit the user.js file to set the pref to false as there are valid reasons for using this pref like I wrote above.

See also:

You can use this button to go to the currently used Firefox profile folder:

Windows hides some file extensions by default. Among them are .html and .ini and .js and .txt, so you may only see file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.

由 cor-el 於 修改