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

Can I use an upgrade.js file to get my session back?

  • 4 replies
  • 1 has this problem
  • 20 views
  • Last reply by amthomson

more options

I had a session with lots of tabs and had to restart my laptop. Absent-mindedly I opened a mozilla file of backed up bookmarks before I reopened the mozilla browser and was thus unable to restore the previous session. Is it possible to use an upgrade.js file to get my old session back?

I had a session with lots of tabs and had to restart my laptop. Absent-mindedly I opened a mozilla file of backed up bookmarks before I reopened the mozilla browser and was thus unable to restore the previous session. Is it possible to use an upgrade.js file to get my old session back?

Chosen solution

To keep your options open, please back up everything in the sessionstore-backups folder to a neutral location Firefox won't overwrite. To preview the contents of a file, you can drag and drop it onto this tool:

https://www.jeffersonscher.com/res/scrounger.html

Read this answer in context 👍 0

All Replies (4)

more options

Hello click on the 3 line menu (also known as the Hamburger Menu) and then click on Restore Previous Session -- it is the 4th menu item on the list.

more options

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file (make sure to backup the current sessionstore.jsonlz4).

Firefox 56+ releases compress the files in the sessionstore-backups folder and sessionstore.jsonlz4 with LZ4 (.jsonlz4 instead of .js), so it is no longer easy to inspect them.

Firefox can still restore uncompressed sessionstore files, but to make this work you need to remove (rename) compressed files and rename the sessionstore-backups folder to ensure that Firefox can't fallback to compressed .jsonlz4 files.

more options

Chosen Solution

To keep your options open, please back up everything in the sessionstore-backups folder to a neutral location Firefox won't overwrite. To preview the contents of a file, you can drag and drop it onto this tool:

https://www.jeffersonscher.com/res/scrounger.html

more options

Thanks for the offers of help. I managed to restore my tabs using the upgrade.js file from the sessionstore folder. If I'd used the recovery file from the main profile folder, I would've got a more recent set of tabs, but this option disappeared after I restored with the upgrade.js file.