• ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      So this is part of a larger adblock checker, if the ad doesn’t load within 5 seconds, it fails and triggers the adblocker warning. Since the ad should load in 3, they’ve set it for 5. If you have ubo, you won’t see the warning that it then wants to pop up, it just seems (and is) a 5 second delay. Changing the UA probably removes this from Firefox because then the clientside scripts will attempt to use builtin Chrome functions that wouldn’t need this hacky script to detect the adblock. Since they don’t exist, it just carries on.

    • PerogiBoi@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      In a previous generation, governments would go after this blatant anti competitive behaviour.

  • scholar@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    It’s bizarre how blatent this is. Google has so much power over web standards that Mozilla have to work really hard to make firefox work, but YouTube don’t bother being subtle or clever and just write ‘if Firefox, get stuffed’ in plain text for everyone to see.