Did ublock origin used to work with chromecasted youtube videos? - eviltoast

So, it definitely doesn’t work now, but it’s just, I swear I used to able to avoid ads while casting to chromecast by using my computer with ublock origin installed in favour of the android youtube app.

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

    Exactly. An early (pre-2014) Chromecast bug was that it couldn’t play private YouTube videos for that exact reason.

    The Chromecast had no context for an “account” so a private YouTube video wouldn’t play, even if “you” played the video.

    I assume a concept of “account” exists now and it works fine.

    I also don’t know how it works in depth, but as I understand many (all?) YouTube/Google IP/DNS are hard coded into the YouTube Chromecast “app”. As a result even if you had adguard or similar adjustments on you device or home network, the blocking would still fail.

    That isn’t to say it’s impossible, just difficult. (And it’s a classic cat and mouse game, so hard to say if it works right now.)

    • Darkassassin07@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      DNS based adblocking doesn’t work at all on youtube. They serve it all from the same domains so you can’t block the ads without blocking the site. (there are other methods ofc, this is just dns)