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!

搜索 | 用户支持

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

详细了解

Restore opened tabs after Firefox crashed

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

more options

I had a lot of tabs opened before Firefox crashed. When I restarted it, it didn't restore my previous session like it usually does. The option to restore previous session in History is greyed out for some reason. I'm trying to avoid the tedious process of going through the list of History. Does Firefox keep a file of all tabs from previous session? Thanks!

I had a lot of tabs opened before Firefox crashed. When I restarted it, it didn't restore my previous session like it usually does. The option to restore previous session in History is greyed out for some reason. I'm trying to avoid the tedious process of going through the list of History. Does Firefox keep a file of all tabs from previous session? Thanks!

所有回复 (4)

more options

Firefox Crashed? The way firefox crashed may affect the restauration process. In order to assist you better, please follow the steps below to provide us crash IDs to help us learn more about your crash.

  1. Enter about:crashes in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
  2. Copy the 5 most recent Report IDs that start with bp- and then go back to your forum question and paste those IDs into the "Post a Reply" box.

Note: If a recent Report ID does not start with bp- click on it to submit the report.

(Please don't take a screenshot of your crashes, just copy and paste the IDs. The below image is just an example of what your Firefox screen should look like.)

aboutcrashesFx29

Thank you for your help!

More information and further troubleshooting steps can be found in the Troubleshoot Firefox crashes (closing or quitting unexpectedly) article.

more options

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 currently used Firefox profile folder:

more options

Cor-el,

After the crash, I opened Firefox and posted on this forum for help. 

I followed theinstruction and copied previous.js from the sessionstore-backups folder and pasted it to my .default folder and renamed it sessionstore.js. Shut down firefox and relaunched and it restored the tabs that were open from the last session AFTER the crash occurred(I want to restore tabs BEFORE the crash.) Repeated the same process with recovery.js instead yet still the same result. I also noticed both files were dated after the crash occurred. Another thing is each time I reopen Firefox, the sessionstore.js I made disappears.

由thanosmadtitan于修改

more options

Did you close Firefox before copying the sessionstore.js file?

You need to have Firefox closed when you copy or replace the sessionstore.js file. You can check the dates of the files that you did backup from the sessionstore-backups folder to see if there is one old enough.

Try to restore a previous version of a file, either a sessionstore.js file or a file in the sessionstore-backups follder.

  • Right-click: Properties > Previous Versions