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!

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

how to make firefox's last tab can't be closed

  • 3 پاسخ
  • 2 have this problem
  • 1 view
  • آخرین پاسخ توسّط cor-el

more options

i hope the v34 browser's function that last tab can't be closed like the version before,please tell how to configure it.

i hope the v34 browser's function that last tab can't be closed like the version before,please tell how to configure it.

All Replies (3)

more options

If you mean you don't want Firefox to close when the last tab of a window is closed;

Type about:config<Enter> in the address bar. If a warning screen comes up, press the Be Careful button. This is where Firefox finds information it needs to run. At the top of the screen is a search bar.

Type browser.tabs.closeWindowWithLastTab and set its value to False.

Edited wrong value. Sorry  :-/

Modified by FredMcD

more options

i mean,if there's only one tab left in a browser window,i hope the close button(X) on the tab could be invisible,just like the version before.

more options

If browser.tabs.closeWindowWithLastTab is the default True then you do not see the close X on the tab is only one tab is left.

You can look at the Classic Theme Restorer extension to customize Firefox.

  • You can check out the settings of the CTR extension via its Options/Preferences button on the "Firefox/Tools > Add-ons > Extensions" page.
  • You can find extra toolbar buttons and more toolbar settings in Customize (3-bar Firefox menu button > Customize)