Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

Bookmarks and Firefox previous sessions all saved as jsonlz4 sometime now. How do I reverse this to js?

  • 1 回覆
  • 8 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

I realised that my bookmarks and previous sessions are being saved as jsonlz4 as opposed to js that was the norm. Is that part of an update? Can it be changed back? When Firefox crashes I usually bring up the previous session by renaming it and copying it as sessionstore.js into the main firefox profile. Is that now possible? I think I read that jsonlz4 is the compressed version of the file. thanks.

I realised that my bookmarks and previous sessions are being saved as jsonlz4 as opposed to js that was the norm. Is that part of an update? Can it be changed back? When Firefox crashes I usually bring up the previous session by renaming it and copying it as sessionstore.js into the main firefox profile. Is that now possible? I think I read that jsonlz4 is the compressed version of the file. thanks.

所有回覆 (1)

more options

The change to LZ4 compressed .jsonlz4 files is to speed up writing and reading these files and keep the disk access as low as possible. You can't reverse this, but Firefox can still read uncompressed files creates by older Firefox versions. For the bookmarks only automatically created backups in the bookmarkbackups folder are compressed and a manually created JSON backup is not compressed.

You now need to copy a compressed sessionstore file to sessionstore.jsonlz4 in the main profile folder to restore this session instead of using sessionstore.js.

Firefox can still restore uncompressed sessionstore files, but to make this work you need to remove (rename) compressed files and rename the sessionstore-backups folder to ensure that Firefox can't fallback to compressed .jsonlz4 files.