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!

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

搜索 | 用户支持

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

详细了解

Is there a way to get firefox to warn me when exiting with multiple windows open?

  • 2 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 soundwave

more options

When I click File > Exit in the menu, I want firefox to warn me if I have multiple windows open.

I don't want it to warn me about multiple tabs though.

Is there a way to get it to do that?

I would prefer to just hit the red X in the top right corner, which would avoid this problem, However, if it is the only firefox window I have open, then the red X will often not properly shut down firefox exe, so next time I try to launch firefox it won't work and I have to end task on firefox exe! I was told to use File Exit to improve the chances that firefox will properly close, but doing so introduces this new issue.

thanks

When I click File > Exit in the menu, I want firefox to warn me if I have multiple windows open. I don't want it to warn me about multiple tabs though. Is there a way to get it to do that? I would prefer to just hit the red X in the top right corner, which would avoid this problem, However, if it is the only firefox window I have open, then the red X will often not properly shut down firefox exe, so next time I try to launch firefox it won't work and I have to end task on firefox exe! I was told to use File Exit to improve the chances that firefox will properly close, but doing so introduces this new issue. thanks

所有回复 (2)

more options

In order to change your Firefox Configuration please do the following steps :

  1. In the Location bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear.
  2. Click I'll be careful, I promise! to continue to the about:config page.
  3. browser.showQuitwarning needs to be set to true.
more options

That doesn't work.

Once I set it to true, if I have one window open with multiple tabs, and try to exit, it comes up with a warning box, which I don't want.

Then if I check it to say 'don't show this again', the next time I run firefox the showQuitwarning setting has been set back to false. So then when I have multiple windows open and I file exit, all firefox shuts down with no warning.

-- The reason I want this is because I can *see* the tabs of the window I am in when I am clicking on file|exit, so visually, I'm not going to close anything that I didn't mean to close because it's right there visible to me at the top of the screen (the tabs are seen at the top of the screen) in the same area as where I am looking at and clicking File Exit.

But other firefox windows are not visible up there so it is easy to forget that they are open, since a lot of times I don't have any other windows open (if I *always* had other windows open then I would not forget them and be in more of a practice of checking the taskbar for them)

And this is all because I can't hit the red X in the top right corner without increasing the odds of hung firefox processes that don't truly exit (thus making me unable to start another session later without Ending Task which isn't good).

The hanging is daily but random and not reproducible, so it's very difficult to troubleshoot or fix.

由soundwave于修改