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

搜尋 Mozilla 技術支援網站

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

了解更多

Old tab still reopen after closing all tabs

  • 2 回覆
  • 4 有這個問題
  • 4 次檢視
  • 最近回覆由 Cardin

more options

When I close all the tabs in Firefox, Firefox exits. This is expected.

What is not expected, is when I launch Firefox again, my most recently closed Tab is still there! How do I avoid my most recently closed Tab from appearing! I have closed it, therefore it shouldn't appear.

I have set Firefox to "Show Your Windows and Tabs from Last Time", but this is not the behaviour I would expect. It should only show me Tabs that were still open when I last closed Firefox.

When I close all the tabs in Firefox, Firefox exits. This is expected. What is not expected, is when I launch Firefox again, my most recently closed Tab is still there! How do I avoid my most recently closed Tab from appearing! I have closed it, therefore it shouldn't appear. I have set Firefox to "Show Your Windows and Tabs from Last Time", but this is not the behaviour I would expect. It should only show me Tabs that were still open when I last closed Firefox.

被選擇的解決方法

To get your desired behavior you can try a workaround:

  1. Type in about:config in the address bar and press enter.
  2. Bypass the warning (if shown).
  3. Find the entry "browser.tabs.closeWindowWithLastTab" using the search box and set its value to false.

What it does is, it prevents the window from closing with the last tab. You'll have to close the window separately (one extra click). But there won't be any tab left to remember for the next browser launch.

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

所有回覆 (2)

more options

選擇的解決方法

To get your desired behavior you can try a workaround:

  1. Type in about:config in the address bar and press enter.
  2. Bypass the warning (if shown).
  3. Find the entry "browser.tabs.closeWindowWithLastTab" using the search box and set its value to false.

What it does is, it prevents the window from closing with the last tab. You'll have to close the window separately (one extra click). But there won't be any tab left to remember for the next browser launch.

more options

Awesome!

Regarding the additional click to close tab - it's okay, I use keyboard shortcuts, so it's still pretty speedy.

I do hope Firefox improves this behaviour someday though.