• AphoticDev@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    70
    arrow-down
    7
    ·
    1 year ago

    It doesn’t matter if YouTube can detect uBlock. The great thing about uBlock is you can just block the anti-adblock script. Since Javascript is executed on the user’s computer, it’s trivial to just tell your computer to ignore it. And moving it to server side would cost them too much money in processing power.

    That’s why they want everyone to adopt their DRM, so they don’t have to worry about it.

    • PeachMan@lemmy.one
      link
      fedilink
      English
      arrow-up
      37
      arrow-down
      5
      ·
      1 year ago

      This logic is so flawed lol. It’s also completely trivial for them to detect when their anti-adblock script has been blocked. If it gets blocked, then they can just stop serving you videos.

      There are websites that already do this; it’s not theoretical. The website just doesn’t work if it detects an adblocker.

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        22
        arrow-down
        1
        ·
        1 year ago

        Whether or not it’s trivial to detect depends on the method used to block it. It already is an arms race, and said race will continue.

      • AphoticDev@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        OK, show us an example. I’ve never run across a website that adblockers just didn’t work on, but maybe you know of one. Give us an example, and we’ll see if we can bypass that. Then we’ll know which of us understands how Javascript works, and which doesn’t.