• scholar@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    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.

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      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.

      • localhost443@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I was wondering how badly out of context the above quote must be considering the UA isn’t checked in the function. Above poster is trying to construe it as a pure and simple permanent delay for Firefox.

        That being said, the solution is still bullshit.

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

    Let’s hope Europe stars investigating Google as a gatekeeper. That seemed to work miracles on Apple.

  • ramjambamalam@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    They do the same shit for Google search results. Search weather or stock tickers with a Chrome user agent* and you get a rich, interactive chart of the weather forecast or stock history. Search with another mobile user agent and you get a static snapshot of the weather or stock price at an instant in time.

    There’s even an extension for Firefox for Android which changes the user agent for Google searches to Chrome, to get the rich content.

    * just a user agent, not an actual browser, which proves that it isn’t about browser capability, but rather abusing their monopolistic market position in search to further their web browser’s market share. Sound familiar, Microsoft from the 90’s?

  • Delta_V@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Adding this to your uBlock Origin filters also makes the problem go away:

    www.youtube.com##+js(nano-stb, resolve(1), *, 0.001)

  • GTG3000@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    So they’re doing the same thing as that time they killed Edge and stretched its skin over chromium?

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

    Ah, I was wondering why YouTube was taking so long to load recently. I thought it was just because their code was shit, and it turns out I was right, but not in the way I thought.

    • AAA@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Spoofing the agent only makes it look like Firefox is being used less, and websites will care even less about it.

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

    Lately (few months) YouTube will not load whatsoever on my android phone nor tablet very often, activating a VPN fixes it instantly. Using basic YouTube app

        • spamspeicher@feddit.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          1 year ago

          It is possible. Maybe the peering from his ISP to YouTube is shit/ overloaded. That was an issue for Deutsche Telekom for a few years because Telekom didn’t want to pay for better peering. With a VPN it is possible to get good peering to your ISP and YouTube and in return faster load speeds.

  • 30p87@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Using a completely clean FF profile, in the EU: No delay, just many (irrelevant) ads. And even on my normal profile, with uBlock, I never saw any adblockblockbanner. Is YouTube scared to pull their shit on the EU?

  • Johanno@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I noticed logging out of your YouTube account helps.

    I just opened a private window in Firefox.

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

    Not noticing this change from the EU… Guess they’re too afraid of pulling that shit here?

    • Mrs_deWinter@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I’m in the EU, using Vivaldi, and have the delay since yesterday. It’s not on every video though. Seems like UBlock and YouTube are fighting each other every time I open a new link.