This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Good day! How to make sure that the last tab does not close the program? Thank You!

  • 1 reply
  • 4 have this problem
  • 142 views
  • Last reply by James

more options

How to make sure that the last tab does not close the program? Is it possible to make that when you close the last tab opened home page?

How to make sure that the last tab does not close the program? Is it possible to make that when you close the last tab opened home page?

Chosen solution

in Firefox type about:config in the Location (address) bar where you would normally type say www.example.com

In the Filter box on top type in browser.tabs. and in that list should be a Preference with name of browser.tabs.closeWindowWithLastTab

Double-left-click or right-click and Toggle this Preference to have value of false.

http://kb.mozillazine.org/About:config_entries#Browser. browser.tabs.closeWindowWithLastTab Boolean (Firefox 3.5 and above) This preference controls whether closing the last tab, closes the window. True: Close window when closing last tab (default) False: Do not close the window when closing last tab (pre Firefox 3.5 behavior) Note: Changing to False prevents Firefox from closing the window when you close the last tab such as with Ctrl+W, and subsequently from closing Firefox itself when closing the last tab of the last Firefox window.

Read this answer in context 👍 3

All Replies (1)

more options

Chosen Solution

in Firefox type about:config in the Location (address) bar where you would normally type say www.example.com

In the Filter box on top type in browser.tabs. and in that list should be a Preference with name of browser.tabs.closeWindowWithLastTab

Double-left-click or right-click and Toggle this Preference to have value of false.

http://kb.mozillazine.org/About:config_entries#Browser. browser.tabs.closeWindowWithLastTab Boolean (Firefox 3.5 and above) This preference controls whether closing the last tab, closes the window. True: Close window when closing last tab (default) False: Do not close the window when closing last tab (pre Firefox 3.5 behavior) Note: Changing to False prevents Firefox from closing the window when you close the last tab such as with Ctrl+W, and subsequently from closing Firefox itself when closing the last tab of the last Firefox window.