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!

搜索 | 用户支持

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

详细了解

How can I prevent Firefox from closing if I use the red 'X' even if I only have 1 tab open?

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I wish Firefox to warn me if I accidentally click on the red 'X' at the top right corner instead of using the File, Exit route. I know there's a setting to warn me if I have multiple tabs open, but I want this same option even if I only have 1 tab open.

I wish Firefox to warn me if I accidentally click on the red 'X' at the top right corner instead of using the File, Exit route. I know there's a setting to warn me if I have multiple tabs open, but I want this same option even if I only have 1 tab open.

所有回复 (3)

more options

You can set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page. Then you can close all tabs with the close button on the Tab Bar or middle-click on a tab to close an individual tab.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Note that it is usually better to close Firefox via the Quit item in the File menu ore the power button aat the bottom of the "3-bar" Firefox menu button drop-down list. Then you close all open windows at the same time.

由cor-el于修改

more options

You must have a different version than me (I have version 31). My version doesn't have a '3 bar' Firefox menu drop-down list or a Quit item. The only 2 ways I can close Firefox is either using the File tab, then choosing Exit OR clicking on the red 'X' at the top right.

more options
It is this button: Close 29 that is positioned at the bottom right in this screenshot.

See: New Menu - Win8