X
Tap here to go to the mobile version of the site.

ஆதரவு மன்றம்

When I open firefox it tries to restore my previous session. A tab from my previous session causes firefox to crash, meaning I am unable to open firefox at all

  • 1 reply
  • 1 இந்த பிரச்சனை உள்ளது
  • Last reply by jscher2000
பதிவிடப்பட்டது

I can't get into the settings as it crashes as soon as it opens. I can't close the windows when it opens. I can't do anything that would involve running my computer as an administrator as this is a work computer. Any suggestions?

I can't get into the settings as it crashes as soon as it opens. I can't close the windows when it opens. I can't do anything that would involve running my computer as an administrator as this is a work computer. Any suggestions?

Additional System Details

பயன்பாடு

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; rv:11.0) like Gecko

கூடுதல் தகவல்

jscher2000
  • Top 10 Contributor
8765 தீர்வுகள் 71703 பதில்கள்
பதிவிடப்பட்டது

Sorry, it's really annoying when this happens. I don't think there is a handy bypass, but you have two options:

To avoid an unwanted session recovery, you could either modify a settings file or hide your session history files from Firefox so that it can't restore the unwanted page at the next startup. Here's how:

Step #1: Open the profile folder

Windows

Type or paste the following into the Windows Run dialog or the system search box, and press Enter to launch Windows Explorer into this folder:

%APPDATA%\Mozilla\Firefox\Profiles

You should see at least one semi-randomly-named profile folder there. (If you see more than one, you'll want to figure out which one has the unwanted session history in it by checking each one.)

Double-click into the profile folder.

Mac or Linux

Your Firefox profile folder would be accessible in a different way than on Windows. Please see these articles for information on how to locate it:

Step #2: Your Choice of...

Modifying a Settings File

At startup, Firefox will check whether to restore tabs automatically or show you a list so you can make your own selections. In the most recent versions of Firefox, you may need to click a button to see the list.

In your profile folder, locate the file named prefs.js and open it in a text editor -- if you are running Windows, make sure to right-click > Edit or right-click > Open With to avoid executing the script.

By default, Windows hides the .js extension, so to make sure it's the right file, you may want to set Windows to show all extensions. See: https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/

Paste this on a new line at the end and save the change:

user_pref("browser.sessionstore.max_resumed_crashes", 0);

When you save, make sure to avoid adding any formatting (save using a plain text format) or changing the file name (you don't want to end up with .txt on the end).

If you're not sure it worked, you could also do the next option.

Hiding Session History Files

This is less convenient if you want to restore some of your tabs, but if you don't care, you may prefer this.

  • Right-click the sessionstore-backups folder and rename it to sessionstore-backupsOLD (later you can mine the files in this folder for any important tabs you want to restore)
  • Check for any files with these names and:
    • sessionstore.jsonlz4 - created by Firefox 56-63 when it shuts down normally - rename to OLDsessionstore.jsonlz4
    • sessionstore.js - created by Firefox 55 and earlier when it shuts down normally - rename to OLDsessionstore.js
    • sessionstore.bak - obsolete file from years ago - delete

When you start Firefox up again, it should just show the home page.

Success?

If you need to read the contents of any of those hidden files, you can use this tool on my websites to extract out a list of the tabs:

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

Sorry, it's really annoying when this happens. I don't think there is a handy bypass, but you have two options: To avoid an '''unwanted session recovery''', you could either modify a settings file or hide your session history files from Firefox so that it can't restore the unwanted page at the next startup. Here's how: '''Step #1: Open the profile folder''' ''Windows'' Type or paste the following into the Windows Run dialog or the system search box, and press Enter to launch Windows Explorer into this folder: %APPDATA%\Mozilla\Firefox\Profiles You should see at least one semi-randomly-named profile folder there. (If you see more than one, you'll want to figure out which one has the unwanted session history in it by checking each one.) Double-click into the profile folder. ''Mac or Linux'' Your Firefox profile folder would be accessible in a different way than on Windows. Please see these articles for information on how to locate it: * [[Profiles - Where Firefox stores your bookmarks, passwords and other user data]] * http://kb.mozillazine.org/Profile_folder_-_Firefox '''Step #2: Your Choice of...''' '''''Modifying a Settings File''''' At startup, Firefox will check whether to restore tabs automatically or show you a list so you can make your own selections. In the most recent versions of Firefox, you may need to click a button to see the list. In your profile folder, locate the file named '''prefs.js''' and open it in a text editor -- if you are running Windows, make sure to right-click > Edit or right-click > Open With to avoid executing the script. ''By default, Windows hides the .js extension, so to make sure it's the right file, you may want to set Windows to show all extensions. See:'' https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/ Paste this on a new line at the end and save the change: user_pref("browser.sessionstore.max_resumed_crashes", 0); When you save, make sure to avoid adding any formatting (save using a plain text format) or changing the file name (you don't want to end up with .txt on the end). If you're not sure it worked, you could also do the next option. '''''Hiding Session History Files''''' This is less convenient if you want to restore some of your tabs, but if you don't care, you may prefer this. * Right-click the '''sessionstore-backups''' folder and rename it to sessionstore-backupsOLD (later you can mine the files in this folder for any important tabs you want to restore) * Check for any files with these names and: ** sessionstore.jsonlz4 - created by Firefox 56-63 when it shuts down normally - rename to OLDsessionstore.jsonlz4 ** sessionstore.js - created by Firefox 55 and earlier when it shuts down normally - rename to OLDsessionstore.js ** sessionstore.bak - obsolete file from years ago - delete When you start Firefox up again, it should just show the home page. Success? If you need to read the contents of any of those hidden files, you can use this tool on my websites to extract out a list of the tabs: https://www.jeffersonscher.com/ffu/scrounger.html