• xe3@lemmy.world
    link
    fedilink
    arrow-up
    45
    ·
    edit-2
    11 months ago

    Pihole is a great project, but it is objectively less capable than uBlock Origin.

    That is not a criticism of the software. It is just a fundamental fact that DNS based adblockers are less powerful, and less granular/precise than Browser based adblockers.

    They do work well in combination though (the DNS level adblockers gives you moderately effective network wide blocking, and uBlock Origin gives you exceptional blocking but is limited to the browser.

    • Altima NEO@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      11 months ago

      At least from using both, I feel like pihole kinda sucks. It’s rather limited and breaks a lot of stuff.

    • madcaesar@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      I’m not technical enough, but why can’t pihole do as much as ublock? It’s at the router level before anything gets to the browser, it has all the same info the browser will eventually get.

      Shouldn’t it be theoretically possible to do the same?

      • qaz@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        11 months ago

        It’s at the router level

        It’s a DNS server and does not have the same capabilities as the router

        It has all the same info the browser will eventually get.

        It does not. Not just because of the previous reason but also because most traffic is encrypted nowadays (https) which means that even the router can’t read/modify the traffic to the device.

        Another issue is that some things blocked by uBlock are hard to detect with static analysis in comparison to reading the rendered HTML.

      • teatowel@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Ublock has direct access to the DOM and so can modify what the browser renders. For example, YouTube ads are hosted on the same domains as their videos and so PiHole cannot block them, but Ublock can.