搜尋 Mozilla 技術支援網站

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

Learn More

[NOT Solved]Closed main window while Private still worked and lost all tabs/session.

  • 2 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 rey0n

more options

It's really dumb that one can close own Main window without warning that too many tabs are closed or there is another window still running! And that's what happened to me: i had Private window in back, closed Main window thinking that i'm closing browser, and then surprisingly saw Private window is still there. As any ordinary user who already lost tabs in past i panicked and closed the Private window too. Started Firefox once again hoping for restore, but it opened with clear window and obviously there was no "Restore session" button in Menu, as i have "Auto restore" ON in settings.

I started to search for manual way, found descriptions with manual renaming/coping backups from sessionstore-backup folder. Like these= https://support.mozilla.org/de/questions/1275314 https://support.mozilla.org/en-US/questions/1310742 But however i tried to copy and rename - each start Firefox ignores that, clears backup folder and again clear window. Lucky i thought about coping those recover. and previous. files from sessionstore-backup folder after first browser close, so they are safe. And i'm sure my tabs are still there = checked it with https://www.jeffersonscher.com/res/scrounger.html.

So yeah, i have at least some way to get back tabs, but i'm really angry and curious to know WHAT is forbidding me to restore that file after manual rename??!

由 rey0n 於 修改

所有回覆 (2)

more options

Did you look for closed windows in "History -> Recently Closed Tabs/Windows" ?

If Firefox recently updated then look for a upgrade.jsonlz4 file.

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 with Firefox closed.

  • make sure to backup the current sessionstore.jsonlz4

有幫助嗎?

more options

@cor-el Hello. As i stated above i tried all the variant of renaming, including simple renaming and "scroungering" via https://www.jeffersonscher.com/res/scrounger.html to get not zipped sessionstore.json = it doesn't work, FF simply "ignores" exchanged files and deletes those creating new/clear ones. "History -> Recently Closed Tabs/Windows" wasn't available since beginning, as i think due to Private tab was closed last(after Main window, which got "erased" due to no safety check for such situation). Plus during trying "renaming magic" i started and closed FF several times. I have sessionstore-backup safe and files there are alive with proper tabs, just FF keeps erasing them if try to insert any(recovery or previous).

That's why i'm asking What may be forbidding FF to take renamed files?(files aren't corrupted for sure)

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題