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

搜索 | 用户支持

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

详细了解

Lost Tabs after Windows Update and cannot restore tabs from Firefox

  • 7 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 aochoa

more options

I have a win10 PC with 16gb ram and xeon CPU. About 20 Firefox windows with numberous tabs in each. After Win10 2004 update Firefox data was gone.

I have a firefox account that was logged in that I thought was able to restore my tabs if something like this happened. Can't find anywhere or anything that shows the ability to do so...Wtf?

I Did a system restore to remove update and FF data is now visible in file folder locations but does not load. I get a blank about:restoresession browser tab with no option to restore in the middle of the window nor from any of the known locations to try to do so.

I do have what I think is my old session info, how do I try to restore this?

I have a win10 PC with 16gb ram and xeon CPU. About 20 Firefox windows with numberous tabs in each. After Win10 2004 update Firefox data was gone. I have a firefox account that was logged in that I thought was able to restore my tabs if something like this happened. Can't find anywhere or anything that shows the ability to do so...Wtf? I Did a system restore to remove update and FF data is now visible in file folder locations but does not load. I get a blank about:restoresession browser tab with no option to restore in the middle of the window nor from any of the known locations to try to do so. I do have what I think is my old session info, how do I try to restore this?
已附加屏幕截图

所有回复 (7)

more options

UPDATE: I have my original browser info in place with history and links in toolbar. I now get the about:sessionrestore window back but still with a blank browser screen and no buttons to click in the middle to restore previous FF browser windows with tabs.

There are NO other options to restore from in the usual places including Library or History.

more options

Did you check the upgrade files in the sessionstore-backups folder in the profile folder ?

You will normally find these files in the sessionstore-backups folder:

  • previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file (make sure to backup the current sessionstore.jsonlz4).


You can create a new profile as a quick test to see if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.

more options

I have those 3 files and have tried a new profile but nothing loads. I have the orginal profile in place and trying to replace backup with current session.

Have tried Firefox session scrounger and can see my tab links but keeps crashing before it is done so havent been able to extract.

more options

You can possibly use this code in the Browser Console to decompress a compressed LZ4 file. To enable the command line in the Console:


javascript:/*DECOMPRESS LZ4*/(function(){async function decompressFile(oFilePath,nFilePath){let jsonString=await OS.File.read(oFilePath,{compression:"lz4"});await OS.File.writeAtomic(nFilePath,jsonString);}var fu = Cu.import("resource://gre/modules/FileUtils.jsm").FileUtils;var fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);fp.init(window, "Open File", Ci.nsIFilePicker.modeOpen);fp.appendFilter(".*LZ4* Compressed Files","*.*lz4*");fp.appendFilter(".LZ4 Compressed Files","*.lz4");fp.displayDirectory=fu.File(OS.Path.join(OS.Constants.Path.profileDir,""));fp.open((aResult)=>{if (aResult==Ci.nsIFilePicker.returnOK){if(fp.file.exists()&&fp.file.isFile()&&fp.file.isReadable()){var oldfile=fp.file.path;var newfile=oldfile+".json";try{decompressFile(oldfile, newfile);console.log("Saved as: \"" + newfile + "\"");}catch(err){console.log(err);}}}else{console.log("<canceled>");}});})()

more options

I copy this into the console window?

more options

Yes, once you have enabled the command line in the Browser Console (so not the Web Console) then you can paste this JavaScript code in the command line and press the Enter key to run the code. Note that you may have to type some text to enable pasting.

more options

I did end up with a decompressed file .son file about 300mb in size. What would be next?

Also, I was able to extract tab links using ff session scrounger by not staying on the site, I had to be on another tab so it wouldn't crash. So I have been able to recover 99% of my browser window and tab info, so I'm safe with that, but would still like to have it repopulate in Firefox if possible without having to go through nearly 1800 links and rebuild my browser windows by topic.

I have tried using the previous and backup copies but they do not populate or show any sign of existing in new session.

Suggestions?