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

搜索 | 用户支持

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

详细了解

Exit browser warning disappeared

  • 9 个回答
  • 1 人有此问题
  • 23 次查看
  • 最后回复者为 tonyt187

more options

Hello,

I have noticed over the past couple of months that if I accidentally click the big red x in the top-right corner of the Firefox browser, that all of my currently open tabs then close and disappear without any warning.

Firefox used to display a warning dialogue box stating "Warning - you are about to exit Firefox and xx amount of tabs will be closed. Are you sure you want to proceed?"

But recently this warning has been removed and multiple times now I have lost all of my tabs/online work after accidentally clicking the exit button.

Could you kindly re-instate this warning dialogue box because it was extremely useful?

Thanks very much for your help, Tony

Hello, I have noticed over the past couple of months that if I accidentally click the big red x in the top-right corner of the Firefox browser, that all of my currently open tabs then close and disappear without any warning. Firefox used to display a warning dialogue box stating "Warning - you are about to exit Firefox and xx amount of tabs will be closed. Are you sure you want to proceed?" But recently this warning has been removed and multiple times now I have lost all of my tabs/online work after accidentally clicking the exit button. Could you kindly re-instate this warning dialogue box because it was extremely useful? Thanks very much for your help, Tony

被采纳的解决方案

Note that you can control this via "Settings -> General -> Tabs: Confirm before closing multiple tabs".

Best is to use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have multiple windows open to prevent losing tabs in unnoticed windows (only the last closed window is restored).

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
定位到答案原位置 👍 1

所有回复 (9)

more options

I think these are the right settings; Type about:config<enter> in the address box. If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar.

browser.tabs.warnOnClose = True browser.tabs.closeWindowWithLastTab = False

more options

Thanks Fred. I just changed my settings and tested it and the warning appears again. Cheers.

more options

I would also check your settings so that if you close the browser, your session should return when you open it.

more options

Glad to help. Safe Surfing.

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution.

Thank you for contacting Mozilla Support.

more options

选择的解决方案

Note that you can control this via "Settings -> General -> Tabs: Confirm before closing multiple tabs".

Best is to use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have multiple windows open to prevent losing tabs in unnoticed windows (only the last closed window is restored).

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
more options

WARNING: Changing preferences through about:config not officially supported Hidden settings edited using the about:config tool are explicitly not supported, which means that Mozilla makes no guarantees they will be supported in the future, or that Mozilla will fix them if they break. Mozilla does not test these preferences. That includes security and performance testing which these preferences may affect.

Tony, please use the instructions provided by jonzn4SUSE

more options

This was a change that took place in Firefox version 94. If you want to see a warning when closing a window with multiple tabs, there is no need to use about:config - you can change your Firefox settings as follows:

Go to the Firefox menu Fx89menuButton, click on Settings and, in the General panel Tabs section, select the option, Confirm before closing multiple tabs.

Fx94settingsTabs-Win

See Tab preferences and settings and How to configure Close Tab warnings in Firefox for details.

more options

Thanks for your help everyone. I have now used the settings option to select the multiple tabs closure warning. Cheers.