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

搜索 | 用户支持

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

详细了解

Tabs are restored automatically after I have deleted them the previous day

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

more options

Sometimes I close Firefox with the windows and tabs left open because I plan to use them the next day. I also close tabs after a crash when I have been running too many programs at the same time. When I open Firefox the next day, I'm asked which of my previous windows and tabs I want to restore and even though I only indicate certain ones, when they are restored there are old tabs that open up with them and I have to go through and delete each of the old tabs again. Today I tried not restoring anything, which closed Firefox. When I opened it again, the same window that I had unchecked was asking to be restored. I unchecked the window and closed Firefox several more times and then decided to open the window......this time there was a string of about 50 old tabs that opened up with the window!

Sometimes I close Firefox with the windows and tabs left open because I plan to use them the next day. I also close tabs after a crash when I have been running too many programs at the same time. When I open Firefox the next day, I'm asked which of my previous windows and tabs I want to restore and even though I only indicate certain ones, when they are restored there are old tabs that open up with them and I have to go through and delete each of the old tabs again. Today I tried not restoring anything, which closed Firefox. When I opened it again, the same window that I had unchecked was asking to be restored. I unchecked the window and closed Firefox several more times and then decided to open the window......this time there was a string of about 50 old tabs that opened up with the window!

被采纳的解决方案

I appreciate the the solutions that I was sent, but they were too complicated for me to implement because I don't have enough computer knowledge and didn't know how to do the steps suggested.

The Firefox update that was installed seems to have done the job as I didn't see any old tabs when I opened my program this morning!

My sincere thanks and appreciation to all who worked on my problem.

定位到答案原位置 👍 0

所有回复 (9)

more options

You may have corrupt sessionstore file(s).

Type about:support in the address bar and press enter.

Under the page logo on the left side you will see Application Basics. Under this find Profile Folder. To it’s right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Locate the sessionstore file(s). Then rename or delete them. Restart Firefox.

more options

You can check for problems with the sessionstore.js file in the profile folder that stores session data. When sessionstore.js is deleted you lose App Tabs and Tab Groups and open tabs and you will have to recreate them, so if necessary make a note or bookmark them.

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


Firefox uses the sessionstore.js file in the profile folder to store session data, but this file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time.

You will normally find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

See also:

more options

选择的解决方案

I appreciate the the solutions that I was sent, but they were too complicated for me to implement because I don't have enough computer knowledge and didn't know how to do the steps suggested.

The Firefox update that was installed seems to have done the job as I didn't see any old tabs when I opened my program this morning!

My sincere thanks and appreciation to all who worked on my problem.

more options

That was very good work. Well Done.

more options

FredMcD said

That was very good work. Well Done.

I thought the problem had been solved, but it returned the next day. Can you think of an easier solution for me to try? Erika500

more options

FredMcD said

That was very good work. Well Done.

I thought the problem had been solved, but it returned the next day. Can you think of an easier solution for me to try? Erika500

more options

I thought the problem had been solved, but it returned the next day. Can you think of an easier solution for me to try? Erika500

more options

FredMcD said

You may have corrupt sessionstore file(s).

Type about:support in the address bar and press enter.

Under the page logo on the left side you will see Application Basics. Under this find Profile Folder. To it’s right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Locate the sessionstore file(s). Then rename or delete them. Restart Firefox.

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.

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

Note that Windows hides some file extensions by default. Among them .html and .ini and .js and .txt and you may only see a file name sessionstore or user without file extension. You can check the file extension (type) in the properties of the file in Windows Explorer via the right-click context menu.

"AppData" is a hidden folder, so best is to use the button on the "Help > Troubleshooting Information" page.