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

搜索 | 用户支持

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

详细了解

Prevent Hostile Popup / Hijacking

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

more options

Every now and then I come across a website that will open a dialog, prompting user action, while keeping the user trapped on the site. Closing the tab or the browser is prevented. As none of the sites I frequent need this function, I'd like to know if it is possible to deactivate this function.

Here's an example of such a hostile website: manualupdatenotification.com

Every now and then I come across a website that will open a dialog, prompting user action, while keeping the user trapped on the site. Closing the tab or the browser is prevented. As none of the sites I frequent need this function, I'd like to know if it is possible to deactivate this function. Here's an example of such a hostile website: manualupdatenotification.com

所有回复 (10)

more options

Use AdBlockPlus to block most pop-ups. Alternatively, if you know the URL of these websites, open C:\Windows\System32\Drivers\etc\hosts (or /etc/hosts, in UNIX/Linux) and add a new entry, matching those websites to 127.0.0.1, so they can't be accessed.

The entry would look like this: 127.0.0.1 www.manualupdatenotification.com

由mattcamp于修改

more options

Thank you for your reply. AdBlockPlus is already installed on my system, but it will not prevent this issue. Manually adding URLs to reroute them to localhost seems like an option, but only works after the attack has occured. Is there on other way from preventing this? Allowing a website to block the entire browser, locking the user in a loop, seems like something that should be prevented.

more options

I found this add-on.

I never used it specifically, but it should address your issue.

more options

mattcamp said

I found this add-on. I never used it specifically, but it should address your issue.

Thank you very much for you reply. It seems to be a usefull tool, but does not solve my problem. The sites I'm refering to, completely lock all access to anything within the browser. You can't close the tab, you can't close the browser, neither right-click or access any menu options. Adding the site to the blacklist of the recommended plugin requires right-clicking. Even closing FF via the task manager, will have the tab open when FF restarts. When you disable restoring tabs, one no longer has the URL to add to the blocker.

I'm not sure if I explained this well enough, but these hostile sites open what seems to be a windows dialog, completely disabling any of the browsers functions. The only way I found to manage this, is to write down the URL and add it to the list of blocked sites, in this case of my antivirus software. Depending on how complex the URL is, this can be a real pain.

The only soloution I'm aware of is disabling Java-Script - but so many sites and services still rely on JS.

Here's an artcle on the matter by ZDnet: 'Modal Dialogs"

由monokoi于修改

more options

Please follow  : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware and https://www.malwarebytes.com/adwcleaner/ and https://forums.malwarebytes.com/topic/9573-im-infected-what-do-i-do-now/

Would it not be best to do a whois lookup and report the sites also. Put the sites into your firewall also.

If you run the Trial of Malwarebytes am sure you will buy it to run alongside your A/V & Firewall. Has saved my butt many a time.

Note: there is a Firefox blocker on slow release being tested by some. As to how good or other info no idea. Only know how to remove it due to issues.

Note : there will never be 1 program to solve all the ills out there, will have to use multiple.

Suggest also Having Site ask your permission to use java first. Though that just means they will move to a script so there is no win or silver bullet.

Please let us know if this solved your issue or if need further assistance.

由Shadow110于修改

more options

monokoi said

Every now and then I come across a website that will open a dialog, prompting user action, while keeping the user trapped on the site. Closing the tab or the browser is prevented.

Could you be a bit more specific about this 'user action'  ? Are you told to call a phone number  ? Do you get an 'authentication request'  ?

more options

Pkshadow said

Please follow  : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware and https://www.malwarebytes.com/adwcleaner/ and https://forums.malwarebytes.com/topic/9573-im-infected-what-do-i-do-now/ Would it not be best to do a whois lookup and report the sites also. Put the sites into your firewall also. If you run the Trial of Malwarebytes am sure you will buy it to run alongside your A/V & Firewall. Has saved my butt many a time. Note: there is a Firefox blocker on slow release being tested by some. As to how good or other info no idea. Only know how to remove it due to issues. Note : there will never be 1 program to solve all the ills out there, will have to use multiple. Suggest also Having Site ask your permission to use java first. Though that just means they will move to a script so there is no win or silver bullet. Please let us know if this solved your issue or if need further assistance.

Thank you for your reply. An infection is not my issue and FF runs fine. I agree Malwarebytes is a good tool for users that have allowed malware to be installed on their system.

Running a WhoIs query will most likely yield suboptimal results, I don't expect them to register their URL properly. A Whois query for the site mentioned above returns a registar on the Bahamas. (Internet Domain Service BS Corp) After a bit of research, it seems many spammers, torrent sites and malware distributors use their service. I'll give them notice and see what comes of it.

Having sites ask for JS permission could be a temporary soloution. Is this a setting within the options of FF (about:config)?

Happy112 said

monokoi said
Every now and then I come across a website that will open a dialog, prompting user action, while keeping the user trapped on the site. Closing the tab or the browser is prevented.

Could you be a bit more specific about this 'user action'  ? Are you told to call a phone number  ? Do you get an 'authentication request'  ?

Thank you for your reply. For this example there are two open dialogs, one requesting the 'resending of data' and the second one a login/pwd prompt. (I've linked the site in the first post.) There's a followup page that will take FF to fullscreen mode prompting the user to allow the installation of a false 'Firefox Update'.

I'm looking for a soloution on how to prevent from JS calling such dialogs in general, without haveing to disable JS alltogether. The blocker mentioned by @PkShoadow sounds interesting in this regard.

more options

You can also look at uBlock Origin as a replacement for Adblock Plus.

more options

I run Malwarbytes paid version which runs fine with my Norton Security A/V and Firewall. Malwarebytes updates constantly as does Norton with Revocation lists and Whitelists.

It is very nice when I go and click on a link that is bad I get blocked by the program. Malwarbytes does not say why, Norton has a Page that does.

Now there is another way but some ISP's do not take kindly when some things get blocked. May have to edit lists. There is https://www.iblocklist.com/ free and subscribe to add to programs that support the ability to do this. I used to run Peerblock and add lists to it by copy links.

You may want to follow up on this idea of using Iblock lists in maybe a more current program or find a firewall that will let you import the lists.

Please let us know if this solved your issue or if need further assistance.

more options

As a fighter against spam i see hundreds of new registered domains daily used for spamming and distributing malware. Using blacklists is not really good solution to fix this problem.

A better solution would be to use the Firefox build in protection that already exists for the javascript alert() function and extend it to http auth, form resend and other dialog boxes that could block the whole window.