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

搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 9 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.