Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Why did Firefox stop restoring my open tabs when I restart after a crash?

  • 7 відповідей
  • 4 мають цю проблему
  • 9 переглядів
  • Остання відповідь від castoffs

more options

After a crash I get a blank tab, not even my hompages. I have to close and re-open firefox to get my home pages and never get tabs restored from the time of the crash.

Setting the pref browser.sessionstore.max_resumed_crashes to 0 does not change this.

After a crash I get a blank tab, not even my hompages. I have to close and re-open firefox to get my home pages and never get tabs restored from the time of the crash. Setting the pref browser.sessionstore.max_resumed_crashes to 0 does not change this.

Усі відповіді (7)

more options

Is Session Restore working in that you can reopen tabs from the previous session?

  • Tools > Options > General > Startup: When Firefox Starts: "Show my windows and tabs from last time"

It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.

Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).

more options

Tools > Options > General > Startup: When Firefox Starts: "Show my windows and tabs from last time"

is not set as I don't want my tabs restored from last time unless there is a crash.

No sessionstore files exist in the profile.

Змінено castoffs

more options

My point was to test if session restore works if you select that choice or if that fails as well. So please give it a try.

You can also try to reset Firefox:

more options

Thanks, the reset fixed it.

more options

OK, I found out what does this.

When "Clear history when Firefox closes" is checked Firefox does not restore windows and tabs after a crash.

How and why would Firefox remove history on a crash thus removing the ability to retstore on restart.

This hasn't always happened by the way as I've always had this option checked.

more options

Maybe it is caused by a missing privacy.sanitize.didShutdownSanitize pref in prefs.js that tells Firefox that clearing that data has been successful.
Firefox may be deleting that that data on a next start if it didn't happen on shutdown or you may have a crash that happened after that data already had been removed.

  • prefs.js: user_pref("privacy.sanitize.didShutdownSanitize", true);
more options

Many thanks. It was missing and has solved the problem.