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!

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

搜尋 Mozilla 技術支援網站

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

了解更多

After FF crashed my restor previous session option was gray and I need to restore the window before crash, how do I do it???

  • 2 回覆
  • 2 有這個問題
  • 9 次檢視
  • 最近回覆由 cor-el

more options

Firefox crashed and I could not restore my previous window, lost all of my tabs and when i tried to restore the session or window, the option was grayed.

Firefox crashed and I could not restore my previous window, lost all of my tabs and when i tried to restore the session or window, the option was grayed.

所有回覆 (2)

more options

First thing, don't close Firefox. Open your profile folder and copy all "sessionstore" files to a safe place.

Open your current Firefox settings (AKA Firefox profile) folder using

Help > Troubleshooting Information > "Show Folder" button

Scroll down and look for files starting with sessionstore. The sessionstore.js file contains the tabs in your current session, so while I recommend saving a copy, it probably won't help you very much. sessionstore.bak contains the tabs from your previous session, which may or may not be useful. If you have files with names like sessionstore-1.js, Firefox created those because there was a problem with updating sessionstore.js and they would be current as of their timestamps. You may also find a file named sessionstore.bak-datetime which is a snapshot of your sessionstore the last time you updated Firefox.

Copy all of these to a safe location such as your Documents folder that Firefox will not try to update or clear.

Note: If Windows does not show you file extensions such as .js, turn off the hiding so that you can work accurately with files. This article has the steps: http://support.microsoft.com/kb/865219.

Now... considering the last modified date/time on the files you saved, does any one of them appear to be from the relevant moment so it might contain the missing session?

If yes, we can discuss "mining" that file for relevant addresses.

If not, hmmm, it might not be possible.

more options

You can also try to restore a previous version of the sessionstore.js file.

  • Right-click: Properties > Previous Versions