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!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to also restore all firefox windows when starting firefox.

more options

Is it possible to restore, multiple windows filled with tabs instead of just the previous tabs? This would be really useful for me as I like to have one window open for work-related things and another one for reddit, youtube and the likes. On this page https://support.mozilla.org/en-US/kb/restore-previous-session it says firefox can restore previous windows and tabs, but that seems to be only when firefox crashes.

Is it possible to restore, multiple windows filled with tabs instead of just the previous tabs? This would be really useful for me as I like to have one window open for work-related things and another one for reddit, youtube and the likes. On this page https://support.mozilla.org/en-US/kb/restore-previous-session it says firefox can restore previous windows and tabs, but that seems to be only when firefox crashes.

被選擇的解決方法

Normally, windows will be re-opened automatically if they were "open" at the time you exited out of Firefox, and the last three "closed" windows will be listed on the History menu so you can open them manually. If you go to the History menu right now, are there any closed windows you can restore from your previous session?


To give Firefox the best chance of recognizing the windows you have open at shutdown, exit Firefox using the menu, either:

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

Then Firefox will treat all windows open as of that time as open.

However, if you have Windows close Firefox by using the "red X" button on the title bar or right-clicking Firefox on the Task Bar and using "Close All Windows" or by simply shutting down Windows, then Windows will exit Firefox by sending sequential close window commands, and that could cause this issue.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Normally, windows will be re-opened automatically if they were "open" at the time you exited out of Firefox, and the last three "closed" windows will be listed on the History menu so you can open them manually. If you go to the History menu right now, are there any closed windows you can restore from your previous session?


To give Firefox the best chance of recognizing the windows you have open at shutdown, exit Firefox using the menu, either:

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

Then Firefox will treat all windows open as of that time as open.

However, if you have Windows close Firefox by using the "red X" button on the title bar or right-clicking Firefox on the Task Bar and using "Close All Windows" or by simply shutting down Windows, then Windows will exit Firefox by sending sequential close window commands, and that could cause this issue.

more options

The number "3" for closed windows to remember between sessions can be increased or decreased. To make sure it hasn't been reduced to zero, you can check here:

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

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

(3) The browser.sessionstore.max_windows_undo preference controls the number of windows you can re-open after closing them. To set a different value, double-click the preference and enter your preferred number of windows (I use 10) and click OK to save it.

As you might guess, the browser.sessionstore.max_tabs_undo preference controls the number of closed tabs you can re-open in each window.

Please be careful editing session-related settings, as you could break the feature if you don't research (or ask about) preferences before making changes.