Block Site completely

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey

Block Site completely

Postby JPRuehmann » Wed Nov 08, 2017 5:11 pm

How do I block malicious Sites such as facebook or Bild completely?
I´ve added them to my hosts, but since Adblock Plus is updated I always get error messages that the signatures are wong.
and there is no way to restore my filters.
Posts: 7
Joined: Sat Mar 12, 2016 1:22 pm

Re: Block Site completely

Postby lewisje » Mon Dec 04, 2017 6:31 pm

Your error might be unrelated to your attempt to block certain sites using the HOSTS file; anyway, this file does not block all subdomains, and it may be easier to block subdomains within ABP, using custom filters like this:
Code: Select all
  1. The first one blocks content from or its subdomains loaded on any page.
  2. The second tells ABP to close any popups to or its subdomains.
  3. The third blocks all content loaded on any page on or its subdomains.
  4. The fourth hides the visible content in any page on or its subdomains.
ABP made the decision years ago that filters would not block connections from the address bar (the "document" request, blocking of which is known as "strict blocking"), but only connections made to fetch resources in the document. None of this blocks, say, a link to a malicious executable, so you should keep your HOSTS file around.

Also, uBlock Origin does support strict blocking, with custom filters like ||^$document (I think a separate $popup filter would still be needed to automatically close popups, and otherwise you'll just see a popup with the uBO blocked-site notification).
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Return to Adblock Plus for Firefox support

Who is online

Users browsing this forum: Exabot [Bot] and 9 guests