Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

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于修改