Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

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

详细了解

Browser close without warning

  • 5 个回答
  • 1 人有此问题
  • 52 次查看
  • 最后回复者为 AliceWyman

more options

By closing the browser he quite without a warning, despite I checked the "warn when browser is closing" box checked box in picture (german installation)

By closing the browser he quite without a warning, despite I checked the "warn when browser is closing" box checked box in picture (german installation)
已附加屏幕截图

被采纳的解决方案

Reinstalling Firefox won't help. Firefox closes without warning by default, when you close the last tab. The check box to warn you when quitting the browser in the Firefox General panel under Startup is for when "Restore previous session" is enabled, to warn you when closing Firefox with multiple tabs open.

You should go to about:config and reset the browser.tabs.warnOnClose preference back to true (the default setting) so you are warned when closing Firefox with multiple tabs open if you later disable the "Restore previous session" Startup option.

You can try this solution, from https://support.mozilla.org/en-US/questions/1205166#answer-1077652

In about:config, find the preference browser.tabs.closeWindowWithLastTab and set it to false.

I tested in Firefox 77 on Windows 7 by setting this preference to false. When I tried to close the last tab, Firefox opened the New Tab page. To close Firefox, I had to use the X at the top of the window or go to the Firefox 3-bar menu and click Exit.

定位到答案原位置 👍 0

所有回复 (5)

more options

Please ignore foxhelp221's post and don't call that number   -   it's a scam !

more options

Hello,

You may have seen a post or received a notification regarding support for Firefox or Thunderbird with a link to another site or a phone number being posted. This is a scam and is not a method to receive support from Mozilla. Mozilla does not have telephone or email support. Please do not click on the link and do not interact by calling any phone numbers or email addresses listed. I apologize for any inconvenience caused. You are currently posting on the official Mozilla website and will receive assistance here.

more options

Hello,

Type about:config<enter> in the address bar. If a warning screen comes up, press the Accept the risk and Continue button. At the top of the screen is a search bar. Type browser.tabs.warnOnClose and set it to true.

Hope it helps. Thank You.

more options

@ Shashank Shekhar I set the browser.tabs.warnOnClose option from false to true, but it doesnt work. So I think I have to reinstall th browser to solf the problem

more options

选择的解决方案

Reinstalling Firefox won't help. Firefox closes without warning by default, when you close the last tab. The check box to warn you when quitting the browser in the Firefox General panel under Startup is for when "Restore previous session" is enabled, to warn you when closing Firefox with multiple tabs open.

You should go to about:config and reset the browser.tabs.warnOnClose preference back to true (the default setting) so you are warned when closing Firefox with multiple tabs open if you later disable the "Restore previous session" Startup option.

You can try this solution, from https://support.mozilla.org/en-US/questions/1205166#answer-1077652

In about:config, find the preference browser.tabs.closeWindowWithLastTab and set it to false.

I tested in Firefox 77 on Windows 7 by setting this preference to false. When I tried to close the last tab, Firefox opened the New Tab page. To close Firefox, I had to use the X at the top of the window or go to the Firefox 3-bar menu and click Exit.