How to restore correct session tabs when Google Chrome crashes [duplicate]
Possible Duplicate:
Chrome crashed without providing “Restore” button
My Chrome instance crashed, and when it restarted, it had lost all of my tabs, with no option to restore my tabs.
I'm aware of Last Tabs, Last Session and Current Tabs, Current Session in ~/Library/Application Support/Google/Chrome/Default
.
I have months of Time Machine backups for these files, so I'm pretty sure I have the relevant tabs backed up somewhere. Just blindly copying and renaming files seems a little haphazard. Is there some way of looking at the contents of each file, to ensure that I'm restoring the correct pair?
I'm bemoaning that Google hasn't used plain text here; Firefox with sessionstore.js is fantastic in this regard.
I've replaced the ~/Library/Application Support/Google/Chrome/Default
folder with a previous one from my Time Machine, restarted Chrome and afterwards it worked like a charm.
Thus, the session (and tabs) are restored if a backup is on-hand. The Windows equivalent to this path works also.
This answer points to a JavaScript app (open sourced on GitHub) that attempts to parse Chrome session saver (SNSS) files.
For future use you may want to look into Session Buddy
Session Buddy is a flexible session management extension that allows you to easily save, edit, and restore your browser sessions.
- Automatic capture of your 10 most recent sessions is especially handy for recovering a session after a browser or system crash.