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

I have lost all my tabs due to a virus and I can't restore them in any way that is mentioned on your website...

  • 5 replies
  • 1 has this problem
  • Last reply by jscher2000

more options

I had a lot of important tabs, and it has happened to me before that I lose them due to a crash, but I always managed to restore them going to folder sessionstore-backups and restoring to previous version there. Now what has happened to me is that I downloaded some software that contained a virus, and it installed program My browser automatically and closed Mozilla while I was working in, after uninstalling that program I opened mozilla and all the tabs were gone without the option to restore previous session. I tried to restore them doing the thing I mentioned above, and there was (and is) the option to restore to the version from a few days ago in files previous.js and recovery.js; however, when i clicked on them and entered the firefox again, it was all the same - the old tabs weren't returned. I also tried installing the newest version and keeping the old version in distinct folder as I have seen that someone mentioned it could lead to a solution, but all in vain because I still can't return them. Can you help me finding any way to do it because I have a lot of important tabs I don't wanna lose (I'm used to working by opening a lot of new tabs and usually forgetting to bookmark them)? Thanx in forward! :)

All Replies (5)

more options

I've called the big guys to help you. Good luck.

It’s very sad, but many of the software down-loaders / installers will trick you into installing not only their program, but other programs as well. You have heard of the fine print in shady contracts, right? Well, some installers you need to look at the itsy bitsy teeny weeny fine print. You are thinking you are giving the installer permission to install the program you want by using the recommended option. But if you use the Manual Option Instead, you discover all kinds of stuff that you do not even know what it is or what it does. From now on, everyone needs to Use The Manual Option to put a stop to this.

more options

Firefox's session history is only one session deep. If previous.js does not have the missing tabs, then they are gone.

But... two things.

(1) You may have noticed some other files in the sessionstore-backups folder with a name similar to


These are the windows and tabs from the Firefox session that was live at the time of that update. Depending on how long you were keeping windows and tabs open, one of those files might have many of the tabs you're missing.

I suggest backing those up in a safe location before trying to make any file swaps.

(2) By default, Windows backs up many files from your profile folder when you do a Windows backupupdate. These files are stashed in Restore Points. To check what Windows has saved, you can right-click a file, choose Properties, then the Previous Versions tab. If you decide to restore a file, please direct it to a different folder for safety.

Modified by jscher2000

more options

Firefox uses the sessionstore.js file in the profile folder to store session data, but this file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make it possible to restore the session at any time via "History > Recently Closed Tabs/Windows".

You can backup the session files in the sessionstore-backups folder in the Firefox Profile Folder to make sure not to lose possible important session data. You can find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

Copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current sessionstore.js file (make a backup copy of the current sessionstore.js).

You can check for "History > Recently Closed Tabs/Windows" to see if you can recover lost tabs. If Firefox has updated recently then also try the most recent upgrade.js-<build_id> file.

See also:

more options

Thank you for your response, but neither of them solved my problem. :(

more options

Sorry, if you checked all those possibilities and you can't find a recent enough file, then unfortunately those tabs are gone and you'll have to use History to figure out the pages in the missing tabs.