Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Firefox keeps restoring my tabs even though restore previous session is off

  • 3 antwoorden
  • 1 heeft dit probleem
  • 10 weergaven
  • Laatste antwoord van cor-el

more options

Today, whenever I close Firefox and then restart it, it brings up the tabs I had open last time before I closed it instead of my home page. I checked my settings and "Restore previous session" is turned off. How do I make it stop doing this and why isn't turning it off in settings working?

Today, whenever I close Firefox and then restart it, it brings up the tabs I had open last time before I closed it instead of my home page. I checked my settings and "Restore previous session" is turned off. How do I make it stop doing this and why isn't turning it off in settings working?

Alle antwoorden (3)

more options

You can check if you have a user.js file in the Firefox profile folder that sets browser.sessionstore.resume_session_once to true.

  • browser.sessionstore.resume_session_once

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.


It is also possible that Firefox isn't closing properly. Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
more options

I tried using the 3 bar menu to Exit, but it still brings back the same tabs when I start it up. Is there a way I can change this setting without having to go in an edit files?

It also seems to be only doing this on one computer. My other computer opens and closes Firefox normally.

more options

Your attached troubleshooting information shows that you have a user.js file:

  • UserJS.exists: TRUE

So you will have to go to the profile folder and remove this user.js file.


Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file will only be present if you or other software has created this file and normally won't be present.

You can check its content with a text editor (right-click: "Open with"; do not double-click). The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.