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

搜索 | 用户支持

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

详细了解

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

  • 1 个回答
  • 8 人有此问题
  • 2 次查看
  • 最后回复者为 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.