搜尋 Mozilla 技術支援網站

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

了解更多

Is there a way to set Firefox to not open the last tab open when Firefox itself is quit by pressing the *close tab* button on it?

  • 3 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 zmarffy

more options

I understand what session restore is and how it works. However, if I close the last tab open on Firefox, Firefox quits as expected, but the next time it is opened, the tab that was closed reloads. I understand that this should be the case if Firefox itself, not the tab, was closed with the X button, but I do not think this should be the case if a final tab is closed. Am I missing something here?

I understand what session restore is and how it works. However, if I close the last tab open on Firefox, Firefox quits as expected, but the next time it is opened, the tab that was closed reloads. I understand that this should be the case if Firefox itself, not the tab, was closed with the X button, but I do not think this should be the case if a final tab is closed. Am I missing something here?

由 zmarffy 於 修改

所有回覆 (3)

more options

EDIT: I can't spell; I know. Sorry. EDIT: I realized I can edit questions, but I can't delete this.

由 zmarffy 於 修改

more options

What is the startup setting?

  • Tools > Options > General > Startup: "When Firefox starts":
    "Show my windows and tabs from last time"
    "Show my home page"
    "Show a blank page"

You can set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open and to make it possible to close that tab.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options
What is the startup setting?
  • Tools > Options > General > Startup: "When Firefox starts":
    "Show my windows and tabs from last time"
    "Show my home page"
    "Show a blank page"

"Show my windows and tabs from last time." Because that's exactly what I want it to do. Just not when I close the last tab by the close tab button.

You can set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open and to make it possible to close that tab.

Just did that. That's pretty nice and an alternative, but not exactly the answer.