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

  • GreyShuck@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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.

  • dindonmasker@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I don’t understand how people can think getting a paid service for free shouldn’t be fought against by the company losing money from the workaround.

  • IDew@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year 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

      • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        It really does because Google happens to control the browser that now dominates the market by a wide margin, and it’s using it’s monopoly position to break the internet. It’s incredible that people can’t understand the problem with this.

  • selokichtli@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      0
      arrow-down
      1
      ·
      1 year ago

      More likely, people will stop using YouTube at all

      Hahaha, no.

  • Stitch0815@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      1
      ·
      1 year ago

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

  • ToxicWaste@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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.

    • Vincent@kbin.socialOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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
        1
        ·
        edit-2
        1 year 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.

    • Ferk@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year 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
        0
        ·
        1 year 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
          1
          ·
          edit-2
          1 year 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.