This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Restore tabs from .js file

more options

I got tangled in the tabs manager and closed it... closing all my tabs. I have located js files "recovery.js"; "recovery.bak" and "previous.js". I copied the last session that I wanted to restore and renamed the file for the three types of files previously mentioned. I put the 3 new files in profile folder after I had logged out of Firefox. The previous session I was looking for was not restored.

I had had "restore previous session" checked but removed that designation before restarting. If I do "about:sessionrestore " it says there is nothing to restore, although the three files (recovery bak and js plus previous js) are in profile folder. Please advise.

Thank you

I got tangled in the tabs manager and closed it... closing all my tabs. I have located js files "recovery.js"; "recovery.bak" and "previous.js". I copied the last session that I wanted to restore and renamed the file for the three types of files previously mentioned. I put the 3 new files in profile folder after I had logged out of Firefox. The previous session I was looking for was not restored. I had had "restore previous session" checked but removed that designation before restarting. If I do "about:sessionrestore " it says there is nothing to restore, although the three files (recovery bak and js plus previous js) are in profile folder. Please advise. Thank you

All Replies (3)

more options

You have a backup of all these files in a safe location? Good.

This has gotten a little more complicated in Firefox 33. The file that Firefox will look for at startup is still called sessionstore.js. However, while you are running Firefox, it is updating those other files, and it seems that sessionstore.js is written out when Firefox exits.

Thus, you need to remove sessionstore.js (you can rename it to sessionstore.old) before starting up Firefox so it looks in the sessionstore-backups folder for the files you have restored there.

Does that make sense?

Or you could rename your most promising file as sessionstore.js so that Firefox reads that file at startup. Please only make the switch with Firefox fully shut down.

more options

Thank you for your reply. I changed the name of the promising file (which has the desired yesterday's date on it) to sessionstore.js but the newer session of tabs opened. I think the old file is still ok but just not being opened.

It seems as if Firefox does not want to open that file. (It was not in the folder before... as i said, just *.bak and the 2 js files ("recover" and "previous").

I opened Firefox after the file had been renamed to sessionstore and got homepage. Then I went to History and Restore session. Is there another way to get Firefox to open sessionstore.js file?

Should I only have the desired sessionstore.js file in the sessionstorebackups folder? Could that be the problem (I have other files that have been renamed in it but don't think Firefox would open them?)

Thanks again.

more options

The sessionstore.js file is in the profile folder at the main level, not in the sessionstore-backups folder. Since this just got revamped in Firefox 33, I'm not 100% certain, but I believe that is where Firefox will look for the file. After exiting Firefox and renaming the (small, useless) sessionstore.js file to sessionstore.old, try moving the (promising) sessionstore.js file into the main profile folder right next to sessionstore.old.