為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 3 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

所有回覆 (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  :-/

由 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)