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!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

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 amsoshi
  • 1 yana da wannan matsala
  • 1 view
  • Amsa ta ƙarshe daga 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?

An gyara daga zmarffy

All Replies (3)

more options

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

An gyara daga 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.