• DefederateLemmyMl@feddit.nl
    link
    fedilink
    English
    arrow-up
    24
    ·
    6 months ago

    uBlock can do much more refined and targeted blocking than a pihole because it has access to the entire page that is being served and can selectively filter elements. The pihole only has access to the DNS name, and DNS blocking is a rather crude tool to block ads that can be defeated by serving the ads from the same domain.

    For example: a pihole doesn’t work for blocking YouTube ads, because they come from the same domain.

    • archchan@lemmy.ml
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      6 months ago

      pihole doesn’t work for blocking YouTube ads

      It does if I block the entire youtube domain. Checkmate, corps