• lowleveldata
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    How does YouTube know whether I’m blocking or not if it all happens at the client side?

    • notabot@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      They make a test request from the client and check it’s received on the server end and returns what they expect on the client end at a guess. Basically they try to load an ad and if they don’t see the request on the server, or the client doesn’t get the sort of data it expects, it assumes you’re ad blocking.

      • lowleveldata
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 year ago

        What if we allow the request but then just discard the response?

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

          The client side code probably expects to see and use the data, although I could be wrong on that. Some ad block do work like that though, I think.I find just deliberately taking a 30 second break to be the easiest ad block, and it’s better for you too.

      • lowleveldata
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Put a few blocks of information encoded in the video of the ad itself. Require that block of information as a key to watch the next video on Youtube.

        Interesting. But it probably only takes less than a few seconds for a program to scan a 30s video file and extract that bit of information.