Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Coldblackice/3bdc8e4f6c02918bd30d016d1706dbfe to your computer and use it in GitHub Desktop.

Select an option

Save Coldblackice/3bdc8e4f6c02918bd30d016d1706dbfe to your computer and use it in GitHub Desktop.
Restore Firefox Session

Aw snap, nothing works and Firefox isn't capable of showing the "Restore Previous Session" because.. yeah, it's Firefox.

Solution by: jscher2000

Posted on: https://support.mozilla.org/en-US/questions/1189759#answer-1038155


  1. Please use this tool to determine the best file to restore: https://www.jeffersonscher.com/res/scrounger.html You also can save the clickable list of links to a file if all else fails.
  2. To make the swap to an old session history file:
    • a Exit Firefox. During a normal shutdown, Firefox should create a new file at the main level of the profile folder named sessionstore.jsonlz4 and remove both recovery.jsonlz4 and recovery.backlz4 from the sessionstore-backups folder.
    • b Right-click > Rename sessionstore.jsonlz4 to sessionstoreOLD.jsonlz4
    • c Copy the file you want Firefox to use into the profile folder and rename it sessionstore.jsonlz4 -- assuming your files are in alphabetical order, when you refresh (F5) your copied in and renamed file should be immediately adjacent to sessionstoreOLD.jsonlz4
  3. Now you're ready to start Firefox and, if needed, use History > Restore Previous Session.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment