Firefox users are reporting an ‘artificial’ load time on YouTube videos. YouTube says it’s part of a plan to make people who use adblockers “experience suboptimal viewing, regardless of the browser they are using.”

  • PoliticalAgitator@lemm.ee
    link
    fedilink
    arrow-up
    15
    arrow-down
    2
    ·
    1 year ago

    The user agent is in the request header, so it’s known before any response is sent from YouTube.

    I don’t know if that’s what they’re doing, because it’s not possible to know what their server code is doing, making it a far better place to hide sleazy code.

    • ours@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      3
      ·
      1 year ago

      But the server outputs code for the browser to run. Doesn’t matter what the server does as long as the browser gets there same output.

      Server side they could stall based on the agent but it’s not the case here. Whatever is happening seems to be client side.

      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        1 year ago

        The client code can be modified depending on the request headers before being returned by the server

        • candybrie@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          They’re looking at the code returned by the server with a chrome user-agent and it’s the same.

          • ADTJ@feddit.uk
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            1 year ago

            They only said that snippet was present, not that all of the client code was the same