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!

Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

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

  • 3 одговорa
  • 1 има овај проблем
  • 10 прегледа
  • Последњи одговор послао 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?

Сви одговори (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.