Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

marked as duplicate by studiohack Aug 16 '12 at 0:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Sadly I do not think that if Chrome crashes and does prompt you to recover the session there is much you can do. –  Ramhound Oct 3 '11 at 14:17
    
@Ramhound see superuser.com/questions/341068/… I know that I have a backup of the relevant files for my profile, but determining which backup to use isn't obvious to me. –  jabley Oct 3 '11 at 14:53
    

3 Answers 3

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.

share|improve this answer

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.
share|improve this answer

This answer points to a JavaScript app (open sourced on GitHub) that attempts to parse Chrome session saver (SNSS) files.

share|improve this answer
    
Thanks, that looks good. The files aren't quite sqlite(3), so having a custom parser will be handy. I guess I can always try strings if it comes to it. –  jabley Jan 23 '12 at 13:19
1  
@jabley turns out the javascript app is just regexing the file looking for URLs –  davenpcj Jul 19 '12 at 22:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.