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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Firefox continues to open old tabs (even one for printing) even after I unistall the program. this makes it slow and crushes often.

  • 7 bhfreagra
  • 1 leis an bhfadhb seo
  • 10 views
  • Freagra is déanaí ó ferpal

more options

Firefox continues to open old tabs (even one for printing) even after I unistall the program. this makes it slow and crushes often.

Firefox continues to open old tabs (even one for printing) even after I unistall the program. this makes it slow and crushes often.

Réiteach roghnaithe

There might be a problem with your session history files getting locked and therefore Firefox doesn't update them. Could you take a look here and let me know what you find:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button.

In your profile folder, scroll down and double-click into the sessionstore-backups folder. You may see numerous files here. Of particular importance:

  • recovery.js: the windows and tabs in your currently live Firefox session -- if you check the modified date/time, is this fresh or is it from the time frame that keeps coming back?
  • recovery.bak: a backup copy of recovery.js
  • previous.js: the windows and tabs in your last Firefox session
  • upgrade.js-build_id: the windows and tabs in the Firefox session that was live at the time of your last update

Do you see any numbered files, such as recovery-1.js? Firefox may create those when it is unable to store your current session history in recovery.js. Unfortunately, at the next startup, those files are not used automatically.

Note: By default, Windows hides the .js extension. To ensure that you are looking at the files I mentioned, you may want to turn off that feature. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

Read this answer in context 👍 1

All Replies (7)

more options

Hi ferpal, Firefox will automatically restore your previous session windows and tabs if it did not shut down correctly -- as far as Firefox knows, it is helping you recover from a crash.

Do you have this problem even if you exit Firefox using the menu and allow 30 seconds for it to finish cleaning up its settings files? You can test using the menu, either:

  • "3-bar" menu button > "power" button
  • (menu bar - tap the Alt key to activate if needed) File > Exit

Regarding the tab for printing, was that just a regular web page or was it a download? Sometimes Firefox resumes a failed download at every startup. I don't recall how to stop that, but you might need to go into download history (Ctrl+j or "Show All Downloads") and look for the failed ones and delete them. The failed ones have a reload arrow icon on the right side instead of a file folder icon.

more options

Oh, also:

Sorry to hear about the crashes. Does Firefox display the "Mozilla Crash Reporter" form after the crash? In that case, your Firefox may have logged some data that would help track down the cause of the problem. You can submit that data to Mozilla and share it with forum volunteers to see whether it points to the solution.

Please check the support article "Firefox crashes - asking for support" for steps to get those crash report IDs from the about:crashes page (or if necessary, from disk), and then post some of the recent ones here.

more options

The crashing does not happen that often, the problem is that every time I re open the program very old tabs open automatically, even if I close them all and each time, in the next session they pop again.

Because I usually leave some tabs I need for the next day, I use the Hisotry --> restore previous session but instead of opening the last tabs I was working on, Firefox opens these very old 30 something tabs and respective sites

more options

Réiteach Roghnaithe

There might be a problem with your session history files getting locked and therefore Firefox doesn't update them. Could you take a look here and let me know what you find:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button.

In your profile folder, scroll down and double-click into the sessionstore-backups folder. You may see numerous files here. Of particular importance:

  • recovery.js: the windows and tabs in your currently live Firefox session -- if you check the modified date/time, is this fresh or is it from the time frame that keeps coming back?
  • recovery.bak: a backup copy of recovery.js
  • previous.js: the windows and tabs in your last Firefox session
  • upgrade.js-build_id: the windows and tabs in the Firefox session that was live at the time of your last update

Do you see any numbered files, such as recovery-1.js? Firefox may create those when it is unable to store your current session history in recovery.js. Unfortunately, at the next startup, those files are not used automatically.

Note: By default, Windows hides the .js extension. To ensure that you are looking at the files I mentioned, you may want to turn off that feature. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

more options

Dear Jscher2000

Thanks a lot for the guidance. I have followed your steps and it is better now. Yet not quite there yet.


When I got to the In your profile folder I could see all the following as you excplain. However the last one (upgrade.js) had a date at the end, and I imagine that is when I started having problems.


   recovery.js: 
   recovery.bak: 
   previous.js: 
   upgrade.js    ---> WITH A DATE AND A FUNNY NUMBER. 

I accidentally deleted the last one and not no recovery of last session is happening... Is there a way I can get that back? I mean, the function without the history (or tabs from the last date).


Thanks a lot!

I like using Firefox and the support you are giving me makes me feel the human touch behind it! Thanks for that :-)

Fernando

more options

Hi Fernando, I think the date on the upgrade.js files is the date that version was released, so probably you did the update a short whiule after that date.

You probably can get that file back from the Windows 10 "Recycle Bin". If you do not have an icon for the Recycle Bin on your desktop -- it usually looks more like a wastebasket -- please see this article: https://support.microsoft.com/en-us/instantanswers/55c5049f-a1e7-7edd-7367-ccc211aee723/find-the-recycle-bin


Once you have the file you want to try, there is a slightly complicated way to get Firefox to use it. Sorry this isn't easier...

"Roll back" Firefox to an earlier session history file.

The way you do this is to shut down Firefox, hide all its existing session history, then copy the old file into your profile folder and name it sessionstore.js so Firefox uses that at startup. Users say it doesn't always work, but it's the only current way to feed an old session to Firefox.

If "session state" is important -- the cookies in effect at that time -- then this is your best option.

The detailed steps for the "swap" were in this post: https://support.mozilla.org/questions/1144076#answer-929701

Extract the URLs from the old file and click each link to load it manually

This is a better approach when you need to examine a number of files and you don't want to lose your current session.

One-time Setup:

(0) Install the "Session Extractor" bookmarklet (see the instructions in the top bar of the page for how to install it):

https://www.jeffersonscher.com/res/sumomarklets.html#SessExtr

To Extract the URLs:

In the folder where you copied your session history files for safekeeping:

(1) Create a copy of the session history file you want to mine for URLs and rename it with a .json extension.

For example, right-click the upgrade.js... file, choose Copy, then right-click a blank area of the list and choose Paste.

Note: By default, Windows hides the .js extension. This is all easier if you can see it. http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

Right-click > Rename the upgrade - Copy.js... file to upgrade.json (or upgrade.txt if you prefer).

(2) Open the upgrade.json file in a Firefox tab. Either drag the renamed file and drop it on an existing page to load the json/txt file in its place, or right-click the file and choose Open With and use Firefox.

(3) In the tab displaying the session history file, click the bookmarklet button to run the script. This should generate a new page listing the URLs of each open tab from the file. You can select and copy this list and paste it somewhere for safekeeping, and/or you can just use the links now.

Unfortunately, if you want to save that page "as is" (as an HTML page), there's an extra step: press Ctrl+U to launch the "view source" page, and save that as a .htm or .html file. For some reason, saving the original page gives you the original session file instead of the formatted list of links.

more options

Dear jscher2000

This is just to thank you for your patience and support. I am not sure to what extent the problem is solved, but in the last couple of days Firefox is working on more normal bases.. he he he... slower than usual though. but ok. thanks again