![Ivaylo Valkov (Ивайло Вълков)](http://avatar3.status.net/i/identica/51443-96-20111202144050.png)
Hacky browser session restore
Ivaylo Valkov (Ивайло Вълков) at
I had a lot of tabs opened and for some reason the browser refused to restore the session, no matter what.
Well, I've hacked it!
grep -E "http[:\/\/a-zA-Z0-9\%._\?\=-]+" sessionstore.js -o |xargs abrowser
I have a lot of useless URLs opened, but it is better than nothing.
#happy
![](http://avatar3.status.net/i/identica/51443-96-20111202144050.png)
Refined:
grep -E "http[:\/\/a-zA-Z0-9\%._\?\=-]+" ~/sessionstore.js -o |sort | uniq | grep favicon.ico -v | xargs abrowser
![](https://urmf.net/uploads/arcee/2014/1/31/AkWNFg_thumb.jpg)
Isn't Abrowser a fork/version of Firefox? I thought Firefox asked which tabs to restore after a crash, and you could unselect some...
X11R5 likes this.
![](http://avatar3.status.net/i/identica/51443-96-20111202144050.png)
Yes, abrowser is practically Firefox. It usually does restore, but this time all URLs were in the restore file, but it did not restore. I typed some combination and the browser just stopped. Might have closed all tabs.