Edit:
Panel 3: PiHole + uBlock Origin
Panel 4: PiHole + uBlock Origin and recurring donations to pay creators

      • @Fosheze@lemmy.world
        link
        fedilink
        English
        39
        edit-2
        1 year ago

        Nope. Youtube ads are served from the same domains as the videos so there is nothing you can to to block them via DNS. Your best bet is just installing Ublock for them. Now a days an ad blocker is a security necessity anyways.

        • @mrmacduggan@lemmy.ml
          link
          fedilink
          English
          141 year ago

          Installing uBlock is so quick, all you need is 30 seconds of their consent to lean over their shoulder and install it. The whole process can be faster than the actual ad break, in some cases.

          • AggressivelyPassive
            link
            fedilink
            41 year ago

            Doesn’t really work for all “embedded” devices, though. Phones, consoles, sticks, etc. all come with their own apps and there’s unfortunately not always a reasonable way to install solutions there.

      • @CosmicTurtle@lemmy.world
        link
        fedilink
        English
        31 year ago

        You have to set up a proxy.

        Even for those who are technical enough to set up a pihole, it’s annoying to set up a proxy and some apps simply won’t work with it.

  • @xe3@lemmy.world
    link
    fedilink
    59
    edit-2
    1 year 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.

    • @madcaesar@lemmy.world
      link
      fedilink
      51 year 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
        link
        fedilink
        8
        edit-2
        1 year 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.

      • voxel
        link
        fedilink
        51 year ago

        pihole does not deceypt https traffic, so it cant change dom. even if it could, it can’t modify stuff added by js.
        also it can only block whole domains, not individual urls

      • @teatowel@lemmy.world
        link
        fedilink
        3
        edit-2
        1 year 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.

          • @RippleEffect@lemm.ee
            link
            fedilink
            English
            11 year ago

            Unlock can read the code being sent to your browser and act accordingly. It’s much more granular.

            Pihole can only see you’re going to YouTube.com. It cannot see what YouTube is sending you.

  • @wandermind@sopuli.xyz
    link
    fedilink
    411 year ago

    Pihole and uBlock Origin have different purposes. Pihole blocks ad domains network-wide. uBlock Origin can remove specific elements from specific webpages with surgical precision regardless of the domain the content is served from, so it is a much more precise wide-spectrum content blocker.

    In other words, uBlock Origin can block basically everything, but only works in your browser. Pihole blocks fewer things and less precisely but works for all your devices.

        • voxel
          link
          fedilink
          2
          edit-2
          1 year ago

          pihole uses the same method of blocking as adguard dns but is more configurable, and since it’s usually self-hosted you have full control over it.

          btw, nextdns is pretty good too (think of it as a managed configurable, slightly more private alternative to adguard dns, great if you’re not into self hosting).
          it lacks custom domain blocklists tho. you can add your own white/blacklisted domains but not whole lists, except ones provided by nextdns.
          also, it’s a paid service. free tier includes 300k requests per month, which is enough for ~1.5 devices from my experience.

        • shastaxc
          link
          fedilink
          11 year ago

          It’s the same technology, like how chrome and Firefox are.

  • @BlanK0@lemmy.ml
    link
    fedilink
    8
    edit-2
    1 year ago

    Adding to the existing comments, there is also invidious which doesn’t bombard you with adds and if you have a homeserver you can easily host an instance (acts like a frontend to youtube)

    • @Zerush@lemmy.ml
      link
      fedilink
      4
      edit-2
      1 year ago

      If you are not so fit in this questions is better to install Portmaster, its downloading and run it, not much more to do (blocking or give permissions to connecting to the network to your apps. Maybe sellecting an DNS which fits your needs in the settings. It’s way easier to handle than Pi Hole. It even has an SPN (its like a VPN on steroids), but its an paid option.

    • @areyouevenreal@lemm.ee
      link
      fedilink
      11 year ago

      Honestly don’t bother. Ublock is better at blocking ads. Pihole is for devices on your network that can’t use conventional ad blockers and is less effective.

    • @Landmammals@lemmy.world
      link
      fedilink
      61 year ago

      Yes, its a DNS server. You can set up your device to use whatever DNS server you choose, including pihole.

      I’ve got my VPN connected with pihole as the default DNS server so it works on my phone when I’m not at home.

    • @Tenthrow@lemmy.world
      link
      fedilink
      English
      41 year ago

      No because VPNs route your traffic through an encrypted tunnel. But PiHole can filter traffic on any device on your network regardless of whether or not you can install a plugin.

    • @9point6@lemmy.world
      link
      fedilink
      31 year ago

      Yep it does, most VPN software lets you configure the DNS server to be your pihole.

      If you care about the privacy of your DNS requests, tunnel the pihole through a VPN too

  • @wolfshadowheart@slrpnk.net
    link
    fedilink
    31 year ago

    I wonder what number of cents a month is more than what content creators get from youtube or their other sites (sans donation platforms like Patreon).

    It could be interesting to set aside like $5 a month to have dividends of that go out to people you actively utilize.

    • Cows Look Like MapsOP
      link
      fedilink
      11 year ago

      At least for platforms like YouTube, creators are making $0 unless they have a ton of watch ours and subscribers and can be monetized.

    • Cows Look Like MapsOP
      link
      fedilink
      11 year ago

      Most install guides include pihole with Unbound DNS but running your own DNS server is not a requirement for ad and tracker blocking.

  • @brakenium@lemm.ee
    link
    fedilink
    31 year ago

    Does anyone know if firewalls like OPNSense can do IPS for ads and tracking instead of “normal” intrusions like malware?