User Help for Mozilla Firefox
I did, but it'd either result in a blank page or crash completely. It would also appear as sessionstore.js.txt.js; is this the reason why?
Also, how do I use the bookmarklet code when I open up the sessionstore file?
What do you see if you open that file in Firefox via File > Open File?
It is a text file and you should see readable text. If you see garbage instead then the file is that much damaged that you probably can't do much with it. You can try to open the file in a Hex Editor (Viewer) to see what is in it.
You can compare the content with a working file sessionstore.js.
I literally see nothing at all when I opened the sessionstore.js via File > Open File. Also tried two other methods:
1) Copying it to the ########.default file, cleared history+opened firefox (at this point Session Manager comes out with the error 'illegal character: undefined' for the sessionstore.js file)
2) Renaming the sessionstore.BAK file (from the above step) to sessionstore.json and File > Open File, then nothing comes up.
In those cases I'm convinced that the sessionstore file is at the point of nor return, but for the ones that do work via File > Open File, Firefox crashes before it could fully load itself, preventing me from using the bookmarklet. I do see a line of text starting with the word 'windows,' so I think I'm on the right track at least.
Sorry, for the 2nd step in my previous post, I opened the sessionstore.json file via Organize Bookmarks > Import and Backup > Restore (doesn't work). Again, sorry for the double post.
Yea, I viewed the file in the hex viewer program; seems like there's a lot of URLs to be retrieved. I also managed to File > Open File it.
I must be missing what has to be the easiest thing to do on Earth, but how exactly do I use the bookmarklet code you provided...?
Paste it in the address bar and press ENTER.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Another problem: Firefox crashes each time I access the sessionstore.js.txt file (probably because the file is 77.6MB). Any way I can prevent this from happening?
By the way, as future reference, you edit the sessionstore.JSON (not sessionstore.js as previously mentioned) into sessionstore.js.txt to change it into a text file. Kept trying to change the js file that way and got nowhere until that moment of wisdom hit me >_>
You may have to use a more advanced editor to break that large file in a few smaller parts to prevent Firefox from stalling.
Hi all, I extended the HTML-file by ZeePrime so it shows also closed windows, contains some help, and is more readable. It is different from the bookmarklet as it does not change the current session and also handles closed windows.
I uploaded the file to http://rapidshare.com/files/443154522/F ... r_v1.0.htm as I did not find any possiblity to add files here in the board. Feel free to extend or update it, e.g. add loading a sessionstore.js-file (has to to reside in the same directory as the html file). Cheers, Georg
Last edited by dickvl on January 18th, 2011, 4:58 pm, edited 3 times in total.
Can you do this without using eval ?
These worked for me with modified code.
I'd like to share a sucessful (though not ideal, but infinitely better than nothing) manual method of extracting your tab urls from sessionstore.js, explained in noob baby steps for other noobs out there like me who may find it useful.
I had a 87MB sessionstore.js which I think was corrupted, as firefox wouldn't restore it (I would click on the restore button but nothing would happen, it wouldn't load the pages from it and the button would then grey-out), and none of the above methods in this thread would work for my file either. So if there's nothing else that you can do, like me, this is what I did for my messed up sessionstore.js:
Firstly, I had to get rid of what was a zillion instances of "\\\\\\\" and "\\\" (it seems that this was one of the ways my file was corrupted). I did this by opening it in XVI32 hex editor and using search and replace to get rid of all instances of that stuff.
So assuming the URLs in the file are not corrupted themselves: download Windows Grep, and search the file in Grep with the following "normal (regular expressions)" search:
For http:// pages:
For https pagaes:
I found that this brought up the full list of closed as well as currently open tabs. It definitely covers ALL open http/s tabs, so you don't have to worry that you're not catching some of them.
But boy, since you literally catch everything, you may catch an awful lot. If you want to minimise the amount of closed tab urls (by a big amount), try:
However I found that it omits some open tabs too [not just most closed tabs], so YMMV.
So then in Grep search results, untick "whole line" and "line numbers" and so forth, select all and copy, and you more or less have your tab URLs. Although in this last step it would crash when trying to copy so many lines from my mega js files. So I printed the results to PDF and merely copied the urls from there.
...I worked these strings out from just looking at the sessionstore.js file and using my brain for a few minutes, probably there's more exact strings one could work out but I can't be bothered myself lol.
Could you please re-upload this to another server because the site is not working. I need it because of the same problem reported in this thread (FF crashed and I want to extract the URLs from the useless corrupted sessionstore.js)
Who is online
Users browsing this forum: xanthon and 8 guests