Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Whenever I open up Firefox, it restores my previous session without being prompted.

  • 2 отговора
  • 2 имат този проблем
  • 1 изглед
  • Последен отговор от cor-el

more options

I have the settings set so that when I start Firefox it should go to my homepage, which is just the Mozilla Firefox start page. Despite that option being set, it still restores my previous session every time I open Firefox.

I have the settings set so that when I start Firefox it should go to my homepage, which is just the Mozilla Firefox start page. Despite that option being set, it still restores my previous session every time I open Firefox.

Избрано решение

One possible reason for this is an instruction in a user.js file. Firefox checks for a user.js file at startup, and it will override your own preferences. This article describes how to check for this possible problem: How to fix preferences that won't save.

Another possible reason is if Firefox is not shutting down cleanly, and is always recovering from a perceived crash. To see whether this is the issue, you can change what Firefox does after a crash so that instead of automatically showing previous session tabs, it shows you a list of tabs. 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 enter 0 (that's a zero) and click OK.

The next time Firefox starts if you get the screen saying "this is embarrassing" and showing a list of your last session tabs, then the problem is that Firefox is crashing during shutdown.

Does any of that help with your startups?

Прочетете този отговор в контекста 👍 1

Всички отговори (2)

more options

Избрано решение

One possible reason for this is an instruction in a user.js file. Firefox checks for a user.js file at startup, and it will override your own preferences. This article describes how to check for this possible problem: How to fix preferences that won't save.

Another possible reason is if Firefox is not shutting down cleanly, and is always recovering from a perceived crash. To see whether this is the issue, you can change what Firefox does after a crash so that instead of automatically showing previous session tabs, it shows you a list of tabs. 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 enter 0 (that's a zero) and click OK.

The next time Firefox starts if you get the screen saying "this is embarrassing" and showing a list of your last session tabs, then the problem is that Firefox is crashing during shutdown.

Does any of that help with your startups?

more options

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

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

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)