搜尋 Mozilla 技術支援網站

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

Learn More

Losing sleep!

more options

Any hope to recover my missing tabs? I am working on a project and had 50+ tabs open in one window. My "Recently Closed Window" is greyed out in the Firefox Version 29.0.1 I had this problem a few years ago so I set browser.sessionstore.max_windows_undo;10. Thanks

Any hope to recover my missing tabs? I am working on a project and had 50+ tabs open in one window. My "Recently Closed Window" is greyed out in the Firefox Version 29.0.1 I had this problem a few years ago so I set browser.sessionstore.max_windows_undo;10. Thanks

被選擇的解決方法

The Recently Closed Windows list (or on the new menu, Restore Closed Windows list) should only be grayed out/empty if there is nothing to restore.

If you open a few windows (e.g., right-click a bookmark > Open in New Window a few times) then close them, does the menu work as expected?

If it doesn't work, and you are not starting in a private browsing window, then something definitely is broken...

從原來的回覆中察看解決方案 👍 1

所有回覆 (13)

more options

As the first step, could you back up all the sessionstore files in your currently active Firefox profile folder? Here's how:

If Firefox is already running:

Open your current Firefox settings (AKA Firefox profile) folder using any of these:

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • Help menu > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button

Scroll down and copy all files that start with sessionstore to a safe location, such as your Documents folder, in case you need to use them for recovery. Otherwise, there's a good chance Firefox will overwrite them.

If Firefox is not running:

Don't start Firefox. Type or paste the following in the search box on the Start Menu:

%APPDATA%\Mozilla\Firefox\Profiles

Usually you will find one folder with a partially random name. If you find more than one folder, click into the most recently updated one.

Scroll down and copy all files that start with sessionstore to a safe location, such as your Documents folder, in case you need to use them for recovery. Otherwise, there's a good chance Firefox will overwrite them.


Next... back in Firefox, I assume you already restored your previous session (e.g., History menu > Restore Previous Session)? If you do not have any closed windows available for re-opening, we may need to salvage URLs from the older sessionstore files. However, before listing a lot of steps, can you update us on what you found?

more options

Sorry for the delay but I do not know how to copy the data from the "Show Folder". The latest session are in the last day. How can I send this info? In addition, there are 27 numbered sessionstores beginning in 2009 and ending in 2012.

more options

The numbered sessionstore files can indicate that the regular file was locked or corrupted, so Firefox had to keep creating new ones. It sounds as though those are all old so probably not relevant to your current needs.

To copy files from one folder to another, you can select them (Ctrl+click to select multiple files), then right-click any one of the selected files and choose Copy. Then open your Documents folder, right-click a blank area, and Paste.

This is for safekeeping and doesn't send information to the forum or to me.

When you check the dates/times on the files, are any of them from the time of your last shutdown when you had the window open?

more options

There was a sessionstore.bak 15 KB at 4:05 P.M. which is a few hours after I ran a cleaner from Simplitec >> Bad idea!

more options

Thank you for helping Mr. Scher. I have reopened Firefox and the History Window remains grey. Also, I forgot to mention that the Simplitec program apparently deleted my Windows 7 Restore Points.

more options

To see what is in that sessionstore.bak, you could try one (or more) of the data mining techniques in these posts to rescue the URLs from the file:


If you need to go back further in time, one possibility is Windows' "Previous Versions" tab.

You should not restore an old file while Firefox is running, but you can take a look at the tab and see whether there are any old versions that might be useful.

Right-click the sessionstore.js file in your Firefox profile folder (not the backup) and choose Properties, then the Previous Versions tab. Can you find any copies from the relevant time frame?

Edit: If you do not have any restore points, then you likely will not find any Previous Versions.

由 jscher2000 - Support Volunteer 於 修改

more options

Looks like I am "dead in the water". Is there a way to have the History restore "Recently Closed Windows" so it won't be greyed out in the future?

more options

Unless your settings changed, Firefox should be creating/storing new session history as you browse. You can peer into your profile folder and check the timestamp on sessionstore.js (it is updated every 15 seconds when you are active). I guess the question is, can you trust that it will be there when you exit and restart the browser?

Could you check for customized session history settings in Firefox's about:config preferences editor. Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Review the preferences starting with:

  • browser.sessionhistory.
  • browser.sessionstore.

If you see bolded entries, which indicates that they vary from the default setting, could you right-click > Copy and post in a reply to see whether they might be relevant to this problem? (Other than the one you changed intentionally.)


You also could consider some extra backups. The Session Manager extension has options to (1) create a backup when you exit Firefox, and (2) locate it in a different folder where, presumably, cleaning tools are less likely to look for them. I haven't tested this, but might be useful as extra insurance.


Also, if a set of tabs is really critical, consider using the Bookmark All Tabs feature to store them in your bookmarks. I believe this only gets the visible tabs, so if you have multiple tab groups in the same window, you might need to save each one separately. Right-click any tab in the window to use Bookmark All Tabs.

more options

Speaking of tab groups, just in case your tabs are present in a different group, could you open the tab group page using Ctrl+Shift+e to check? You can press the Esc key to return to where you were, or click a new destination.

more options

Hi, browser.sessionstore.upgradeBackup.latestBuildID;20140506152807 is in bold. Should I change my bolded windows to default or can it be left at 10? There is only the existing tab group. Again, thanks for your help.

more options

I think your preferences are fine. So probably that cleanup utility is to blame and things should be working going forward. Hopefully!

more options

I wish we had this "discussion" long ago. Your instruction on how to simply Bookmark All Tabs with a single click should be on the front page of a Firefox "How To"! Still I would feel better if my History Recently Closed window was not greyed out.

more options

選擇的解決方法

The Recently Closed Windows list (or on the new menu, Restore Closed Windows list) should only be grayed out/empty if there is nothing to restore.

If you open a few windows (e.g., right-click a bookmark > Open in New Window a few times) then close them, does the menu work as expected?

If it doesn't work, and you are not starting in a private browsing window, then something definitely is broken...