• PeachMan@lemmy.one
    link
    fedilink
    English
    arrow-up
    48
    arrow-down
    6
    ·
    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
      26
      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.

    • AeroLemming@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      Those sites aren’t popular enough for people to actively develop custom scripts to get around them.

      • Draconic NEO@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 year ago

        Didn’t Spotify do this a while back, they made threats of account bans as well. In the end it was bypassed and you can still use Adblock in the browser or adfree clients on desktop (or just block ads across device with Adguard or Portmaster), though honestly Spotify kind of sucks in my opinion (usually doesn’t have the music I want and has UI unresponsiveness).

        • AeroLemming@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          The only one that kind of worked was Twitch, and the Alternative Player plugin for Firefox still bypasses the ads, you just have to wait while Twitch thinks the ad is playing because they inject it into the stream directly and you can’t access the stream without waiting out the timer.

    • 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.