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

  • IDew@lemm.ee
    link
    fedilink
    arrow-up
    161
    ·
    edit-2
    10 months ago

    Even though it doesn’t apply for me (praise Freetube and Grayjay!) I’d rather waste 5 second looking at black than any ad ever

    • tpihkal@lemmy.world
      link
      fedilink
      arrow-up
      56
      ·
      10 months ago

      Commercial breaks were when you muted the television and had about two minutes to go to the kitchen or use the bathroom. Even if it’s forced, I’m not watching them.

      • Synapse@lemmy.world
        link
        fedilink
        arrow-up
        20
        ·
        10 months ago

        I think the goal it to make the user wonder “hum, looks like it’s broken” hoping they disable adblocker during troubleshooting. I am not convinced at all about the effectivness of this measure, but it seems they are just trying anything.

      • Igloojoe@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        10 months ago

        Most of the time, the commercial’s volume is much louder than whatever content you are watching. So ya, I’d rather have nothing…

    • statist43@feddit.de
      link
      fedilink
      arrow-up
      22
      ·
      10 months ago

      Yeah haha… They really think we would hat it if there is not a ear busting sound which tells you to buy sth for at least 5 sec.

      The 5s black screen is automatically becoming a video

  • GreyShuck@feddit.uk
    link
    fedilink
    arrow-up
    105
    ·
    10 months ago

    I experience suboptimal viewing by having to watch ads. If I had to pick one or the other, I know which one I prefer.

    • akilou@sh.itjust.works
      link
      fedilink
      arrow-up
      25
      ·
      10 months ago

      It’s crazy that Google thinks people would rather watch 15 seconds of ads than 5 seconds of nothing.

      • tyrefyre@sh.itjust.works
        link
        fedilink
        arrow-up
        9
        arrow-down
        1
        ·
        10 months ago

        What’s even crazier, for some people, actually a lot of people, they are right. Some people can’t be left alone with silence for that long.

        Not me, but they are out there.

  • selokichtli@lemmy.ml
    link
    fedilink
    arrow-up
    63
    arrow-down
    3
    ·
    10 months ago

    Jesus Christ, why can’t they just leave it alone. At this point they are grasping at straws. More likely, people will stop using YouTube at all than turning off adblockers or switching browsers.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      46
      arrow-down
      4
      ·
      10 months ago

      More likely, people will stop using YouTube at all

      Hahaha, no.

    • deweydecibel@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      10 months ago

      This is part of a much larger plan. Google wants to establish a new standard that the rest of the internet will follow.

      If Google is seen fighting an endless war against ad blockers, it will encourage other websites to do the same.

      No longer will it be “Please disable your ad blocker, as advertising supports us and helps keep this content free”

      It will start being “Ad blockers are not permitted.”

      Google wants the Internet to start thinking of allowing ads as requirement for entry, and (via Manifest v3 and web environment integrity checking (which you better believe will be brought back in another form)), they will provide websites the tools to enforce this.

      • jol@discuss.tchncs.de
        link
        fedilink
        arrow-up
        10
        arrow-down
        4
        ·
        10 months ago

        And I want to personally blame all the tech savvy people that have helped chrome achieve monopoly status over the last decade. If you’ve used chrome as main browser, it’s your fault.

      • rwhitisissle@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        10 months ago

        I’ve been thinking about this a lot recently. In a lot of your more famous cyberpunk stories, like Snow Crash, the world itself is a violent dystopia, and the internet is depicted as evolving into something both intensely interesting, but also very chaotic and filled with hostile people looking to scam or exploit you. The contemporary internet is moving towards an extreme degree of corporate regulation and control. Its not chaotic - it’s intensely ordered. It’s not interesting - the content is boiled down to the lowest common denominator and recycled ad-nauseam. Companies like Google are now trying to take the current internet, which has tragically become like a gated community with billboards, into something even worse than that. I imagine the next step will be all out war on the only non-Chromium based browser of note left: Firefox. After Firefox is gone, Google will own the internet as we know it.

      • selokichtli@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        There are already several alternatives and this attitude of YouTube will only get them more users.

        • merc@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          10 months ago

          They don’t have a 100% monopoly, but they have enough control over the digital video space that they have real competitors.

          In a real competitive landscape, YouTube would be scared to do many of the user-unfriendly things they’ve been doing because it would seriously hurt their market share. As it is, they might go from 97.64% of online user-generated video to 96%. That’s not really going to worry them.

          • selokichtli@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            10 months ago

            Next step will require them to login to watch, they will probably implode at that point. If they are doing all these things to salvage revenue and or bandwidth from 1.64% of users, is it worth the investment? As I see it, if it is, they are not doing well with their business model and it’s not like this tweak will get them anywhere; if it’s not, they are just wasting time and resources in a Pyrrhic victory.

            • merc@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              10 months ago

              It seems like yet another example of Google making bad business decisions.

              Sometimes, those bad decisions can be traced back to people wanting to “show impact” so that they can get promoted. That’s often why they do something ridiculous like launch yet another chat app, which they end up killing a few years later.

              In this case, it could be something like that (like someone has an objective to reduce the number of people using ad blockers from X% to Y% and will hit that target no matter how much it fucks things up). Or, it could just be that Google has some kind of weird strategic goal in mind that they’re willing to burn many bridges to hit.

              What’s interesting to me is the role antitrust is playing in this. I’m guessing that a lot of the things they’d like to do are things they feel they can’t do because it will get the attention of antitrust regulators. Like, they could just start perma-banning people based on cookies and IP addresses, but people might raise a real stink about that. So, instead, they’re going with just trying to annoy people enough that they give up and turn off their ad blockers.

  • Stitch0815@feddit.de
    link
    fedilink
    arrow-up
    63
    arrow-down
    9
    ·
    10 months ago

    Can we stop panicing every 5 seconds? Give adblockers 1-10 days and they will fix it. We have been through this a bunch of times.

    • JCreazy@midwest.social
      link
      fedilink
      English
      arrow-up
      37
      arrow-down
      1
      ·
      10 months ago

      I think it’s less panicking and more informational. The enshittification of Google has commenced and this is just documentation.

    • Honytawk@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      10 months ago

      Yeah, as long as it is a big enough problem on the internet, you will have at least one nerd trying to find a way to circumvent it.

      Give them time.

  • ToxicWaste@lemm.ee
    link
    fedilink
    arrow-up
    49
    arrow-down
    1
    ·
    10 months ago

    Most of the articles writing about it seem to reference following reddit post: https://old.reddit.com/r/firefox/comments/17ywbjj/whenever_i_open_a_youtube_video_in_a_new_tab_its/k9w3ei4/

    Following code is pointed out:

    setTimeout(function() {
        c();
        a.resolve(1)
     }, 5E3);
    

    While this is a 5s timeout, the code itself does not check for the user agent. So wherever the code is the 5s timeout will occur. The code also does not seem to be injected server side. I spoofed my user agent and for good measure installed a fresh google chrome, both times the code was present. So this code cannot be used to make any browser slower without making the other browsers slow too.

    There is a response to the reddit post, which most articles seem to take their intel from. IMO this response does a good job at exploring what the code could be used for and points out that it is more than likely not for slowing down Firefox users: https://old.reddit.com/r/firefox/comments/17ywbjj/whenever_i_open_a_youtube_video_in_a_new_tab_its/ka08uqj/

    I am amused by thinking that many journalists seem to take this story from a post on reddit, without even reading the direct responses - or just copy from another article.

    • PoliticalAgitator@lemm.ee
      link
      fedilink
      arrow-up
      16
      arrow-down
      2
      ·
      10 months 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
        ·
        10 months 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
          ·
          10 months 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
            ·
            10 months 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
              ·
              10 months ago

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

    • Vincent@kbin.socialOP
      link
      fedilink
      arrow-up
      9
      ·
      10 months ago

      Alternatively, it’s funny that people write comments arguing that it wasn’t targeted at Firefox users, on a post that already says that it wasn’t targeted at Firefox users :P

      • Ferk@lemmy.ml
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        10 months ago

        It doesn’t really matter whether it was “targeted” at Firefox specifically or not, what matters is whether the website has logic that discriminates against Firefox users. Those are 2 different things. “End” vs “means”.

        I wouldn’t be surprised if the logic was written by some AI, without specifically targeting any browser, and from the training data the AI concluded that there’s a high enough chance of adblocking to deserve handicapping the UX when the browser happens to be Firefox’s. Given that all it’s doing is slowing the website down (instead of straight out blocking them) it might be that this is just a lower level of protection they added for cases where there’s some indicators even if there’s not a 100% confidence an adblock is used.

      • ToxicWaste@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        I said that i found different articles blindly copying. But i did not say 404 did so ;)

    • Ferk@lemmy.ml
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      edit-2
      10 months ago

      That’s out of context. That snippet of code existing is not sufficient to understand when does that part of the code gets actually executed, right?

      For all we know, that might have been taken from a piece of logic like this that adds the delay only for specific cases:

      if ( complex_obfuscated_logic_to_discriminate_users ) {
      
          setTimeout(function() {
              c();
              a.resolve(1)
          }, 5E3);
      
      } else {
      
          c();
          a.resolve(1)
      
      }
      

      It’s possible that complex_obfuscated_logic_to_discriminate_users has some logic that changes based on user agent.

      And I expect it’s likely more complex than just one if-else. I haven’t had the time to check it myself, but there’s probably a mess of extremely hard to read obfuscated code as result of some compilation steps purposefully designed to make it very hard to properly understand when are some paths actually being executed, as a way to make tampering more difficult.

      • ToxicWaste@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        The code is not obfuscated. The person i linked to even formatted it nicely. I do not have the time or energy to go through all of youtube’s JS. But the 5s everyone is talking about does target every browser the same. Serverside the code isn’t altered based on browser detection.

        • Ferk@lemmy.ml
          link
          fedilink
          arrow-up
          9
          ·
          edit-2
          10 months ago

          It can be formatted “nicely” with no issue. But that doesn’t necessarily make it easy to understand.

          What that person posted was in a function named smb() that only gets called by rmb() under certain conditions, and rmb() gets called by AdB() under other conditions after being called from eeB() used in BaP()… it’s a long list of hard to read minified functions and variables in a mess of chained calls, declared in an order that doesn’t necessarily match up with what you’d expect would be the flow.

          In the same file you can also easily find references to the user agent being read at multiple points, sometimes storing it in variables with equally esoteric short names that might sneak past the reader if they aren’t pedantic enough.

          Like, for example, there’s this function:

          function vc() {
              var a = za.navigator;
              return a && (a = a.userAgent) ? a : ""
          }
          

          Searching for vc() gives you 56 instances in that file, often compared to some strings to check what browser the user is using. And that’s just one of the methods where the userAgent is obtained, there’s also a yc=Yba?Yba.userAgentData||null:null; later on too… and several direct uses of both userAgent and userAgentData.

          And I’m not saying that the particular instance that was pointed out was the cause of the problem… it’s entirely possible that the issue is somewhere else… but my point is that you cannot point to a snippet of “nicely formated” messed up transpiler output without really understanding fully when does it get called and expect to draw accurate conclusions from it.

  • De_Narm@lemmy.world
    link
    fedilink
    arrow-up
    36
    arrow-down
    1
    ·
    10 months ago

    Well, ads are usually quite a bit longer… So I really don’t see what they would gain from that. Unless they lied, which is of course possible if not likely.

    • I_Comment_On_EVERYTHING@lemmings.world
      link
      fedilink
      arrow-up
      23
      arrow-down
      2
      ·
      10 months ago

      I keep seeing people throw this idea out there but I have yet to have received a reasonable answer to a simple question: How would content creators get paid on a federated video platform?

        • I_Comment_On_EVERYTHING@lemmings.world
          link
          fedilink
          arrow-up
          8
          ·
          10 months ago

          I have a bit over 60 YouTubers I’m subscribed to on YouTube. Am I supposed to pay $60+ every month to have access to them? The cheapest patreon I’ve ever seen was for $1 and that wasn’t even for full access just a “buy me coffee, thanks” tier.

          What about discoverability, how am I supposed to randomly stumble across niche content creators that don’t have a huge following?

          Not saying it isn’t possible I just can’t seem to wrap my head around how it would work.

          • AstridWipenaugh@lemmy.world
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            10 months ago

            The other big question is who’s paying for the infrastructure? If payments are done through a third party like Patreon, the host can’t take a cut. Serving lemmy text and image content from a home server is one thing. Being a 4k streaming host is an entirely different business. Way more computing load and bandwidth, which means higher hosting costs.

            • Ferk@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              10 months ago

              Ideally, it would be a P2P protocol where the main seeder is either the content creator directly, or a service paid by the content creator (who is funded by their audience and/or sponsors).

              I believe there are many podcasts that work somewhat like that (minus the P2P part, they just simply use RSS). Some hosting services have features to insert ads into the audio podcast being hosted… so the content creators still can choose to do that if they want, but the advantage is that there’s isn’t a monopoly for a single hosting provider and you can access the podcasts from many different podcast apps without needing to rely on a specific website and company that decides how you can watch it.

          • Coasting0942@reddthat.com
            link
            fedilink
            arrow-up
            2
            ·
            10 months ago

            Patreon should offer a donation bank. Donate $10 a month. Then you can add patreons to the bank and the ten gets split equally between them?

          • naught@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            10 months ago

            Instances could probably find ways to be ad supported or creators could do 3p sponsorships or ads in videos. Not everyone has to chip in to everything they subscribe to. It’s still impossibly hard compared to youtube though.

            e: what about opt-in ads (banner or otherwise) for channels you want to support? could be cool

    • 👁️👄👁️@lemm.ee
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      3
      ·
      10 months ago

      That will never work. It simply doesn’t work at scale like that, and it’s very confusing for the non technical. Creators shouldn’t have to worry about anything except uploading and moderating.

    • rip_art_bell@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 months ago

      I wonder how that would work. My understanding is running a video site is extremely expensive. Transcoding compute, massive amount of storage, etc. Sure, a few small ones could exist, but enough to replace even a fraction of YouTube’s userbase? I just don’t see how the math works out. I mean, text-based Lemmy and Kbin had slowdowns/outages for months with just tens of thousand of users…

      And that’s to say nothing of the copyright hurdles. Imagine people who don’t own the original videos start replicating content from YouTube -> fediverse-style video sites. The lawsuits would crush the new platforms to dust.

      Believe me, I’d love to see competition. YouTube has had too much power for too long. It sucks how they treat their content creators, and even their users to some degree. But just like how no one up and starts a new electric power company, there’s a reason big players are entrenched: MASSIVE startup costs.

  • lily33@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    10 months ago

    I haven’t had that issue. I’ve heard that disabling adblockers resolves it. But people have said that spoofing their user agent to chrome also magically resolves it…

  • MonkCanatella@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    10 months ago

    I highly recommend just downloading any videos you want to watch. Some guy made an extensions for firefox on linux that lets you click a button and it just automatically downloads and opens that video in mpv player. You can also use tube archivist, yt dlp, etc to auto download your subscriptions.