Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

How do you disable a restore session each time you enter a new session?

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I enter a new session and it restores my last session after close. I tried all the stupid about:config stuff suggested in other questions and it didnt work. I have a homepage set. I have the correct session restore attributes set to false. I dont know what else to do. This is an annoying "feature"!!! Why do they have this????

I enter a new session and it restores my last session after close. I tried all the stupid about:config stuff suggested in other questions and it didnt work. I have a homepage set. I have the correct session restore attributes set to false. I dont know what else to do. This is an annoying "feature"!!! Why do they have this????

被采纳的解决方案

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.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.


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

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a 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.

定位到答案原位置 👍 1

所有回复 (1)

more options

选择的解决方案

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.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.


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

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a 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.