[Firefox]Recovery Firefox web session via jsonlz4 file.

[Firefox] 透過 Firefox 的 recovery.jsonlz4 與 previous.jsonlz4將丟失的Firefox web session復原

Lau Dai He
2 min readJul 5, 2021

Author:Lau Dai

Date:2021/07/06

In the last day. I had lose all my Firefox web about 8x pages on windows .

How does it happen?

I close my Firefox web via keyboard shortcuts Ctrl + Shift + Q as usually. And then, I open the Firefox private window. After using the private mode. I close the browser by using keyboard shortcuts Ctrl + Shift + W . And open the Firefox web browser quickly. And then, Boom ! There is no any web group but only one which is the lasted I use. Others web page is all gone.

Photograph from Unsplash

How to repair it?

In the last time it occurred. I know there is a file can stored Firefox session automatically. The file name is jsonlz4 suffix.

The file where located is %UserProfile%\AppData\Roaming\Mozilla\Firefox\Profiles\{xxxxxx}.default-release\sessionstore-backups .Or you can search *.jsonlz4 in %UserProfile% folder. Badly, cause I closed browser twice. So only 1 recovery.jsonlz4 file remain. Luckly, you can find your default setting file folder via view the about:profiles in firefox browser. You can get more jsonlz4, baklz4 file in {xxxxxxx}.default-release\sessionstore-backups in your computer.

Find them and restore the link via this web. And you can get all checkpoint web page which Firefox stored.

If you didn’t close the browser twice after this problem occurred. Maybe you can try this way to help you restore your website.

中文版本

Firefox 在使用快捷鍵關閉後,開啟隱私模式後導致無法正確回復頁面。如果問題發生的當下,尚未把瀏覽器關閉的情況就發現此篇文章,讀者可以使用此文章的方式嘗試修復看看。

如果已經二次關閉瀏覽器,那可以透過 about:profiles 頁面取得你系統設定檔案的位置。找到sessionstore-backups資料夾,裡面有 previous, recovery, upgrade 等檔案可以嘗試復原。復原的網址可以使用此連結,在此大推此網站來解析這種專屬格式。

最後,透過此網站你會得到所有瀏覽器的群組頁面,就耐心一點,手動一個個慢慢點擊吧。

--

--

Lau Dai He
Lau Dai He

Written by Lau Dai He

Less is more. 2021/08/01起,主要會紀錄各種技術的精華重點文章,方向可能是Pyhton, Linux, WIndows等都有可能。文章內容精簡為主,搭配少部份的個人情感抒發等。(inspired by 路人甲的世界​-知乎作者)

No responses yet