为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

how do i close a single window without closing firefox?

  • 4 个回答
  • 11 人有此问题
  • 21 次查看
  • 最后回复者为 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: