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

搜索 | 用户支持

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

详细了解

When forced to close then restart, FF reopens the offending “poison” site

  • 5 个回答
  • 1 人有此问题
  • 10 次查看
  • 最后回复者为 Dave McKeen

more options

Once in a while when browsing unfamiliar Web sites I will try to close a page and get a dialog box that asks me to confirm that I want to leave the page. When I confirm I find myself in another page presenting the same dialog. Then I’m in a vicious cycle. I have to get into Windows Task Manager and force Firefox to close.

That is a problem I would like to know how to avoid. Like prevent the offending dlg from displaying at all.

However the bigger problem is when I restart Firefox it reloads the offending pages putting me right back into the endless cycle. Somehow I have been able to break the cycle bout would prefer FF to not reload pages after having been forced to shut down. Is it possible to prevent this from occurring?

In Tools > Options > General I have “When Firefox starts” set to “Show my home page”, which it does after a normal shutdown.

I am using FF 16.0.2 with Windows 7 Home Premium 64 bit, nVidia GeForce GTS 450 with driver GeForce 306.97 - WHQL

Thanks

Once in a while when browsing unfamiliar Web sites I will try to close a page and get a dialog box that asks me to confirm that I want to leave the page. When I confirm I find myself in another page presenting the same dialog. Then I’m in a vicious cycle. I have to get into Windows Task Manager and force Firefox to close. That is a problem I would like to know how to avoid. Like prevent the offending dlg from displaying at all. However the bigger problem is when I restart Firefox it reloads the offending pages putting me right back into the endless cycle. Somehow I have been able to break the cycle bout would prefer FF to not reload pages after having been forced to shut down. Is it possible to prevent this from occurring? In Tools > Options > General I have “When Firefox starts” set to “Show my home page”, which it does after a normal shutdown. I am using FF 16.0.2 with Windows 7 Home Premium 64 bit, nVidia GeForce GTS 450 with driver GeForce 306.97 - WHQL Thanks

所有回复 (5)

more options

The reason the page is re-opening after you close Firefox is because by using the Task manager you are essentially crashing Firefox. By doing this, Firefox will on the first crash, try to restore all your tabs and windows. After the second crash however, Firefox will ask you what tabs you want to restore or if you want to start a new session.

more options

So unfortunately, what you are saying is: - A remote site can open a model dialog and take over Firefox. - If we use task manager to crash Firefox, we have to do it twice to get out of the remote site's control.

Is there a clean way to get out of the remote site's control without crashing Firefox?

more options

Thanks TD. My next question was going to be what RBM asked. And also... is there a way to suppress the dialog asking to confirm I want to leave the page?

more options

Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See:

more options

Thanks cor-el. I set browser.sessionstore.max_resumed_crashes to 0 but have not tested it yet. It would be great to have this toggle in Options > Advanced or in the security section of Options. It is a security concern.

My greater wish is to have a panic button in Firefox I can hit to kill a session immediately. Is it there and I'm not seeing it? Or would it be a worthy item to find its way to the wish list?

Any way to defeat the "Are you sure you want to leave this page" dialog?