How do you restore the window of tabs crashed 1 day ago in Google Chrome? if I have used another window of many tabs in Chrome for 1 day.
I created a pure web-app that deals with the problem of session restore. (motivated by a recent computer crash, and this thread and the avoidance of extensions.)
The User interface is leaned on Chrome's own UI design.
Use as follows:
- Drag and drop the requested files from one of the 'user profile-folders' into Chrome-Session-Restore.
- Click on the small arrow in the bottom-bar to open a list of restorable tabs
- To open a session, set the number-input of the max number of tabs to restore and click on the top Icon of the opening tabs-menu, when clicking on the arrow.
Update per 30.05.2012:
*Favicons are shown;
*directly copyable file-paths to the session files.
Here is more technical information and some background to restoring-sessions.
I dug this out of Lo Sauer's excellent post linked above. In it he says:
PS: If your file isn't corrupt you can simply overwrite the current-tabs file with your last-tabs file and restart the Browser.
This worked like a charm. After restarting Chrome, it asked me if I wanted to reopen my tabs, and I clumsily closed that window. To recover using the above PS, I first copied my old session file (all commands entered in the same Terminal window) before quitting Chrome:
cd ~/Library/Application\ Support/Google/Chrome/Default/ cp Last\ Session /tmp
Then I quit Chrome, and copied the session file back:
cp /tmp/Last\ Session Current\ Session
Then I ran Chrome again, and whoosh all my tabs and windows reopened, without even another prompt.
If you run Chrome right after a crash, it will ask you if you want to restore your session and tabs. If you don’t click Restore, it won’t restore it. If you then close Chrome, the last session and tabs will be lost (they'll be replaced by the one that you had just before exiting).
Your best bet to avoid losing your tabs after a crash (and not having to go to the trouble of using the history) is to install a session-management extension. There are plenty to choose from, but my personal favorite (and recommendation) is Session Buddy. Among its features are that it is lightweight, easy to use, has the ability to import and export sessions, can manage tabs per-window, and best of all (particularly for this question), it can be set to auto-save the session in case of a crash.
Answers there mention the classic Session Savers (and a specific one - Session Buddy) and also there is advise to use bookmarks for storing important tabs, “rather than just leaving it open for long periods of time”.
So I think it worth to intervene and mention that all this solutions has serious flaws.
First of all usage of bookmarks is of course not automatic, and in additional this only pollute the bookmarks. The serious problem with Session Savers style solutions is that list of crashed windows is buried in some non editable list, in a completely separate context, unrelated to current one and in all practical aspects generally invisible. I use for many years all this solutions as in Firefox, as in Chrome, and mostly never check all this crashed sessions because of this.
Also most of this solution (if not all) does not allow to clean up,rearrange and edit this automatically saved crashed sessions.
All this flaws was the reason that I was done my own solution not very long ago, which combine best properties of both worlds (this is a mix of bookmarks and session savers approaches, and some more):
TabsOutliner (a Chrome extension)
It is go beyond simple session management and the ability to restart crashed windows, but i want show there exactly this use case, as actually that was the first reason why this tool was created. And also as I was tired to wait from Session Buddy author for the long promised ability to manage crashed sessions.
On next screenshot you can see how it represent your browsing session (2 opened windows) and several crashed windows from the other days:
http://i.imgur.com/o8ZvIDH.jpg (same image but bigger and with more details)
Note that crashed windows is intermixed with open ones, this is because some crashed windows is restored already.
TabsOutliner has the ability to unload tabs “in place”, to save PC resources, this also gives him facility to treat crashed windows and tabs as unloaded. On this screenshot you can see that the crashed windows (which is gray, with green titles) is stay in same context as open ones (which is blue). And you are free to reopen them later, or simple reorganize and trash if they not needed anymore (and they are, most of the time), anytime you wish. All of this without going to some buried separate lists. The crashed windows become a part of your current session, without burden of being reopened and consume resources, this feels like they was actually not crashed at all, you will even find that you welcome crashes, as they will just free the ram and nothing is lost.
I never close Chrome completely, sometimes for a weeks, so actually Chrome always crashed for me, soon or later. And without any false modesty i can claim that it is the best available solution for this problem. It was absent at the time this question was asked, and yes, the Session Buddy was the best answer in those days. I used it myself, of all the alternatives. But things change, now exist much better solution.