Hacker News new | ask | show | jobs
by chrisseaton 1687 days ago
> I had 60+ important tabs open and now they're gone!!

This just doesn't seem a reasonable expectation that these are preserved - they would also be lost if the computer crashed wouldn't they?

If it's important then save it.

5 comments

> they would also be lost if the computer crashed wouldn't they?

In 2000, maybe, yes. But nowadays all browsers write important parts of their state to disk and will recover that on crash. If you do a `sudo reboot now` in a terminal, you'll find firefox opens all tabs when rebooting.

A lot of the content in those pages will be gone; e.g. sessions, SPA/JS-in-memory-state or this comment in a textbox before submitting. But the tabs, their URLs and even the placement of tabs is restored.

Browsers these days routinely persist the contents of the current session to disk, exactly to defend against a crash (computer or the application itself).

Of course, bugs and disk corruption happen, but you need more than a computer crash to lose all your tabs.

>Of course, bugs and disk corruption happen

And Firefox has multiple backup of sessions to the point even if your previous session was corrupted you can still recover a session saved slightly earlier. This was partly done because there are people ( like me ) who have hundreds if not thousands of Tabs opened and they ( me ) complain a lot about it.

Chrome made something similar and put in protection that may corrupt the ex-session files. To the point for nearly a decade browsers have had bullet proof session restore. ( Apart from Safari which still happens from time to time )

> And Firefox has multiple backup of sessions to the point even if your previous session was corrupted you can still recover a session saved slightly earlier.

Yup. You might have to root around in the profile's directory, though, which not every user knows how to do.

But it being a possibility is absolutely great.

> This was partly done because there are people ( like me ) who have hundreds if not thousands of Tabs opened and they ( me ) complain a lot about it.

Same.

Firefox has "Open previous windows and tabs" as a startup option. Is that something that Safari doesn't do?
Interesting, on both my phone and computer tabs stay until I close them? Sometimes they need to manually be "recovered" if crash.
They do persist. To the point of people forgetting that they are ephemeral.