Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
Open

Can malicious sites (like onlineghostaccount.com) be trapped so they don't lock up Firefox

skault

My wife recently ended up on a malicious site (onlineghostaccount.com) that appeared to cause Firefox to lock up. I think it trapped Firefox in an endless loop, because it wasn't even possible to close the tab or change to a different one. The only thing Firefox would respond to is a button on the malicious page that would take her to a scammer claiming to be Apple support. Fortunately, she didn't fall for it, but Firefox was rendered unusable for her until I could help her fix the problem. The quick fix to get Firefox operational again by closing Firefox, shutting off network access, and then re-launching Firefox so the malicious page can't load works, but is not helpful to non-technical people like my wife, because she doesn't understand what's happening or what to do about it.

My question is: Is there any way that Firefox could detect this type of "endless loop" behavior before the page loads, prevent it from loading, and popping a warning to the user?

Thanks! S.K.Ault

My wife recently ended up on a malicious site (onlineghostaccount.com) that appeared to cause Firefox to lock up. I think it trapped Firefox in an endless loop, because it wasn't even possible to close the tab or change to a different one. The only thing Firefox would respond to is a button on the malicious page that would take her to a scammer claiming to be Apple support. Fortunately, she didn't fall for it, but Firefox was rendered unusable for her until I could help her fix the problem. The quick fix to get Firefox operational again by closing Firefox, shutting off network access, and then re-launching Firefox so the malicious page can't load works, but is not helpful to non-technical people like my wife, because she doesn't understand what's happening or what to do about it. My question is: Is there any way that Firefox could detect this type of "endless loop" behavior before the page loads, prevent it from loading, and popping a warning to the user? Thanks! S.K.Ault

所有回复 (2)

You can block these sites using Firefox's parental control or extensions: https://support.mozilla.org/en-US/kb/block-and-unblock-websites-parental-controls-firef

No, the state of the document doesn't know anything about what will happen next (e.g. if a site redirects to itself again to trigger the dialog over and over from a fresh paint in an attempt to circumvent spammy prompt countermeasures) — the UI will need to become custom, non–modal, non–blocking, and add some more options to e.g. strip the origin of permissions to raise any further dialogs. There's some cases being collected at github.com/mozilla-mobile/firefox-ios/issues/34786 to help understand what a good solution to it ought to be.

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题。