We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜索 | 用户支持

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

详细了解

Restoring previous tabs does not always work!

  • 4 个回答
  • 11 人有此问题
  • 1 次查看
  • 最后回复者为 SImagery

more options

This has been as ongoing problem that I have been tolerating but today when I lost all of my tabs I also lost my patience! I have Firefox set to restore the previous session and it does work for several days, sometimes restarting 2 or 3 times per day however Firefox (without warning) will not restore the previous tabs! This is not always the result of a Mozilla crash, sometimes I get the "this is embarrassing" page which allows me to recover my tabs. However mostly when this happens the options to "Restore Previous Session" is not highlighted or clickable regardless if I am on the History drop-down menu or from the default home page menu!

I run Win 7 Ultimate, Firefox v39.0 and generally have 1 window open with 12 to 24 tabs open however it has happened with only 5 or 6 tabs open! I have read everything related to this subject in the help section but so far nothing has helped. This is not a new problem however it seems to have worsened after the last few updates. I have been a Mozilla user since the beginning going back to Netscape. While I will never use Internet Explorer (other than testing new webdesigns) Chrome is starting to look better & better :( Thank You

This has been as ongoing problem that I have been tolerating but today when I lost all of my tabs I also lost my patience! I have Firefox set to restore the previous session and it does work for several days, sometimes restarting 2 or 3 times per day however Firefox (without warning) will not restore the previous tabs! This is not always the result of a Mozilla crash, sometimes I get the "this is embarrassing" page which allows me to recover my tabs. However mostly when this happens the options to "Restore Previous Session" is not highlighted or clickable regardless if I am on the History drop-down menu or from the default home page menu! I run Win 7 Ultimate, Firefox v39.0 and generally have 1 window open with 12 to 24 tabs open however it has happened with only 5 or 6 tabs open! I have read everything related to this subject in the help section but so far nothing has helped. This is not a new problem however it seems to have worsened after the last few updates. I have been a Mozilla user since the beginning going back to Netscape. While I will never use Internet Explorer (other than testing new webdesigns) Chrome is starting to look better & better :( Thank You

被采纳的解决方案

If this happens then you can backup the session files in the sessionstore-backups folder in the Firefox Profile Folder to make sure not to lose possible important session data.

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).

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

定位到答案原位置 👍 1

所有回复 (4)

more options

Try to use the "Show my windows and tabs from last time" startup setting to see if that makes Session Restore work more reliably.

  • Tools > Options > General > Startup: "When Firefox Starts":
    "Show my windows and tabs from last time"
more options

Unfortunately this is already set just as you described, but thank you anyway.

more options

选择的解决方案

If this happens then you can backup the session files in the sessionstore-backups folder in the Firefox Profile Folder to make sure not to lose possible important session data.

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).

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

more options

I apologize for not being able to reply sooner but I wanted to thank you for the help with this. Now that I know which files handle backups ect I can backup my own files daily as a precaution.

I'm not sure if this caused this problem but I have always changed the default directory to one of my own preference. This began way back when the old Netscape would crash almost daily losing all bookmarks. I'm going to create a new profile (default dir) and transfer my important files over to it. Now that I know more about previous.js, recovery.js, recovery.bak and upgrade.js files hopefully losing my tabs will be a thing of the past! Thanks again