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

搜索 | 用户支持

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

详细了解

Battery flat > shuts down > open browser > Restore Last Session > New Tab

  • 4 个回答
  • 2 人有此问题
  • 21 次查看
  • 最后回复者为 Andrew

more options

When I open my browser after shutting down due to my battery being flat, I select Restore Last Session. On doing this, the same number of tabs open, but each says New Tab and each page is blank. I can't restore the previous session because it says Empty.

Why is this?

'''When I open my browser after shutting down due to my battery being flat, I select Restore Last Session. On doing this, the same number of tabs open, but each says New Tab and each page is blank. I can't restore the previous session because it says Empty. '''Why is this?'''''

由Andrew于修改

所有回复 (4)

more options

Was Firefox running when that battery got flat?

It is possible that the file sessionstore.js got corrupted if that was the case.

If you see any sessionstore files with a number (sessionstore-##.js) in the Firefox Profile Folder then make a backup copy elsewhere and rename the file to sessionstore.js with Firefox closed.

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder
more options

"Was Firefox running when that battery got flat?" Yes.

"If you see any sessionstore files with a number (sessionstore-##.js) in the Firefox Profile Folder..." There's only a file called sessionstore.js.

"http://kb.mozillazine.org/Session_Restore" says to set "When Firefox starts" to "Show my windows and tabs from last time". I have Firefox 4, and this option isn't there.

more options

In Firefox 4 you can find that setting via Firefox > Options > General > When Firefox starts.

That session is probably lost if you can't access the previous session or have recently closed tabs or windows in Firefox > History

If you still see empty tabs then you need to delete sessionstore.js and sessionstore.bak in the Profile Folder
(this line got lost somehow in my above post, but should have been there)

由cor-el于修改

more options

Thanks.

"In Firefox 4 you can find that setting via Firefox > Options > General > When Firefox starts." This option isn't there, this being due to having the Tab Mix Plus add-on. I've now set it to use Firefox's built-in Session Restore feature, and will see it how that goes.

I don't have a sessionstore.bak file.