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!

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
  • 67 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.