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

搜索 | 用户支持

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

详细了解

I can't restore previous session for the latest version of FireFox on Windows 10. How do I do this when I cannot find the sessionrestore.js file?

  • 6 个回答
  • 7 人有此问题
  • 4 次查看
  • 最后回复者为 Shon572

more options

Hello,

My FIreFox browser just crashed and I decided to open it and restore the previous session. However, there are no options to restore the previous session so I decided to immediately go and copy the files in session-backup folder. I have the latest version of Firefox-(32-bit) on Windows 10 and I need a way to restore all my tabs. I have all the files from the previous session so I can replac my existing Firefox files if need be. All other suggestions I found online were outdated and no longer applied to the newest Firefox file setups. The largest files I have are previous.js recovery.bak and recovery.js

edit: removed personal information for your protection. please note that we cannot offer support via telephone, so please continue in the forum. thanks for your understanding! (philipp)

Hello, My FIreFox browser just crashed and I decided to open it and restore the previous session. However, there are no options to restore the previous session so I decided to immediately go and copy the files in session-backup folder. I have the latest version of Firefox-(32-bit) on Windows 10 and I need a way to restore all my tabs. I have all the files from the previous session so I can replac my existing Firefox files if need be. All other suggestions I found online were outdated and no longer applied to the newest Firefox file setups. The largest files I have are previous.js recovery.bak and recovery.js <sub>edit: removed personal information for your protection. please note that we cannot offer support via telephone, so please continue in the forum. thanks for your understanding! (philipp)</sub>

由philipp于修改

被采纳的解决方案

I'm not sure about the location of the profile folder in that screenshot as it shows the location used for temporary files in "AppData\Local" and not the main profile folder in "AppData\Roaming".

Firefox uses two locations for the Firefox profile folder. Location used for the main profile in "AppData\Roaming".

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\

Location used for the disk cache and other temporary files in "AppData\Local".

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\

How do the other files that should be in the other location ended up in that folder? Did you copy other files to that folder?

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

定位到答案原位置 👍 1

所有回复 (6)

more options

hi Shon572, please copy your backed-up recovery.js file into the main firefox profile folder (not the sessionstore-backup folder!) and rename it to sessionstore.js (no 're' in there) while firefox is closed. afterwards try launching firefox again. in case your old session wasn't restored by this, please try the same procedure with recovery.bak or previous.js afterwards as well.

more technical details about this are available in https://dutherenverseauborddelatable.wordpress.com/2014/06/26/firefox-the-browser-that-has-your-backup/

more options

Shon572 said

Hello, My FIreFox browser just crashed and I decided to open it and restore the previous session. However, there are no options to restore the previous session so I decided to immediately go and copy the files in session-backup folder. I have the latest version of Firefox-(32-bit) on Windows 10 and I need a way to restore all my tabs. I have all the files from the previous session so I can replac my existing Firefox files if need be. All other suggestions I found online were outdated and no longer applied to the newest Firefox file setups. The largest files I have are previous.js recovery.bak and recovery.js
more options

Hello,

    Please ignore the previous post, I accidentally re-posted the same question. I have tried your method 4 items and the result is still the same. I still have no option toe recover previous session. I'm going to try and crash Firefox and then replace the files so as to prompt Firefox to open/use them.
more options

I have tried your method a few more times and I am still getting no results. THis image shows where I have been placing the renamed recovery file as "sessionstore.js", what am I doing wrong?

more options

选择的解决方案

I'm not sure about the location of the profile folder in that screenshot as it shows the location used for temporary files in "AppData\Local" and not the main profile folder in "AppData\Roaming".

Firefox uses two locations for the Firefox profile folder. Location used for the main profile in "AppData\Roaming".

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\

Location used for the disk cache and other temporary files in "AppData\Local".

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\

How do the other files that should be in the other location ended up in that folder? Did you copy other files to that folder?

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

more options

Thank you so much Mr./Mis. cor-el for your help. It works now, I do not know why the files were in the "local" folder but I guess I was just wasting my time looking for the right profile folder due to the duplication.