
Firefox not reopening tabs after shutdown
I went from Chrome to Firefox several months ago when I discovered that Firefox would automatically reopen all open tabs from previous session. I always put my pc in "sleep" mode at night. This morning it wouldn't "wake up" so I held the power button down until it shut down (Windows 11). Then I hit the power button and it started fine. I opened Firefox (Version 333.0) and all my tabs were gone. My wife uses Firefox on her Mac laptop and the same thing happened to her. She put her laptop to sleep last night and this morning all her tabs were gone.
After 3 hours of restoring my tabs, i went to settings and the option for Firefox to reopen all tabs from previous session was grayed out and clicking the circle next to it didn't do anything.
I am assuming this was caused by a Firefox update and am hoping someone has a fix for this. I'd hate to go back to Chrome, but I can't live with spending three hours of each day restoring tabs. I'd appreciate and be eternally grateful for any assistance and fix for this issue.
Thanks!
Bob Kitsis [email removed]@yahoo.com
Upravil(a) NoahSUMO dňa
Všetky odpovede (2)
Hi Bob, sorry to hear about this problem. Firefox normally recovers tabs after a crash automatically, but could you take a look at one of these menus:
- "3-bar" menu button > History > Recently Closed Windows
- (menu bar) History > Recently Closed Windows
Can you check whether any closed windows have the important tabs you're looking for?
If that doesn't help...
Firefox creates numerous session history files, but because session history is only for the immediately previous session, it is unfortunately too easy to lose it. Could you start by making a backup of your existing session history files? Here's how:
Do not exit Firefox, or if you closed it, don't re-open it.
(1) To open your profile folder...
If Firefox is still running:
You can open your current Firefox settings (AKA Firefox profile) folder using either
- "3-bar" menu button > Help > More Troubleshooting Information
- (menu bar) Help > More Troubleshooting Information
- type or paste about:support in the address bar and press Enter
In the first table on the page, find the Profile Folder row and click the "Open Folder" button. This should launch Windows' File Explorer listing the contents of your current profile folder.
If Firefox is closed:
Type or paste the following into the Windows Run dialog or the system search box and press Enter to launch Windows Explorer:
%APPDATA%\Mozilla\Firefox\Profiles
In that folder, do you see a semi-randomly-named folder? If so, click into it. If you find multiple such folders, find the one that was most recently updated.
(2) Copy out session history files
In your profile folder, double-click into the sessionstore-backups folder. Save all files here to a safe location such as your Documents folder.
(3) What files did you find?
The kinds of files you may find among your sessionstore files are:
- recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session)
- recovery.baklz4: a backup copy of recovery.jsonlz4
- previous.jsonlz4: the windows and tabs in your last Firefox session
- upgrade.jsonlz4-build_id: the windows and tabs in the Firefox session that was live at the time of your last update
Sometimes you can tell from the last modification time which one will have your missing tabs, but not always.
Optional File Contents Preview
These compressed files are a pain to view, so I created a tool on my website to list out their contents. If you want to try that, you can drag and drop it onto the large box on the following page, then click the "Scrounge URLs" button:
https://www.jeffersonscher.com/ffu/scrounger.html
If you don't get a list within 15 seconds, that probably means the script is caught in a loop. You may need to close the tab to avoid a tab crash and then try again in a new tab.
If you get a useful list, use the "Save List" button to archive it as a web page of clickable links for future reference, in case no other approach is successful.
Regarding the issue with settings, is Firefox remembering browsing and download history normally? For the moment, I will assume so.
Could you try using the back door to select restoring previous session windows and tabs. Here's how:
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.
More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.
(2) In the search box in the page, type or paste browser.startup.page and pause while the list is filtered
This preference stores a number that determines what Firefox does at startup:
- 3 = Restore previous session
- 1 = Show home page
- 0 = Show blank page
- 2 = Only restore the very last visited page
(3) If the value is not 3, double-click the preference to display an editing field, and change the value to 3 then press Enter/Return or click the blue check mark button to save the change.
If the preference is locked or otherwise uneditable, the next step would be to suggest why.