We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

saving tabs on quit

  • 4 svar
  • 1 har dette problemet
  • 1 view
  • Siste svar av Eiyame

more options

I am SICK of firefox. It keeps saving my bloody tabs every time I close.

What I have tried.

Check Start Up Options: Open to home page (Google) Restart PC Restart FF Reinstall FF Reset FF Deleting user.js (can't find it)

I am at a loss of what to do. I am at my wits end with this.

I am SICK of firefox. It keeps saving my bloody tabs every time I close. What I have tried. Check Start Up Options: Open to home page (Google) Restart PC Restart FF Reinstall FF Reset FF Deleting user.js (can't find it) I am at a loss of what to do. I am at my wits end with this.

Valgt løsning

Your user.js file would be in your profile folder. You can check for it this way:

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. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then scroll down and rename user.js to something like userjs.old.

By default, Windows hides the .js file extension, so you may see a file named user of type JScript, which is the user.js file. I suggest forcing Windows to show ALL file extension to make it easier to manage file renaming. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-7

Start Firefox back up again. Do you get your home page as expected?

Les dette svaret i sammenhengen 👍 2

All Replies (4)

more options

Valgt løsning

Your user.js file would be in your profile folder. You can check for it this way:

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. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then scroll down and rename user.js to something like userjs.old.

By default, Windows hides the .js file extension, so you may see a file named user of type JScript, which is the user.js file. I suggest forcing Windows to show ALL file extension to make it easier to manage file renaming. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-7

Start Firefox back up again. Do you get your home page as expected?

more options

Three other notes:

(1) The user.js file should not be recreated immediately after you use the Refresh (Reset) feature. Some other program on your computer would have created that. But what program? Hmm... have you noticed any other modified settings that might point toward a particular culprit?

(2) It is normal for Firefox to save your tabs so you can restore your previous session on demand, even if you prefer to start up with your home page. But you should be in control of this.

(3) Firefox will try to restore your previous session after a crash. Maybe Firefox crashing during shutdown? Using the menu to exit (as described in the earlier reply) can help with this problem; there are many more shutdown crashes using the "red X" button than the menu.

You also can change a setting so that instead of automatically restoring the session after a crash, Firefox presents a screen with a list of your windows and tabs and gives you the option to restore them or just start a new session. Changing this setting would be helpful in diagnosing whether your session is being restored due to crash recovery or some kind of settings override. If you want to try it, here's how:

(A) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste sess and pause while the list is filtered

(C) Double-click the browser.sessionstore.max_resumed_crashes preference and change the value from 1 to 0 and OK that.

Note: Please don't change any other sessionstore preferences without researching them first.

more options

Can you post the content of the user.js file?

You can use this button to go to the currently used Firefox profile folder:

Windows hides some file extensions by default. Among them are .html and .ini and .js and .txt, so you may only see file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.

more options

Thanks jscher2000 someone finally was able to explain where and what I was looking for in detail. It looks like that might have fixed my problem.