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

搜尋 Mozilla 技術支援網站

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

了解更多

how do i close a single window without closing firefox?

  • 4 回覆
  • 11 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Firefox is now allowing me to close a single tab, but I want to close all the tabs in a single window, without exiting firefox. (I would also want to restore my other sessions, but not this window.) You no longer have the option "close window" that I can find.

Firefox is now allowing me to close a single tab, but I want to close all the tabs in a single window, without exiting firefox. (I would also want to restore my other sessions, but not this window.) You no longer have the option "close window" that I can find.

所有回覆 (4)

more options

I read about this in another thread. The Close Window menu item does not appear if you click the File menu with the mouse, but it does appear if you call it up using Alt+f. I don't know why...

more options

Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.
You can use the Filter bar at to top of the about:config page to locate a pref more easily.

more options

I spent the last hour in frustration trying to figure why closing one FF window closes them all - googled various searches until finally reached this page - thank you jscher2000 for pointing the answer - would anyone care to comment why opening the file menu via the mouse does not show the 'close window' menu item? seem to me like a bug.

more options

It is not a bug, but a new feature.

Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825). You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.


  • bug 626825 - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)

(please do not comment in bug reports; you can vote instead)

See also: