As far as I understand, this code is a part of the anti-adblocker code that (slowly) constructs an HTML fragment such as `<div class="ad-interrupting"><video src="blob:https://www.youtube.com/..." class="html5-main-video"></video></div>`. It will detect the adblocker once `ontimeupdate` event didn't fire for 5 full seconds (the embedded webm file itself is 3 seconds long), which is the actual goal for this particular code. I do agree that the anti-adblocker attempt itself is still annoying.
I couldn't reproduce the 5s wait in multiple scenarios in Firefox (various combinations of being logged in / not being logged in / without adblocker / with adblocker) and couldn't reproduce a 5s wait time in any of them, it played back immediately in each case (when without adblocker, using a second video to have one start without ad). I tested on Linux.
What exact combination of circumstances is required to trigger the multi second wait time?
I'm not even mad about Google making my artificially wait 5s for using firefox.
I'm mad that such a big company with suposelly decent engineers, are making me wait 5s with literally a sleep, how is even possible to do such thing in such a rudimentary way? I would be like damn that was smart, this feels like, seriously this is the level?
IMHO, this kind of things are not done by engineers.
* Marketing/Sales asks engineers to add a feature flag to sleep N milliseconds for their research: "how slowing down impacts your revenue"
* engineer adds a flag, with different control parameters
* Some genius in Product figures this out and updates the experiment to slow down for competitors
When company gets a backlash from public: "oops, we forgot to clean up all parameters of feature flag and it accidentally impacted Firefox"
This is interesting as I had noticed this happening to me (in Chrome) when the anti-ad-blocking started. I assumed that it was YT's way of "annoying" me still while no ads were shown... It was eventually replaced with the "You cant use Adblockers modal" and now I just tolerate the ads.
So I wonder if that 5s delay has always been there.
When I ran into the adblocker-blocker (Firefox + uBlock Origin), I noticed that I could watch videos if logged out. So I just stayed logged out, and haven't seen an anti-adblock message since. Or an ad.
Added bonus, I'm less tempted to venture into the comments section...
It's still trivial to block ads, but the delay has recently started for me, after never happening before. So presumably a very intentional volley in the ongoing war to own your attention.
I still use adblockers perfectly fine on Youtube. There was never a real interruption in adblocking either. You just need ublock origin + bypass paywalls.
This is happening to me in Chrome as well so I don't think it's tied to the browser you use.
Curiously it happens only on one profile, in another Chrome profile (which is also logged in to the same Google account) it does not happen. Both profiles run the code in your comment, but the one that does not have the delay does not wait for it to complete.
The only difference I spotted was that the profile that loads slowly does not include the #player-placeholder element in the initial HTML response. Maybe whether it sends it or not is tied to previous ad-blocker usage?
What does piss me off is that even if you clear cookies and local storage and turn off all extensions in both profiles it still somehow "knows" which profile is which, and I don't know how it's doing it.
Is the use of the "E" notation common in JS? I can see that it (could be) less bytes, obviously more efficient for bigger values... Looking at the script I can see it is minified or whatever we call that these days. I guess my question really is: did someone write "5E3" or did the minifier choose it?
(Sorry this is heading into the weeds, but I'm not really a web developer so maybe someone can tell me!)
Unlikely. Google has been breaking non-Chromium (or sometimes even just non-Google Chrome) browsers for years on YouTube and their other websites. It was especially egregious when MSFT was trying their own EdgeHTML/Trident-based Edge. Issues would go away by faking user-agent.
There is no reason for charity with such a large power difference. For Firefox, "bugs" like this can really end up being a lost one-shot game.
It's like people walking by and casually reaching for your phone. It's always meant as a joke, unless you don't pull it away fast enough. Then suddenly it wasn't a joke - and your phone is gone.
This is not rooted in any reservation against Google in particular. If you are a mega-corporation with the power to casually crush competitors, you should really want to be held to a high standard. You do not want to be seen as the accidentally-fucking-others-up-occasionally kind of company.
Without studying the minified code I wouldn't assume malice just yet, this could be just an inexperienced developer trying to lazily fix some browser-specific bug, or something that accidentally made it to production like you say
I really don't understand why any technically proficient user would willingly use any of the official YouTube frontends. You get bombarded with ads, you're constantly tracked and experimented on, and your behavior is used to improve their algorithms in order to keep you on the site for as long as possible. It's a hostile user experience, just like most of the mainstream web.
Whenever possible, I suggest using Invidious, Piped, Newpipe, yt-dlp, and anything but the official frontends.
I try to compensate the creators I follow via other means if they have an alternative income source, but I refuse to be forced to participate in an exploitative business model that is responsible for the awful state of the modern web.
>I really don't understand why any technically proficient user would willingly use any of the official YouTube frontends.
I'm a technically proficient user that's written custom bash scripts for youtube-dl combined with ffmpeg to download videos locally and I still use the official Youtube desktop web browser UI every day for several reasons:
+ transcripts and close-captioning (use Ctrl+F search for text to find the section of video that starts talking about the topic I'm interested in)
+ many videos have index of chapters (deep links), table-of-contents
+ viewers' comments (especially valuable for crowdsourced feedback on DIY videos to point out extra tips, or flaws, etc)
+ external links mentioned (Amazon links to products is especially valuable for DIY tutorials)
+ convenient hot links to related videos (part 2, part 3, etc). Not every creator makes "playlists"
+ Youtube web UI has superfast video scrubbing of the timeline. A local video player like VLC scrubbing of the timeline is very slow compared to Youtube because the youtube backend pre-analyzes the entire video and generates a bunch of timeline thumbnails at multiple intervals. This makes the Youtube web UI timeline scrubbing very fluid with responsive visual feedback.
I like downloading with yt-dlp but I also lose a lot of functionality when I watch videos in VLC instead of the Youtube desktop webbrowser UI. The above points are not relevant to the terrible Youtube app on mobile and tablets.
The web frontend just works. The other frontends tend to have issues, which even if they're not deal-breakers are annoying. I won't put ideology over using what works best. And clicking a link, then clicking play, beats copying the URL then pasting it into a command line.
Of course this only works because by default (since I have an ad blocker anyways) I don't get bombarded with ads on the web frontend, and so far I've seen the adblocker nag screen once (a failure which uBlock Origin seems to have swiftly corrected).
Because using the website is a better experience. None of those tools worked with Sponsorblock last time I tried, for one.
I don't want to yt-dlp every video, Piped and Invidious both have awful frontends in comparison, even the Newpipe dev admitted to using Vanced at some point, and yt-dlp needs some massaging to get the right video quality (and it can't download some videos at all).
If any of your solutions were better for the majority, the majority would be using them. Youtube's ad blocker war is making the platform worse for everyone, but having a couple of billions of developer power behind your platform still beats any open source video players built for fun.
In addition to Piped, and Invidious, mentioned by sibling comments, which allow you to subscribe, search, and provide recommendations, you can use a complete CLI workflow with something like ytfzf[0], or, you can use the search commands on yt-dlp[1], which are also accessibly through mpv using the ytdl:// prefix.
Getting familiar with such tools not only replaces the terrible UXes you have to be subjected to, but also gives you the power and freedom to be creative with how you use Youtube and other online streaming sites.
I wrote various tiny scripts to replace all my needs for Youtube search, using any highlighted text, with a shortcut, Youtube Music, with a synced plain text file of song titles and a shuffle-on-read script, and more curiously, a script to help me slowly go through all thousands of my partner's favorite songs, and then, using shortcuts, add them to my own favorites, decide on them later, add them to the "what the heck do you listen to" friendly banter list, or the "my ears bleeding" list, etc. Much better UX then anything the slow web UIs can offer, and with minimum hacking.
Oh, and they also falsely show "4K" in the video quality icon, but "accidentally" play a 720p or even worse quality stream. If you manually select the 4K stream quality, then and only then will YouTube deign to show 4K to you.
Something related to this which I find extremely frustrating is that I'm capable of watching a 4k video in my browser just fine. So if I decide to buy or rent a movie on youtube, they can only be played back at 420p.
Apparently this is due to DRM restrictions, but the frustrating part is that you can pay extra money for the HD version and there's nothing telling you about this not being supported in your browser until you've made the purchase (by just allowing 420p and needing to search for why it's broken)
This sort of behavior should be an open-and-shut case of false advertising. You were told that the video would be a certain resolution. You gave money as a result of that statement. You received an inferior product to the one that was described.
Netflix does the same thing. Actually, speaking of infuriating corporate bullshit, allow me to go on a rant about Netflix and subtitles.
They give you the option to choose between like four, maybe five languages. That's it!
If you want subtitles in any of the other hundred or so languages that they have available, well... no. Just no. Learn one of the four they've picked for you.
If you call their support, they'll gaslight you and mumble something about "copyright", which is patent nonsense. Copyright doesn't restrict Netflix from showing more translations for their own content that they made themselves. They own the copyright on it, which means, literally, that they have the right to do whatever they please with the copy. Including showing the associated subtitles to you.
You see, what actually happened, is that some too-smart UX guy at Netflix couldn't make a language picker look nice for that many options so he asked a too-smart data science (lol) guy to figure out the most common languages for each region.
Here in Australia they picked English, Italian, Vietnamese, Chinese because we have a lot of immigrants from those countries. I'm sure they used very clever algorithms on big data clusters to figure that out. Good job, well done.
Never mind that every other streaming app vendor figured this out. Netflix and their $500K total comp Stanford or wherever graduates couldn't. So they instructed their call centre staff to lie to their customers.
"If subtitles for a title are offered in a language but do not display on your device, try another device."
Oh, oh, I'll go do that right now! Let me try my PC... nope four languages. On the TV? Four languages. Actually, I have a phone... and... oh... four languages.
PS: Thai (only!) subtitles are "special" and use eye-searing HDR maximum white. Like 1,600 nits white that literally leaves green after-images etched into my retina. They have a support page and a pre-prepared set of lies for the support staff to read for that piece of shoddy engineering also.
That has irked me for quite some time. I always manually select 1080p, because sometimes YT claims it's already playing 1080p, but it's obviously not and the video starts buffering anew when I select 1080p manually. Quite annoying
Roughly around the same time as the anti-adblocking effort, youtube started just not playing the video stream for me much of the time. I say play a video, it will start playing the audio, and the video will just be a frozen image.
In unrelated news, my youtube-dl usage is way, way up.
Get the "Enhancer for Youtube" extension, among many adjustments, it does this clicking for you.
I also had this issue, videos would frequently wobble down to like 240p or whatever, on a stable, high speed wired connection.
It's not an internet problem since I never have to buffer when using this forced setting, so it's probably YT trying to save a few bandwidth bucks when they think people aren't looking.
I haven't see this other than for brief periods during quality switching (it seems to play out the current buffer in lower quality but new chunks are downloaded at the displayed target quality). However for some reason it does often just load at a very low (sub-720p) resolution and I need to manually up the quality or it will never get to the highest quality (I'm watching on a 4k monitor with great internet and hardware decoding, 4k has never stuttered for me).
I remember them starting to do automatic lower-quality streams when this came out[0], but I'm not sure if this is still the cause for the situation. It could be a general "we see this ISP/ASN failing more often with x many concurrent 4k streams, let's throw some people on 720p and see if it helps".
I have personally noticed this many times. I’d blink and wonder if it was just my eyes going bad but nope, soon as I select HD quality manually I can read text again.
I have a hard time believing that's actually what's happening. If they wanted to slow down other browsers, why would they choose this easily discoverable way? They could have easily slowed down serving of JS files (and other assets) based on the user agent to a similar effect. It seems more likely this is just a debug snippet that has made it into production by accident.
I mean it could be that the programmer wanted it to be discovered to draw attention to Google managers' shenanigans but that seems kind of far fetched.
I would argue it's a bit harder to find if the youtube backend serves files slower for certain browsers. One could even radomize it and sometimes still serve it fast or something. Since you cannot look at the backend code it would be hard to proof anything.
Seems odd to do something so brazen while also publishing information that (could) prove intent.
Google also modifies how business information can be accessed from Firefox Mobile. You can't read reviews easily from Firefox Mobile. At least not my install.
That's because it's not actually what's happening. I'm all for bashing bigcorps and especially ad empires but reddit folks confused correlation with causation here.
The code in question is part of a function that injects a video ad (that plays before the start) and the code itself is just a fallback in case it fails to load over 5 seconds so that video page doesn't break completely.
Why was this affected by user agent change? My best guess is that on some combinations they somehow decide not to show any ads at all (for now) and therefore this function is not called and some other code path is taken. This is consistent with my own experience with the recent anti-adblock bullshit they implemented. The banner was not being shown after user agent change implying it's one of the considered variables.
You can verify all this if you click 'format code' in browser debugger.
I use Firefox, and Google's sites are literally the only ones where I consistently have issues. There was a period of about a month this summer where Google Maps was just completely broken for me, the map wouldn't update at all when attempting to search or pan. There was recently a several day span where chat in Gmail had a 10+ second input lag due to some font-related JavaScript code spinning the CPU nonstop. It's literally gotten to the point where I keep a Chrome window open and use it exclusively for Gmail, Google Meet, YouTube, and Google Maps.
It's pretty obvious from the outside that supporting Firefox is not a product priority for Google. It also seems clear that it's in their best interest to have users choose Chrome over Firefox. My guess is that this likely emerges from a lot of very reasonable sounding local decisions, like "prioritize testing on browsers with the most market share," but it is convenient how those align with the anti-competitive incentives.
I've posted this here on HN numerous times over the years, and it's been a while since I last posted it:
Google is the new "Microsoft", they embrace, they extend, then extinguish. Look at their email offering, messaging offerings, they built on top of XMPP, then they pulled the plug eventually. Android is Linux based, but insanely proprietary, the app store is not open by any means, you're fully at their whims to get your apps on there. Chrome is basically the IE of old, implementing proprietary things or APIs that are not yet standard for Google products, and pushing out competing browsers.
Not to diminish the other sketchy stuff Google's doing, but I think the maps lag issue might actually be Firefox's fault. Whenever it happens to me WebGL stops working across all websites and restarting the entire browser fixes it. It's almost like when Firefox has been open a long time it just forgets how to use graphics acceleration.
It is fascinating, how the simplest things on websites can be made arbitrarily involved, convoluted, over-complicated. And how those over-complications can then serve as a credible deniability.
You're basically looking at testing being done on Chrome (because it is Google's, and because of its large market share), Safari (because it runs on a large percentage of completely exclusive platforms where the customer can't switch, and because of its large market share), and Edge (because there are still many corporations that do "Nobody ever got fired for choosing Microsoft" and lock down browser options to just Microsoft's offering).
At this point, Firefox is very much an also-ran on two axes: market share is tiny and nobody forces it on their captive audiences. We may as well ask why Google isn't optimizing testing on Opera, or Samsung Internet.
(There is also the issue of under-the-hood engine. Since so many browsers have converged on a few core and JS stacks, testing on one exemplar of that stack has a tendency to suss out bugs in the other stacks. Firefox still being its own special snowflake in terms of JS engine and core means it has more opportunities to be different, for good or for ill. So there's a force-multiplier testing the other browsers that one lacks testing Firefox).
I had the same Gmaps issue, I disabled LocalCDN for the site and panning etc worked again. Apparently the addon must be fixed to account for whatever they were doing.
I use Firefox across Windows, Mac, OpenBSD, and Ubuntu. I've not seen any specific issues with Google sites at all. I only really use Docs, Maps, and Youtube with any regularity but I've not really seen any of these issues.
It's clear Google is only testing for chrome engine and safari: which comprise 97% of the browsers being used. Would you increase your testing by 50% to thoroughly test for 3% of the market?
As I said, the decisions are locally reasonable. However, if not supporting Firefox potentially exposed my company to scrutiny over anti-competitive behavior, then, yes, I would absolutely invest in testing procedures to mitigate that.
It's also worth emphasizing that it isn't difficult to support Firefox. I'm pretty sure that many of the sites that I visit do so largely by accident. I do a fair bit of web development, and Firefox/Chrome compatibility has never been an issue in the slightest for me. You almost have to go out of your way to choose Chrome-specific APIs in order to break compatibility. How does virtually every other website on the internet manage it—from my bank to scrappy startups with junior developers coming straight out of bootcamps—while Google with all of their engineering talent and $100+ billion cash on hand just can't seem to make it work?
> Would you increase your testing by 50% to thoroughly test for 3% of the market?
I don't think you get to make these kind of cost cutting decisions when you're a vertically integrated mega-corp who also owns the browser with 65% of the market.
Here’s another way to answer that question: do Vimeo, Twitch, Netflix, Amazon Prime, Instagram, TikTok, etc. say “let them use Chrome” or do they manage to do entry-level browser testing? The cost increase is nowhere near 50% and clearly they aren’t willing to write off millions of users – only the company with a direct financial incentive does that.
Yes, Firefox’s market share has been declining but that’s substantially because Google spent billions of dollars marketing Chrome and promoted it heavily on YouTube, Gmail, Search, etc. Deciding not to test or optimize fits neatly into the same pattern.
Since they throw me "Google recommends Chrome!" adverts in my face for various of their services, even when using a chrome-based browser it's not a case of only testing for Chrome/Safari. It's active work against others.
The most interesting part from the discussion was noting it's implemented in the most basic, easily avoidable way (just spoof chrome) implying engineers unhappy with these tasks.
I sometimes wonder if the use of Firefox is under reported just because a lot of it's users are power users, installing extensions that spoof the user agent. I know I did for a long while, making my Firefox pretend it was Chrome on a Windows machine.
This is definitely the case for anything like Google or Adobe Analytics which are blocked by the default tracking protection. You can’t compare the results directly due to bots but on sites I’ve controlled our servers saw significant disparities between the server logs and the percentages commonly reported as global share.
Or potentially a concurrency bug trigger? "One in 1000 times X takes a bit too long and causes problem Y; I'll make X take minimum 5 seconds so I can trigger Y reliably." Then fixes Y but forgets to remove the delay.
Such fix won't sleep for 5000 ms though. In my reading it looks like a part of the adblocker detection code. (EDIT: Relocated the actual analysis to https://news.ycombinator.com/item?id=38346602 for more visibility.)
Code generally does not enter the YouTube code base without a lot of review namely (1) performance tests and (2) code reviews from multiple teams. Lines like this almost certainly get flagged/increased scrutiny. It would be very hard to imagine multiple people didn’t know about this and assign the blame to a single person.
Would be a bad day for the Internet. There's no way Youtube is financially viable without being cross-subsidised by Google's search income and running on Google's peering agreements with ISPs. Ads would be nowhere near enough to cover the bandwidth cost, which is why sooner or later any attempt to copycat it failed or went down to utter niche content.
As a JavaScript Dev, around 2010-2012 it was not uncommon to see `setTimeout(..., n)` hacks, often with n=0 but sometimes even n=1000, n=5000 into a codebase. This could workaround some bugs, and given the overall low-quality state of the JS ecosystem back then, often a last-resort.
And yes, am guilty too of committing this to prod back then. I think I haven't had a case where this was deployed in the last decade, but in the ugly SPA days pre angular v1 (and even during angular v1), where you code was this big glued-together conglomerate of various 3rd party UI libraries, this was common. Its ugly as hell, and you really had to be there at that time to understand this. But often it was just a cheap alternative, while debugging and fixing the truly underlying cause would be several man-days or even weeks.
My point being: It might have slipped their QA cracks and was at some point intended to workaround a bug of some obscure Firefox behavior. For a company at youtube's scale this is however pretty embarrassing.
Oh, I noticed this yesterday and assumed it was ad blocker hostility. Which I guess it may well be -- are Firefox users more likely to use ad blockers? Possibly. Certainly on Android. That doesn't strictly matter though, presumably the Youtube people try to avoid stepping on the Chrome people's toes.
Given Google is apparently going ahead with killing extensions on Chrome it's not hard to imagine some scheme where a guy is just lookin' at'cha merchandise and happens to be carryin' a baseball bat is all -- you can't really blame him for some spillage, right? (make using Firefox painful to try and push people to Chrome). Before crippling Chrome? Sounds ridiculous, but one can't help but wonder...
Thinking about some more, the point could actually be to make users question if its because they have an ad blocker not even actively blocking anything, but simply installed. Some number of users may uninstall their ad blocking extension to see if it makes the lag go away.
I'm getting such a pause also in Chrome since a few days, I was assuming that it's fallout from the adblocking wars though (I use uBlock Origin and don't get the nag screen anymore since around the time that pause appeared)
On a completely related note, the UK's Competitions and Markets Authority has recently been flexing its muscles on digital markets. You may wish to know of this URL, specifically for reporting anti-competitive practices: https://www.gov.uk/guidance/tell-the-cma-about-a-competition...
This just... isn't happening for me? My only extensions are UBo, Return Youtube Dislike and Sponsorblock, so I presume a UBo filter is either fixing it or the change isn't rolled out to all users yet.
Using a browser devtools performance profiler could confirm this. I highly doubt there's a 5 second setTimeout in youtube. More likely switching of browser technologies based on user agent.
I would need to see a Firefox UA warm cache reload in the same video before I put any stock in this. This aligns to perfectly with the “But Google evil” narrative for me to believe it uncritically. Alas, I don’t trust the internet anymore.
I wrote an email to Electronic Frontier Foundation and European Digital Rights collective asking them to file a complaint against Google because of this unjustified slowdown. I advise other readers to consider doing the same.
Interesting thought that I had, that is probably not true but interesting anyway.
Is this a move by Google to boost Chrome usage numbers. Although it is a terrible way to do it, many organizations still count views by looking at User-Agent. Google makes Youtube work worse if you report a non-Chrome UA, but all you have to do is report a Chrome UA and then it works perfectly fine. Suddenly a lot of people who were using FF now look like they are using Chrome because the UA has changed.
They then use this as proof that no one should bother developing for anything other than Chrome because no one uses anything but Chrome, because all the FF users spoofed their UA to make it look like Chrome because Google purposefully cripples their site if you aren't using Chrome.
I doubt there was that much aforethought, but it is a nice win for Google regardless.
In the meantime I'll still just be sitting here telling websites I use IE 6 or Netscape Navigator to mess with web admins.
So for all people uploading videos, please have a look at Peertube. It is to Youtube what Mastodon is to Twitter. (and more: it is compatible with Mastodon, one can subscribe to your Peertube channel through his/her mastodon account).
I’m not arguing to leave Youtube completely but to offer an alternative to your audience. Please join peertube.
I'd love to see real competition to YouTube. I'm afraid this seems not, the UX isn't great, homepage is useless, you need to click on Browse content then enter some keywords on a blank page, search results limited to 2 items and then you need to click on "Display more videos". I might be to used to youtube homepage, for me it's perfect I get videos right away and suggestions are good. I'm pretty sure this project, Mastodon and others are in good will, but they lack great ux/ui, it seems to me that ux isn't even researched, how can it be a viable competitor?
I don't need it to be a competitor; I don't even want it to be a competitor. I just need it to exist and get some quality, modest use like the rest of the fedeverse.
> I'd love to see real competition to YouTube. I'm afraid this seems not, the UX isn't great.
What do you call YouTube's UI then? Any Peertube instance I used has better UI than YouTube. Most websites have. Because YouTube UI is atrocious and one of the most user hostile UIs I have used.
> search results limited to 2 items
Not sure what you are talking about. Is this an exaggeration? It is not clear via text-only to me.
Please send this to the Peertube developer. Consider also that until recently it's likely that having videos load fast on peer2peer and adding features like streaming likely had a higher priority than interface polishing.
But you might be asking for something impossible : the focus is on the different servers, and having a "suggested videos" page is seen as an anti-feature because it involves making an "algorithm", at which point you are editorializing, become (legally !) responsible for what you select, and are close to become a platform yourself, something that you started out by fighting in the first place !
YouTube's market hold is unfortunately circular; no uploader on the platform will risk splitting their audience to a platform nobody goes to, and because of that, new platforms are unable to grow.
That aside: I also doubt most peertube instances can withstand the bandwidth costs of seriously hosting a few moderately succesful YouTube channels.
I don't understand this. If people don't want to or need to buy anything and they don't want to see ads, because this is pure simply a distraction and won't sway them into buying anything, then what is the point of forcing them to watch ads?
Furthermore, I wish regulators have gone at YouTube like a ton of bricks. The ads they show are mostly from various kind of scam artists. My friend is a bit naive, but fortunately she asked me for an opinion whether she should invest her savings into the programme offered by one of "gurus" advertising on YT. She even gone on a few of their webinars and became as you would say, brainwashed. The kind of way you see in a cult. Fortunately there was still some worry running around her and she asked me to check before transferring £20k. You can't imagine how much effort it took to tell here these guys are fraudsters. Now she is onto another scheme and now she tells me that I just don't want her to invest the money, because I think everyone is a fraudster and these are the good guys! Then she showed me testimonials from apparent "clients" how they got rich. One person looked familiar and I actually found them on Cameo. She tried to say maybe this is just that person's side gig etc. and she does not talk to me.
I really really hope someone or some organisation get to the bottom of this kind of harmful and dangerous content.
YouTube is a scammers paradise and YouTube wants more people to fall for these things.
The point of forcing ads onto users who don't want to see them and won't buy anything from them, is that the advertisers will still pay Google. In the long run, their CTR will suffer, but it will be consistent across advertisers. If they're paying per click then nobody loses except the user, who Google is betting actually will click on some ads (meaning they're basically engaging in psychological warfare, or at least rewarding the advertisers who do). And if they're paying per impression, then advertisers will see conversions go down in the long run, but Google might think the increased volume will make up for it.
> I don't understand this. If people don't want to or need to buy anything and they don't want to see ads, because this is pure simply a distraction and won't sway them into buying anything, then what is the point of forcing them to watch ads?
Age-old question. It's not that simple. Those ads have an effect on you whether you "want to or need to buy anything" or not.
I don't use firefox but have noticed a strange delay occurring during the past day or two. Wondering if it's coincidence. I use ublock origin, so maybe youtube's detecting its presence somehow and forcing a delay? (ublock is up to date so I don't get the message from youtube telling me to stop using adblockers - perhaps this is their next attempt to annoy people into paying/allowing ads?).
Just being real here for a moment - Firefox probably wouldn't exist if Google didn't give them millions, so the continuing existence of Firefox is thanks at least in part to Google taking them on as a project.
Now secondly, Firefox does have some very real performance bottlenecks that other browsers do not have. This means (and has been my experience already) that you can build experiences in all other browsers that are buttery smooth and nice, but that will cause crashes in Firefox. In my own work, to get around this I ended up making my product inferior in all browsers so it would not crash Firefox. But if I was big enough and had a team of more than 1, could I have implemented a solution that worked in Firefox and another that worked in other browsers, and delivered the best experience I could to all users of all browsers?
There's no need to jump to malice on Google's part if what they're doing is legitimately in an attempt to ensure that Firefox users have the best experience overall.
I don't like to jump to conclusions, but I'm going to jump to malice if their purported solution for user experience is time.sleep(5) based on a user agent lookup, and conditional on when their antiadblock fails to work.
I recently got a new Mac and didn’t install Chrome. I now only run Firefox and Safari. For a company so big, it’s embarrassing to see their websites and products be some of the poorest run on my computer now. It’s quite obvious that they at least optimize it for Chrome if not de-optimize it for other browsers.
Do people still really use the Youtube web site or official clients? They have done everything in their power to ruin the user experience in favor of guiding you to promoted content. Endless vlogs of people reviewing products. "Content" that's just somebody walking around and eating. And it's been a while since they changed the search function, now you get a few results, then an infinite scroll of promoted videos most of which aren't even vaguely close to what you searched for.
These days I can still find videos quickly and easily with DDG, which is vastly superior to Youtube itself for searching Youtube. But I worry, this will be taken away some day by Google just like everything else.
I guess this explains why some people say they use Chrome because "Firefox is slow", I've been using Firefox my entire life, and after Quantum it has been on par with Chrome in terms of speed if not faster from what I can tell. I do wish Firefox didn't stop with their Oxidation efforts, I would have loved to see it as a way to grow Rust, since as FF was developed in Rust, the language grew and evolved as a result. One key area I wish Firefox would grow in is the development tools. I ONLY use Chrome for the dev tools.
I wish Mozilla would invest way more into Firefox itself. I think Mozilla could and absolutely should consider suing Google if they're artificially slowing down Firefox.
I haven‘t tested this thoroughly, but I have a feeling that YouTube also forces worse codecs on Firefox. Codecs that can only decoder on the CPU, making Firefox seem sluggish and wasteful. This is a reason why I switched to Safari on macOS.
Glad I dropped chrome for Firefox at the beginning of 2022. It took some time to get used to it but eventually it's now my main browser. Tired of Google being such a piece of shit. Hopefully 2024 will be the year of Linux on mobile.
I also noticed this during the weekend. I initially assumed that the new uBO filters are too blame -- guess that's exactly what Google is going for with these hostile measures, and it kinda works.
Just yesterday people on here were talking about how using Adblock instead of paying for Youtube was unfair to Google and basically stealing. Is this the type of behavior you want to reward?
I've had this slow down show up for me as well. I wonder if there's a non malicious explanation, although I'll admit I'm unable to think of a charitable interpretation.
Sometimes YouTube also disables features on my home page. For example, at the top of the home page there's usually a filter bar with various categories. I haven't figured out under what conditions this gets triggered, but there's times where the filter bar just disappears.
Maybe it played more quickly the 2nd time because assets were already cached? It doesn't look like the person doing the testing cleared cache between tries.
It’s in the twitter thread (which I’m guessing was hidden to you because you weren’t signed in - certainly one of the product choices of all time). Seems to be an experiment condition around the new adblocking detection.
I’ve also noticed mysterious buffering in the iOS app for YouTube for at least a few months. Even on a Google Fiber connection many videos will take a number of seconds to start, and sometimes buffer in the middle. I also have YT Premium, so anti ad blocking shouldn’t come into the picture. Videos load right away in Safari though.
Delete the iOS app and install the Vinegar Safari extension. It will replace the hostile video player with a native HTML5 <video> element. I never see any ads, I can select the stream quality, and Picture-in-Picture works as my OS intended it to.
I use Firefox on macOS Ventura, and here the video pages load instantly.
I do have YouTube Premium (paid for in India to reduce the cost), but also in an incognito window where I'm not logged in, the video pages load immediately.
Maybe it's because I use the extensions uBlock Origin and/or Disable Autoplay For YouTube?
> For me, YouTube works equally well across Chrome, Firefox, and Edge. Other team members also could not replicate this delayed behavior across browsers.
"Reportedly" also known as: "unable to confirm but we saw it on reddit so it must be true"
I am so damn sick of "news" articles summarizing social media posts. Worse, the posts are seemingly chosen at random without even going to the effort of contacting the poster, not that such an interview would improve anything.
If I wanted to read what random Twitter users thought about a topic, I'd just read Twitter. I read news articles to learn from experts I wouldn't otherwise have access to, not random Reddit trolls, Instagram moms, and Russian Twitter bots.
Pretty sure Apple does something similar with iTunes on Windows. It's amazing how slow the UI is in general and how poorly the Movie watching experience is with it being incredibly slow to seek or take any inputs while playing a video.
I use Firefox and I have never had issues with Google sites. I don't know if they are picking and choosing users but I just checked and my load times for youtube are ~2 seconds for both Chrome and FF. no difference in load times.
It’s been like this for years on Firefox for me, even before they cracked down on adblockers and such. I’ve also noticed it messes with the history functionality and often breaks the back button. Getting sick of googles nonsense.
Can we have some fucking facts already? We have seen other reports of this same issue but people were using Chrome. This seems like an over-reaction. And the Reddit herd is known for being unstoppable over false-assumptions.
HN is no better. We love to jump to premature conclusions. Just look at this thread. It doesn't even link to anything (right now the submission link is https://old.reddit.com/r/youtube/login/) and yet people are automatically bringing out the pitchforks.
Seems like this is an unintentional benefit to firefox users. A small amount of friction is the difference between "I'm mindlessly watching" vs "I actually care about watching this video."
Not only that: Google's recaptcha will also ask you for dozens of captchas on firefox android (which is probably the best) way to watch youtube/use google site without ads on mobile)
I really hope the next Next Generation EU package will be entirely funded by the fines we will inflict on Google for its blatant abuse of market dominance
lol, I think this ended up being one of several factors that made me switch to firefox (now vivaldi).
The "extra chance to consider your life choices and do you really want to watch this video" was a feature not a bug.
Plus now tiktok and telegram are orders of magnitude more popular than YT. Im seeing more and more creators arrive on YT as their "second choice" platform.
I don't know what your problem is exactly but this is not normal behavior on Firefox at least. Check your extensions to begin with, or for a quick test, try watching a video in a prvivate tab.
Just, ublock origin, a password manager, and the kagi extension for my search engine. ublock origin was installed on all browsers. I'm not even trying to watch it without ublock, as that would be an unreasonable thing to do in general.
I know this is not normal behaviour, and it's likely unintetional, but I'll be damn sure google won't bother to fix it. I'm most surprised by Edge as it's running chromium and it should share some similarity to chrome.
Not sure what is specific in your setup but I have watched numerous live stream on firefox and tab never became unresponsive. Haven't checked the ram but my laptop had half of yours and the live were running for an hour or so.
I had the same issue, it turned out to be some random addon I installed years ago. Check if the problem also occurs with everything but uBlock Origin disabled.
I said it already several times, but it's worth repeating.
Stop using the youtube.com frontend entirely. It's enshittified beyond redemption. If they could replace it with a big ads billboard with no added value while leaving their profits intact, they'll do it.
If you really have to watch some content that it's only on YouTube, use Piped, Invidious, or one of the many tools based on youtube-dl or any of its forks.
Google deserves piracy now because a big loss of revenue resulting from their hostile practices is the only thing that can stop this enshittification process. Google will stop only when users say that it's gone too far. Scraping them, pirating them and financially damaging them is a moral duty at this point.
I remember some years ago, when I had an android phone and was using Firefox on it, Google Images would render differently on Chrome and Firefox. On Chrome, I could long press to get the context menu to download an image. If I did the same in Firefox however, an obnoxious transparent box would block the image and force me to go to source site before I could download it.
While the EU has recently forced Microsoft to allow users to uninstall pre-installed crapware, Google is apparently unhindered in their ongoing (and succeeding) mission to take control of all layers of the consumer-facing internet.
Google is working on making a premium internet based on their services that permeate the whole web which they plan to serve only to "trusted devices" running Chrome - I do not think this is going to work out well for them.
I hope not, but I suspect they will succeed. My observation is that the vast majority of people around me here in Europe see Google as completely trustworthy.
It's truly profound how split-second loading delays contribute to a negative impression about digital products. I guess we're all worn out from using our devices. Most of us just want "thing" ASAP, and we'll compulsively click 'agree' to anything that happens to stand in the way of it.
'Why don't you switch to Chrome, it works better/faster.' is not the sort of social pressure I can quickly respond to with my privacy concerns. And it's not like I'm not going to get an eye-roll or tin-foil-man comments from the mom-pop-type people in my life.
I hope not, but they are certainly trying. I fear they have become an uncontrollable behemoth which have failed to identify alternative business models to their unsustainable ad business, and now they are trying to perform a major power grab to basically take over the web and force people to watch ads or pay.
What pisses me off about this is that people are such drones for The Google via GMail (mostly) that they don't question this since it works for them. Nevermind that Google is a user-hostile megacorp that will screw them as soon as it makes financial sense to do so.
Ever talk to someone random about Google's privacy bullshit and why Chrome is not a great browser? Nobody cares, and they think you're an idiot.
Is there maybe some road map or purpose statement on this? it’s not that i don’t believe that this is absolutely true (i’m sure it’s the wet dream of all SV companies…) but google’s offerings are so inconsistent that if that’s really their goal i just can’t see how they mean to get there. every answer to competition is a half baked answer in my experience and i truly just can’t see how google means to do this. google plus i thought was supposed to be this but that did not pan out well at all.
and i also don’t see how they can really do this at least in EU, at least not for long until the regulators catch wind.
Chrome have been the IE6 situation all over again for a while now, except this time it's possibly too late to walk back. They are pretty much done taking over the standard.
To be fair, the IE6 problem wasn’t just massive usage, it was massive usage plus complete stagnation.
Chrome has high but not massive usage, and it hasn’t stagnated. It has a separate problem though: the lack of stagnation is actually a drive towards Google’s somewhat unhealthy vision for the web.
I support the enforcement of anti-trust laws against Microsoft, but I am at the same time puzzled at how much Google is allowed to get away with. They are simultaneously maintaining the biggest browser platform while also being the biggest content and advertisement provider, AND they have a major influence on the development of web standards, AND they control the development of a major OS (Android) for accessing the web, where their browser comes pre-installed. And now they are actively exploiting their position and trying to sabotage the competition.
My point in highlighting it is that I think there is a lack of enforcement of anti-trust laws and/or a lack of laws that would prevent Google behaving in this way, since I think it is so much worse than what Microsoft has been doing with Windows not allowing users to uninstall crapware.
Chrome has been the new Internet Explorer for a bunch of years already.
And even people who lived the horror days of "We need to support IE6 because the client wants so" and "ActiveX is a good choice for web pages" are complacent.
Please, for the love of all that's good in the world, use ANYTHING but a Chromium-based browser if at all possible.
Software that's not getting any attention will be ok as it won't get python upgrades.
Software that is getting attention has a nice long warning period and fixes may not even cause any trouble at all if the code is ok and there are unit tests.
New software won't have a whole class of timezone problems because people will use the better API to remove the warnings.
I cannot see what the big problem is - much more troublesome things happen in Go all the time. Python isn't a huge for-profit company like Google or even MS which has to dedicate efforts to ensuring that games from 1992 still run in 2023.
Youtube is a very toxic environment. Even "informative" content is often toxic, but in a very subtle manner.
At google They may be not respecting the web but they are doing firefox users a favor. If you really need to see a video, five seconds won't make a difference. If you don't need it, five seconds may remind you that you don't really need it.
From reddit discussion (https://www.reddit.com/r/firefox/comments/17ywbjj/comment/k9...):
> To clarify it more, it's simply this code in their polymer script link:
> setTimeout(function() { c(); a.resolve(1) }, 5E3);
> which doesn't do anything except making you wait 5s (5E3 = 5000ms = 5s). You can search for it easily in https://www.youtube.com/s/desktop/96766c85/jsbin/desktop_pol...
That is not correct. The surrounding code gives some more context:
As far as I understand, this code is a part of the anti-adblocker code that (slowly) constructs an HTML fragment such as `<div class="ad-interrupting"><video src="blob:https://www.youtube.com/..." class="html5-main-video"></video></div>`. It will detect the adblocker once `ontimeupdate` event didn't fire for 5 full seconds (the embedded webm file itself is 3 seconds long), which is the actual goal for this particular code. I do agree that the anti-adblocker attempt itself is still annoying.
For the completeness, the omitted Uint8Array is the following 340-byte binary (here in base64):
VLC somehow refuses to play it, but its nominal length can be verified with a short JS code like:
I couldn't reproduce the 5s wait in multiple scenarios in Firefox (various combinations of being logged in / not being logged in / without adblocker / with adblocker) and couldn't reproduce a 5s wait time in any of them, it played back immediately in each case (when without adblocker, using a second video to have one start without ad). I tested on Linux.
What exact combination of circumstances is required to trigger the multi second wait time?
5 replies →
It is still better to wait 5s without ad than with ad.
3 replies →
Okay, I'm sold on the delay, but where's the code that detects non-chrome?
Do they serve different js based on the user agent header? If they delay chrome too there's no foul.
3 replies →
Why is it only trying to detect ads when the user agent is Firefox?
https://old.reddit.com/r/firefox/comments/17zdpkl/this_behav...
18 replies →
if it’s anti-adblock, does it run even with premium?
[dead]
[flagged]
4 replies →
I'm not even mad about Google making my artificially wait 5s for using firefox.
I'm mad that such a big company with suposelly decent engineers, are making me wait 5s with literally a sleep, how is even possible to do such thing in such a rudimentary way? I would be like damn that was smart, this feels like, seriously this is the level?
IMHO, this kind of things are not done by engineers.
When company gets a backlash from public: "oops, we forgot to clean up all parameters of feature flag and it accidentally impacted Firefox"
28 replies →
Because it works.
Good engineering isn't about being obtuse and convoluted, it's about making stuff that works.
11 replies →
Speaking as someone who only very occasionally does browser related programming, what is the supposed sin committed here by implementing it this way?
11 replies →
You're mad that they're using a function for its intended purpose?
It is not literally a sleep though, isn't setTimeout more like a creating a delayed event? (I am not a webdev)
2 replies →
Maybe the engineer that was tasked with implementing was annoyed with the task and did it on purpose this way.
I'm more mad about the complete failure of regulators to break up an obvious monopoly than I am with the engineers (though they're not saints either)
At least they didn't rewrite the sleep code to do crypto mining.
Reminds me A Ticket to Tranai by Robert Sheckley where they deliberately asked to slow down robots in order for people to be angry and destroy them.
Google employs 30000 engineers, it's impossible for them all to be decent.
follow the money
employees will follow orders, orders are made by people who control the money
This is interesting as I had noticed this happening to me (in Chrome) when the anti-ad-blocking started. I assumed that it was YT's way of "annoying" me still while no ads were shown... It was eventually replaced with the "You cant use Adblockers modal" and now I just tolerate the ads.
So I wonder if that 5s delay has always been there.
When I ran into the adblocker-blocker (Firefox + uBlock Origin), I noticed that I could watch videos if logged out. So I just stayed logged out, and haven't seen an anti-adblock message since. Or an ad.
Added bonus, I'm less tempted to venture into the comments section...
8 replies →
It's weird but I saw the anti-blocker modal a week or two but them it stopped appearing and never saw it since shrug
2 replies →
Another way I noticed is good at skipping ads when adblocker fails is to refresh the page. When it loads again it does not play the ad.
It's still trivial to block ads, but the delay has recently started for me, after never happening before. So presumably a very intentional volley in the ongoing war to own your attention.
I still use adblockers perfectly fine on Youtube. There was never a real interruption in adblocking either. You just need ublock origin + bypass paywalls.
4 replies →
Just install adblocker?
7 replies →
How is this not blatant anticompetitive behavior?
Capitalism as it exists is, at its core, anticompetitive.
This is happening to me in Chrome as well so I don't think it's tied to the browser you use.
Curiously it happens only on one profile, in another Chrome profile (which is also logged in to the same Google account) it does not happen. Both profiles run the code in your comment, but the one that does not have the delay does not wait for it to complete.
The only difference I spotted was that the profile that loads slowly does not include the #player-placeholder element in the initial HTML response. Maybe whether it sends it or not is tied to previous ad-blocker usage?
What does piss me off is that even if you clear cookies and local storage and turn off all extensions in both profiles it still somehow "knows" which profile is which, and I don't know how it's doing it.
Is the use of the "E" notation common in JS? I can see that it (could be) less bytes, obviously more efficient for bigger values... Looking at the script I can see it is minified or whatever we call that these days. I guess my question really is: did someone write "5E3" or did the minifier choose it?
(Sorry this is heading into the weeds, but I'm not really a web developer so maybe someone can tell me!)
Because 5E3 is shorter than 5000, just like you can often see !0 to get "true" in minimize code because it saves two characters.
4 replies →
I wonder if this actually decreases the byte over wire. 5000 compresses a lot better.... sorry for OT
1 reply →
Almost certainly the minimizer
Totally possible that the minifier did this, yes.
How/When does that script get loaded? It’s not showing up in my network tab. Videos also load instant as usual.
Trying to be charitable here: could this be a debug/test artefact that inadvertantly got into production?
Unlikely. Google has been breaking non-Chromium (or sometimes even just non-Google Chrome) browsers for years on YouTube and their other websites. It was especially egregious when MSFT was trying their own EdgeHTML/Trident-based Edge. Issues would go away by faking user-agent.
7 replies →
> Trying to be charitable here [...]
There is no reason for charity with such a large power difference. For Firefox, "bugs" like this can really end up being a lost one-shot game.
It's like people walking by and casually reaching for your phone. It's always meant as a joke, unless you don't pull it away fast enough. Then suddenly it wasn't a joke - and your phone is gone.
This is not rooted in any reservation against Google in particular. If you are a mega-corporation with the power to casually crush competitors, you should really want to be held to a high standard. You do not want to be seen as the accidentally-fucking-others-up-occasionally kind of company.
Without studying the minified code I wouldn't assume malice just yet, this could be just an inexperienced developer trying to lazily fix some browser-specific bug, or something that accidentally made it to production like you say
11 replies →
If, with Youtube size, they do not test on Firefox, this is as much malice as doing this deliberately.
If you are fluent with the terminal, you don't need to suffer from the YT Web UI. Install mpv and yt-dlp. Play videos like this:
Option in brackets is optional.
This is the way.
I really don't understand why any technically proficient user would willingly use any of the official YouTube frontends. You get bombarded with ads, you're constantly tracked and experimented on, and your behavior is used to improve their algorithms in order to keep you on the site for as long as possible. It's a hostile user experience, just like most of the mainstream web.
Whenever possible, I suggest using Invidious, Piped, Newpipe, yt-dlp, and anything but the official frontends.
I try to compensate the creators I follow via other means if they have an alternative income source, but I refuse to be forced to participate in an exploitative business model that is responsible for the awful state of the modern web.
>I really don't understand why any technically proficient user would willingly use any of the official YouTube frontends.
I'm a technically proficient user that's written custom bash scripts for youtube-dl combined with ffmpeg to download videos locally and I still use the official Youtube desktop web browser UI every day for several reasons:
+ transcripts and close-captioning (use Ctrl+F search for text to find the section of video that starts talking about the topic I'm interested in)
+ many videos have index of chapters (deep links), table-of-contents
+ viewers' comments (especially valuable for crowdsourced feedback on DIY videos to point out extra tips, or flaws, etc)
+ external links mentioned (Amazon links to products is especially valuable for DIY tutorials)
+ convenient hot links to related videos (part 2, part 3, etc). Not every creator makes "playlists"
+ Youtube web UI has superfast video scrubbing of the timeline. A local video player like VLC scrubbing of the timeline is very slow compared to Youtube because the youtube backend pre-analyzes the entire video and generates a bunch of timeline thumbnails at multiple intervals. This makes the Youtube web UI timeline scrubbing very fluid with responsive visual feedback.
I like downloading with yt-dlp but I also lose a lot of functionality when I watch videos in VLC instead of the Youtube desktop webbrowser UI. The above points are not relevant to the terrible Youtube app on mobile and tablets.
4 replies →
> I really don't understand why any technically proficient user would willingly use any of the official YouTube frontends.
- Because I don't see ads with YouTube Premium
- Because I add things to my playlists
- Because I more often than not find interesting things to watch there
- Because I like using it on my phone or TV
There's a lot of reasons why someone would prefer the official apps over some third party app that might break every few months.
2 replies →
The web frontend just works. The other frontends tend to have issues, which even if they're not deal-breakers are annoying. I won't put ideology over using what works best. And clicking a link, then clicking play, beats copying the URL then pasting it into a command line.
Of course this only works because by default (since I have an ad blocker anyways) I don't get bombarded with ads on the web frontend, and so far I've seen the adblocker nag screen once (a failure which uBlock Origin seems to have swiftly corrected).
Because I don't want to fuck about working against the platform, opting myself into something that'll break at any moment.
I would much rather put up with Youtube than be frustrated when my 'alternate frontend' one day breaks and i need to figure out a workaround.
Because using the website is a better experience. None of those tools worked with Sponsorblock last time I tried, for one.
I don't want to yt-dlp every video, Piped and Invidious both have awful frontends in comparison, even the Newpipe dev admitted to using Vanced at some point, and yt-dlp needs some massaging to get the right video quality (and it can't download some videos at all).
If any of your solutions were better for the majority, the majority would be using them. Youtube's ad blocker war is making the platform worse for everyone, but having a couple of billions of developer power behind your platform still beats any open source video players built for fun.
2 replies →
Or use any of the many alternative YouTube frontends: https://github.com/mendel5/alternative-front-ends#youtube
Are there any alternatives for iOS?
One feature it lacks is seek bar previews. There are thumbnail scripts but they don't use the available youtube thumbnails.
I implemented downloading of youtube thumbnails for one of these scripts.
https://github.com/marzzzello/mpv_thumbnail_script
I think you’re missing the point. How can I browse Youtube in mpv?
In addition to Piped, and Invidious, mentioned by sibling comments, which allow you to subscribe, search, and provide recommendations, you can use a complete CLI workflow with something like ytfzf[0], or, you can use the search commands on yt-dlp[1], which are also accessibly through mpv using the ytdl:// prefix.
Getting familiar with such tools not only replaces the terrible UXes you have to be subjected to, but also gives you the power and freedom to be creative with how you use Youtube and other online streaming sites.
I wrote various tiny scripts to replace all my needs for Youtube search, using any highlighted text, with a shortcut, Youtube Music, with a synced plain text file of song titles and a shuffle-on-read script, and more curiously, a script to help me slowly go through all thousands of my partner's favorite songs, and then, using shortcuts, add them to my own favorites, decide on them later, add them to the "what the heck do you listen to" friendly banter list, or the "my ears bleeding" list, etc. Much better UX then anything the slow web UIs can offer, and with minimum hacking.
[0]: https://ytfzf.github.io/
[1]: https://github.com/yt-dlp/yt-dlp
Use Invidious, Piped or any other frontend that doesn't track and manipulate you.
1 reply →
What do you mean by "browsing" Youtube? Clicking new links for the purpose of entertainment?
My post was only about playing videos.
3 replies →
Thanks for this pointer--I hadn't heard of mpv, but it works amazingly smoothly.
Using firefox I get "instant" youtube. The video starts playing before most of the rest of the UI has loaded even, definitely under 1 second.
Any idea what specifically causes it to happen, rather than just "firefox"?
An up-to-date adblocker blocker blocker, most likely. Paying for Premium may also do it.
I've gotten that really slow UI loading almost always lately and I've always assumed that it's because I'm running uBlock Origin.
Although I just tried opening two videos and both opened basically instantly.
Oh, and they also falsely show "4K" in the video quality icon, but "accidentally" play a 720p or even worse quality stream. If you manually select the 4K stream quality, then and only then will YouTube deign to show 4K to you.
Something related to this which I find extremely frustrating is that I'm capable of watching a 4k video in my browser just fine. So if I decide to buy or rent a movie on youtube, they can only be played back at 420p.
Apparently this is due to DRM restrictions, but the frustrating part is that you can pay extra money for the HD version and there's nothing telling you about this not being supported in your browser until you've made the purchase (by just allowing 420p and needing to search for why it's broken)
see https://www.reddit.com/r/youtube/comments/pm0eqh/why_are_my_...
This sort of behavior should be an open-and-shut case of false advertising. You were told that the video would be a certain resolution. You gave money as a result of that statement. You received an inferior product to the one that was described.
5 replies →
Buy a movie on YT or DVD, and then... watch a torrented version? This isn't the future we were promised, but it sure is the future we have.
7 replies →
Netflix does the same thing. Actually, speaking of infuriating corporate bullshit, allow me to go on a rant about Netflix and subtitles.
They give you the option to choose between like four, maybe five languages. That's it!
If you want subtitles in any of the other hundred or so languages that they have available, well... no. Just no. Learn one of the four they've picked for you.
If you call their support, they'll gaslight you and mumble something about "copyright", which is patent nonsense. Copyright doesn't restrict Netflix from showing more translations for their own content that they made themselves. They own the copyright on it, which means, literally, that they have the right to do whatever they please with the copy. Including showing the associated subtitles to you.
You see, what actually happened, is that some too-smart UX guy at Netflix couldn't make a language picker look nice for that many options so he asked a too-smart data science (lol) guy to figure out the most common languages for each region.
Here in Australia they picked English, Italian, Vietnamese, Chinese because we have a lot of immigrants from those countries. I'm sure they used very clever algorithms on big data clusters to figure that out. Good job, well done.
Never mind that every other streaming app vendor figured this out. Netflix and their $500K total comp Stanford or wherever graduates couldn't. So they instructed their call centre staff to lie to their customers.
Then they had someone write this idiocy: https://help.netflix.com/en/node/101798
"If subtitles for a title are offered in a language but do not display on your device, try another device."
Oh, oh, I'll go do that right now! Let me try my PC... nope four languages. On the TV? Four languages. Actually, I have a phone... and... oh... four languages.
PS: Thai (only!) subtitles are "special" and use eye-searing HDR maximum white. Like 1,600 nits white that literally leaves green after-images etched into my retina. They have a support page and a pre-prepared set of lies for the support staff to read for that piece of shoddy engineering also.
15 replies →
https://www.youtube.com/watch?v=o4GZUCwVRLs
By the way, it is 480p. 420 is for something else :)
1 reply →
That has irked me for quite some time. I always manually select 1080p, because sometimes YT claims it's already playing 1080p, but it's obviously not and the video starts buffering anew when I select 1080p manually. Quite annoying
Roughly around the same time as the anti-adblocking effort, youtube started just not playing the video stream for me much of the time. I say play a video, it will start playing the audio, and the video will just be a frozen image.
In unrelated news, my youtube-dl usage is way, way up.
Get the "Enhancer for Youtube" extension, among many adjustments, it does this clicking for you.
I also had this issue, videos would frequently wobble down to like 240p or whatever, on a stable, high speed wired connection.
It's not an internet problem since I never have to buffer when using this forced setting, so it's probably YT trying to save a few bandwidth bucks when they think people aren't looking.
Enhancer for Youtube allows you to select a min quality, also great for blocking shorts.
I haven't see this other than for brief periods during quality switching (it seems to play out the current buffer in lower quality but new chunks are downloaded at the displayed target quality). However for some reason it does often just load at a very low (sub-720p) resolution and I need to manually up the quality or it will never get to the highest quality (I'm watching on a 4k monitor with great internet and hardware decoding, 4k has never stuttered for me).
I remember them starting to do automatic lower-quality streams when this came out[0], but I'm not sure if this is still the cause for the situation. It could be a general "we see this ISP/ASN failing more often with x many concurrent 4k streams, let's throw some people on 720p and see if it helps".
0: https://www.pcworld.com/article/398929/youtube-defaults-to-l...
I have personally noticed this many times. I’d blink and wonder if it was just my eyes going bad but nope, soon as I select HD quality manually I can read text again.
Yeah, this has bothered me for a while. Switching to alternative youtube interfaces solved that problem :)
It doesn't help that 720p quality seems subpar (to me) compared to some years ago.
Wait, that's a Firefox-only issue ?!
No, it does it on Chrome too.
I have a hard time believing that's actually what's happening. If they wanted to slow down other browsers, why would they choose this easily discoverable way? They could have easily slowed down serving of JS files (and other assets) based on the user agent to a similar effect. It seems more likely this is just a debug snippet that has made it into production by accident.
If I was working at Google and I was tasked with doing that, I'd half ass it too
I mean it could be that the programmer wanted it to be discovered to draw attention to Google managers' shenanigans but that seems kind of far fetched.
ah yes, the fact that they are sabotaging other browsers in a very obvious way is actually proof that they didn't meant to sabotage other browsers!
> They could have easily slowed down serving of JS files (and other assets) based on the user agent to a similar effect.
And that is /not/ easily discoverable??
I would argue it's a bit harder to find if the youtube backend serves files slower for certain browsers. One could even radomize it and sometimes still serve it fast or something. Since you cannot look at the backend code it would be hard to proof anything.
https://www.thinkwithgoogle.com/marketing-strategies/app-and...
Seems odd to do something so brazen while also publishing information that (could) prove intent.
Google also modifies how business information can be accessed from Firefox Mobile. You can't read reviews easily from Firefox Mobile. At least not my install.
That's because it's not actually what's happening. I'm all for bashing bigcorps and especially ad empires but reddit folks confused correlation with causation here.
The code in question is part of a function that injects a video ad (that plays before the start) and the code itself is just a fallback in case it fails to load over 5 seconds so that video page doesn't break completely.
Why was this affected by user agent change? My best guess is that on some combinations they somehow decide not to show any ads at all (for now) and therefore this function is not called and some other code path is taken. This is consistent with my own experience with the recent anti-adblock bullshit they implemented. The banner was not being shown after user agent change implying it's one of the considered variables.
You can verify all this if you click 'format code' in browser debugger.
That makes sense and explains why it seemed so odd.
I don't use YouTube so the comment was more of a way to bring up the other behavior in business reviews. It seemed relevant.
Edit: reviews are also broken(for me) on Firefox desktop with no extensions enabled and with ublock enabled.
The code also returns 0 if the advert loads and 1 if it doesn't load. In other words, it detects adblockers.
I use Firefox, and Google's sites are literally the only ones where I consistently have issues. There was a period of about a month this summer where Google Maps was just completely broken for me, the map wouldn't update at all when attempting to search or pan. There was recently a several day span where chat in Gmail had a 10+ second input lag due to some font-related JavaScript code spinning the CPU nonstop. It's literally gotten to the point where I keep a Chrome window open and use it exclusively for Gmail, Google Meet, YouTube, and Google Maps.
It's pretty obvious from the outside that supporting Firefox is not a product priority for Google. It also seems clear that it's in their best interest to have users choose Chrome over Firefox. My guess is that this likely emerges from a lot of very reasonable sounding local decisions, like "prioritize testing on browsers with the most market share," but it is convenient how those align with the anti-competitive incentives.
These sounds like classic MS behaviour. It is kind of thing that ought to addressed in anti-trust case.
I've posted this here on HN numerous times over the years, and it's been a while since I last posted it:
Google is the new "Microsoft", they embrace, they extend, then extinguish. Look at their email offering, messaging offerings, they built on top of XMPP, then they pulled the plug eventually. Android is Linux based, but insanely proprietary, the app store is not open by any means, you're fully at their whims to get your apps on there. Chrome is basically the IE of old, implementing proprietary things or APIs that are not yet standard for Google products, and pushing out competing browsers.
2 replies →
A few weeks ago I posted on here about the maps lag, and it literally felt like it was fixed after the comment got some attention.
There's 100% targeted de-optimization for firefox users and the burden of finding it is on the users it seems.
Not to diminish the other sketchy stuff Google's doing, but I think the maps lag issue might actually be Firefox's fault. Whenever it happens to me WebGL stops working across all websites and restarting the entire browser fixes it. It's almost like when Firefox has been open a long time it just forgets how to use graphics acceleration.
1 reply →
i believe for anything non-Chrome? Even Vivaldi has issues with some Google products.
Recently, play store images don't load (about 60% - 80% missing per app) in Firefox.
It is fascinating, how the simplest things on websites can be made arbitrarily involved, convoluted, over-complicated. And how those over-complications can then serve as a credible deniability.
You're basically looking at testing being done on Chrome (because it is Google's, and because of its large market share), Safari (because it runs on a large percentage of completely exclusive platforms where the customer can't switch, and because of its large market share), and Edge (because there are still many corporations that do "Nobody ever got fired for choosing Microsoft" and lock down browser options to just Microsoft's offering).
At this point, Firefox is very much an also-ran on two axes: market share is tiny and nobody forces it on their captive audiences. We may as well ask why Google isn't optimizing testing on Opera, or Samsung Internet.
(There is also the issue of under-the-hood engine. Since so many browsers have converged on a few core and JS stacks, testing on one exemplar of that stack has a tendency to suss out bugs in the other stacks. Firefox still being its own special snowflake in terms of JS engine and core means it has more opportunities to be different, for good or for ill. So there's a force-multiplier testing the other browsers that one lacks testing Firefox).
Spotify web doesnt work good on Firefox.
Need to call out them.
I'm basically forced to use Chromium on Linux.
Using Google sites with a VPN on Firefox has been really annoying for the past couple of months as well.
Gmail has recently become extremely slow for me in Safari on a well specced M1 max
Same here on Firefox, for both my laptop running Windows 11 on Alder Lake, and my desktop running Ubuntu on Zen 2.
I had the same Gmaps issue, I disabled LocalCDN for the site and panning etc worked again. Apparently the addon must be fixed to account for whatever they were doing.
I use Firefox across Windows, Mac, OpenBSD, and Ubuntu. I've not seen any specific issues with Google sites at all. I only really use Docs, Maps, and Youtube with any regularity but I've not really seen any of these issues.
Yea, I also haven't noticed any speed issues, but I do use noscript exclusively on Firefox.
bigquery console in ffx has like +120 latency potion
dupe?
It's clear Google is only testing for chrome engine and safari: which comprise 97% of the browsers being used. Would you increase your testing by 50% to thoroughly test for 3% of the market?
As I said, the decisions are locally reasonable. However, if not supporting Firefox potentially exposed my company to scrutiny over anti-competitive behavior, then, yes, I would absolutely invest in testing procedures to mitigate that.
It's also worth emphasizing that it isn't difficult to support Firefox. I'm pretty sure that many of the sites that I visit do so largely by accident. I do a fair bit of web development, and Firefox/Chrome compatibility has never been an issue in the slightest for me. You almost have to go out of your way to choose Chrome-specific APIs in order to break compatibility. How does virtually every other website on the internet manage it—from my bank to scrappy startups with junior developers coming straight out of bootcamps—while Google with all of their engineering talent and $100+ billion cash on hand just can't seem to make it work?
4 replies →
> Would you increase your testing by 50% to thoroughly test for 3% of the market?
I don't think you get to make these kind of cost cutting decisions when you're a vertically integrated mega-corp who also owns the browser with 65% of the market.
In most companies, when 3% represents an in-fact huge number because you have a very successful product, you absolutely do test for that 3%.
It’s tiny companies that may ignore 3% as too expensive to worry about.
Here’s another way to answer that question: do Vimeo, Twitch, Netflix, Amazon Prime, Instagram, TikTok, etc. say “let them use Chrome” or do they manage to do entry-level browser testing? The cost increase is nowhere near 50% and clearly they aren’t willing to write off millions of users – only the company with a direct financial incentive does that.
Yes, Firefox’s market share has been declining but that’s substantially because Google spent billions of dollars marketing Chrome and promoted it heavily on YouTube, Gmail, Search, etc. Deciding not to test or optimize fits neatly into the same pattern.
_I_ would in their shoes because I'm not just in it for the money and I care about the craft.
But clearly I am not them. :-) Mathematically it doesn't make sense for Google. It might make sense from an anti-trust perspective...
3 replies →
At a company at the scale of Google or Facebook, yes. 3% x N billion people = a central European country or two.
Isn't that a good deal? 50% more testing in a way that can surely be parallelized to some extent does not seem a very steep price at youtube scale.
This is exactly the same situation that web developers faced with Internet Explorer 5 and 6, and it sucked for end users!
Since they throw me "Google recommends Chrome!" adverts in my face for various of their services, even when using a chrome-based browser it's not a case of only testing for Chrome/Safari. It's active work against others.
The most interesting part from the discussion was noting it's implemented in the most basic, easily avoidable way (just spoof chrome) implying engineers unhappy with these tasks.
@dang or op, wrong link. Should be: https://old.reddit.com/r/youtube/comments/17z8hsz/youtube_ha...
I sometimes wonder if the use of Firefox is under reported just because a lot of it's users are power users, installing extensions that spoof the user agent. I know I did for a long while, making my Firefox pretend it was Chrome on a Windows machine.
This is definitely the case for anything like Google or Adobe Analytics which are blocked by the default tracking protection. You can’t compare the results directly due to bots but on sites I’ve controlled our servers saw significant disparities between the server logs and the percentages commonly reported as global share.
I'm a too proud Firefox user to do that. But not all of us are fanatics like that.
I am not getting this behaviour in Firefox 120. Tried it, logged out as well.
> setTimeout(function() { c(); a.resolve(1) }, 5E3);
The code looks like a silly concurrency bug fix, i.e., a lazy way to force ordering.
A 5 SECOND timeout for a concurrency issue? I doubt it.
It's timeout that's part of loading ads. That code isn't blocking anything. The headline here is wrong.
Or potentially a concurrency bug trigger? "One in 1000 times X takes a bit too long and causes problem Y; I'll make X take minimum 5 seconds so I can trigger Y reliably." Then fixes Y but forgets to remove the delay.
I can't believe billion dollar companies 'solve' bugs the same way as i do
The people working there are also just people like you.
1 reply →
Such fix won't sleep for 5000 ms though. In my reading it looks like a part of the adblocker detection code. (EDIT: Relocated the actual analysis to https://news.ycombinator.com/item?id=38346602 for more visibility.)
Code generally does not enter the YouTube code base without a lot of review namely (1) performance tests and (2) code reviews from multiple teams. Lines like this almost certainly get flagged/increased scrutiny. It would be very hard to imagine multiple people didn’t know about this and assign the blame to a single person.
I hope they keep this code in YT.
It will be a party for the EU to punish Google with an anti-monopoly lawsuit.
Best case: google gets forced to split up chrome, youtube and search as they obviously abuse their power.
Would be a bad day for the Internet. There's no way Youtube is financially viable without being cross-subsidised by Google's search income and running on Google's peering agreements with ISPs. Ads would be nowhere near enough to cover the bandwidth cost, which is why sooner or later any attempt to copycat it failed or went down to utter niche content.
As a JavaScript Dev, around 2010-2012 it was not uncommon to see `setTimeout(..., n)` hacks, often with n=0 but sometimes even n=1000, n=5000 into a codebase. This could workaround some bugs, and given the overall low-quality state of the JS ecosystem back then, often a last-resort.
And yes, am guilty too of committing this to prod back then. I think I haven't had a case where this was deployed in the last decade, but in the ugly SPA days pre angular v1 (and even during angular v1), where you code was this big glued-together conglomerate of various 3rd party UI libraries, this was common. Its ugly as hell, and you really had to be there at that time to understand this. But often it was just a cheap alternative, while debugging and fixing the truly underlying cause would be several man-days or even weeks.
My point being: It might have slipped their QA cracks and was at some point intended to workaround a bug of some obscure Firefox behavior. For a company at youtube's scale this is however pretty embarrassing.
> given the overall low-quality state of the JS ecosystem back then
As opposed to now?
Oh, I noticed this yesterday and assumed it was ad blocker hostility. Which I guess it may well be -- are Firefox users more likely to use ad blockers? Possibly. Certainly on Android. That doesn't strictly matter though, presumably the Youtube people try to avoid stepping on the Chrome people's toes.
Given Google is apparently going ahead with killing extensions on Chrome it's not hard to imagine some scheme where a guy is just lookin' at'cha merchandise and happens to be carryin' a baseball bat is all -- you can't really blame him for some spillage, right? (make using Firefox painful to try and push people to Chrome). Before crippling Chrome? Sounds ridiculous, but one can't help but wonder...
Thinking about some more, the point could actually be to make users question if its because they have an ad blocker not even actively blocking anything, but simply installed. Some number of users may uninstall their ad blocking extension to see if it makes the lag go away.
I'm getting such a pause also in Chrome since a few days, I was assuming that it's fallout from the adblocking wars though (I use uBlock Origin and don't get the nag screen anymore since around the time that pause appeared)
Yup, same here — I see the same delay in Chrome now and then.
I guessed it was due to the cat-and-mouse adblocking prevention between YouTube and adblockers (I'm also using uBlock Origin).
Assume this is supposed to be the link: https://old.reddit.com/r/youtube/comments/17z8hsz/youtube_ha...
On a completely related note, the UK's Competitions and Markets Authority has recently been flexing its muscles on digital markets. You may wish to know of this URL, specifically for reporting anti-competitive practices: https://www.gov.uk/guidance/tell-the-cma-about-a-competition...
This just... isn't happening for me? My only extensions are UBo, Return Youtube Dislike and Sponsorblock, so I presume a UBo filter is either fixing it or the change isn't rolled out to all users yet.
The UBo team commented on the Reddit thread that they were looking into it. So it may have already been fixed.
Using a browser devtools performance profiler could confirm this. I highly doubt there's a 5 second setTimeout in youtube. More likely switching of browser technologies based on user agent.
You might be surprised.
https://old.reddit.com/r/firefox/comments/17ywbjj/whenever_i...
The second I saw reddit as the source I knew this was going to be incorrect.
I would need to see a Firefox UA warm cache reload in the same video before I put any stock in this. This aligns to perfectly with the “But Google evil” narrative for me to believe it uncritically. Alas, I don’t trust the internet anymore.
I wrote an email to Electronic Frontier Foundation and European Digital Rights collective asking them to file a complaint against Google because of this unjustified slowdown. I advise other readers to consider doing the same.
Interesting thought that I had, that is probably not true but interesting anyway.
Is this a move by Google to boost Chrome usage numbers. Although it is a terrible way to do it, many organizations still count views by looking at User-Agent. Google makes Youtube work worse if you report a non-Chrome UA, but all you have to do is report a Chrome UA and then it works perfectly fine. Suddenly a lot of people who were using FF now look like they are using Chrome because the UA has changed.
They then use this as proof that no one should bother developing for anything other than Chrome because no one uses anything but Chrome, because all the FF users spoofed their UA to make it look like Chrome because Google purposefully cripples their site if you aren't using Chrome.
I doubt there was that much aforethought, but it is a nice win for Google regardless.
In the meantime I'll still just be sitting here telling websites I use IE 6 or Netscape Navigator to mess with web admins.
Another "Youtube is doing shit" thread and yet not a single mention of Peertube.
https://joinpeertube.org/en
So for all people uploading videos, please have a look at Peertube. It is to Youtube what Mastodon is to Twitter. (and more: it is compatible with Mastodon, one can subscribe to your Peertube channel through his/her mastodon account).
I’m not arguing to leave Youtube completely but to offer an alternative to your audience. Please join peertube.
I'd love to see real competition to YouTube. I'm afraid this seems not, the UX isn't great, homepage is useless, you need to click on Browse content then enter some keywords on a blank page, search results limited to 2 items and then you need to click on "Display more videos". I might be to used to youtube homepage, for me it's perfect I get videos right away and suggestions are good. I'm pretty sure this project, Mastodon and others are in good will, but they lack great ux/ui, it seems to me that ux isn't even researched, how can it be a viable competitor?
I don't need it to be a competitor; I don't even want it to be a competitor. I just need it to exist and get some quality, modest use like the rest of the fedeverse.
> I'd love to see real competition to YouTube. I'm afraid this seems not, the UX isn't great.
What do you call YouTube's UI then? Any Peertube instance I used has better UI than YouTube. Most websites have. Because YouTube UI is atrocious and one of the most user hostile UIs I have used.
> search results limited to 2 items
Not sure what you are talking about. Is this an exaggeration? It is not clear via text-only to me.
Please send this to the Peertube developer. Consider also that until recently it's likely that having videos load fast on peer2peer and adding features like streaming likely had a higher priority than interface polishing.
But you might be asking for something impossible : the focus is on the different servers, and having a "suggested videos" page is seen as an anti-feature because it involves making an "algorithm", at which point you are editorializing, become (legally !) responsible for what you select, and are close to become a platform yourself, something that you started out by fighting in the first place !
1 reply →
https://rumble.com - "The free speech alternative to Youtube" even
YouTube's market hold is unfortunately circular; no uploader on the platform will risk splitting their audience to a platform nobody goes to, and because of that, new platforms are unable to grow.
That aside: I also doubt most peertube instances can withstand the bandwidth costs of seriously hosting a few moderately succesful YouTube channels.
> no uploader on the platform will risk splitting their audience to a platform nobody goes to
cough nebula cough
1 reply →
Content makers already do multi uploads on various platforms
I think Rumble [1] is the most valid competitor at the moment.
[1] https://rumble.com/
That's some off-putting content to show new users. I suspect they're an ideologically driven platform?
*edit, their press release section removes all doubt.
1 reply →
People on reddit have posted videos of this happening in chrome, I think it's possible this is actually just a bug and not an evil scheme.
I noticed Youtube started doing this in the last couple days, and I use FF. What a silly thing to do, about as juvenile as a company can be.
It's been happening on Chrome as well for the past few days so I wouldn't be so quick to jump to conclusions.
Can someone check gmail as well? It loads so slowly under firefox.
I don't understand this. If people don't want to or need to buy anything and they don't want to see ads, because this is pure simply a distraction and won't sway them into buying anything, then what is the point of forcing them to watch ads?
Furthermore, I wish regulators have gone at YouTube like a ton of bricks. The ads they show are mostly from various kind of scam artists. My friend is a bit naive, but fortunately she asked me for an opinion whether she should invest her savings into the programme offered by one of "gurus" advertising on YT. She even gone on a few of their webinars and became as you would say, brainwashed. The kind of way you see in a cult. Fortunately there was still some worry running around her and she asked me to check before transferring £20k. You can't imagine how much effort it took to tell here these guys are fraudsters. Now she is onto another scheme and now she tells me that I just don't want her to invest the money, because I think everyone is a fraudster and these are the good guys! Then she showed me testimonials from apparent "clients" how they got rich. One person looked familiar and I actually found them on Cameo. She tried to say maybe this is just that person's side gig etc. and she does not talk to me.
I really really hope someone or some organisation get to the bottom of this kind of harmful and dangerous content.
YouTube is a scammers paradise and YouTube wants more people to fall for these things.
The point of forcing ads onto users who don't want to see them and won't buy anything from them, is that the advertisers will still pay Google. In the long run, their CTR will suffer, but it will be consistent across advertisers. If they're paying per click then nobody loses except the user, who Google is betting actually will click on some ads (meaning they're basically engaging in psychological warfare, or at least rewarding the advertisers who do). And if they're paying per impression, then advertisers will see conversions go down in the long run, but Google might think the increased volume will make up for it.
> I don't understand this. If people don't want to or need to buy anything and they don't want to see ads, because this is pure simply a distraction and won't sway them into buying anything, then what is the point of forcing them to watch ads?
Age-old question. It's not that simple. Those ads have an effect on you whether you "want to or need to buy anything" or not.
I noticed this one and it did come to mind that it was, ahem, targeted
overlords: I'll give up youtube entirely rather than watch ads/contribute towards your revenue
I don't use firefox but have noticed a strange delay occurring during the past day or two. Wondering if it's coincidence. I use ublock origin, so maybe youtube's detecting its presence somehow and forcing a delay? (ublock is up to date so I don't get the message from youtube telling me to stop using adblockers - perhaps this is their next attempt to annoy people into paying/allowing ads?).
Just being real here for a moment - Firefox probably wouldn't exist if Google didn't give them millions, so the continuing existence of Firefox is thanks at least in part to Google taking them on as a project.
Now secondly, Firefox does have some very real performance bottlenecks that other browsers do not have. This means (and has been my experience already) that you can build experiences in all other browsers that are buttery smooth and nice, but that will cause crashes in Firefox. In my own work, to get around this I ended up making my product inferior in all browsers so it would not crash Firefox. But if I was big enough and had a team of more than 1, could I have implemented a solution that worked in Firefox and another that worked in other browsers, and delivered the best experience I could to all users of all browsers?
There's no need to jump to malice on Google's part if what they're doing is legitimately in an attempt to ensure that Firefox users have the best experience overall.
I don't like to jump to conclusions, but I'm going to jump to malice if their purported solution for user experience is time.sleep(5) based on a user agent lookup, and conditional on when their antiadblock fails to work.
Evidence for your claims?
This is why you don't let a single corporation control more than half the internet, and more than 75% of the browser market
I recently got a new Mac and didn’t install Chrome. I now only run Firefox and Safari. For a company so big, it’s embarrassing to see their websites and products be some of the poorest run on my computer now. It’s quite obvious that they at least optimize it for Chrome if not de-optimize it for other browsers.
And that is why these giant companies should be split apart.
Do people still really use the Youtube web site or official clients? They have done everything in their power to ruin the user experience in favor of guiding you to promoted content. Endless vlogs of people reviewing products. "Content" that's just somebody walking around and eating. And it's been a while since they changed the search function, now you get a few results, then an infinite scroll of promoted videos most of which aren't even vaguely close to what you searched for.
These days I can still find videos quickly and easily with DDG, which is vastly superior to Youtube itself for searching Youtube. But I worry, this will be taken away some day by Google just like everything else.
I guess this explains why some people say they use Chrome because "Firefox is slow", I've been using Firefox my entire life, and after Quantum it has been on par with Chrome in terms of speed if not faster from what I can tell. I do wish Firefox didn't stop with their Oxidation efforts, I would have loved to see it as a way to grow Rust, since as FF was developed in Rust, the language grew and evolved as a result. One key area I wish Firefox would grow in is the development tools. I ONLY use Chrome for the dev tools.
I wish Mozilla would invest way more into Firefox itself. I think Mozilla could and absolutely should consider suing Google if they're artificially slowing down Firefox.
I haven‘t tested this thoroughly, but I have a feeling that YouTube also forces worse codecs on Firefox. Codecs that can only decoder on the CPU, making Firefox seem sluggish and wasteful. This is a reason why I switched to Safari on macOS.
Glad I dropped chrome for Firefox at the beginning of 2022. It took some time to get used to it but eventually it's now my main browser. Tired of Google being such a piece of shit. Hopefully 2024 will be the year of Linux on mobile.
Anti-Trust anyone?
Wait until the EU gets their hands on this..
I also noticed this during the weekend. I initially assumed that the new uBO filters are too blame -- guess that's exactly what Google is going for with these hostile measures, and it kinda works.
Just yesterday people on here were talking about how using Adblock instead of paying for Youtube was unfair to Google and basically stealing. Is this the type of behavior you want to reward?
every post about adblockers gets a flurry of those
none ever seem to offer e.g. indemnification for ad-based malware
Sadly there is still no alternative to Youtube. Same with Reddit.
Hey, Ferhat here, I want to create an alternative for Reddit. Could you help me to build a better internet? https://discord.gg/buQmB8VJeS
I've had this slow down show up for me as well. I wonder if there's a non malicious explanation, although I'll admit I'm unable to think of a charitable interpretation.
Sometimes YouTube also disables features on my home page. For example, at the top of the home page there's usually a filter bar with various categories. I haven't figured out under what conditions this gets triggered, but there's times where the filter bar just disappears.
Maybe it played more quickly the 2nd time because assets were already cached? It doesn't look like the person doing the testing cleared cache between tries.
Debunked by the original author.
TLDC: it's related to ad blocker detection and can happen even on Chrome.
https://nitter.net/uwukko/status/1726640538613584258
that doesn't appear to "debunk" this in any way when I actually read the whole thread, you're using words oddly here
Would you have a pointer to this debunking?
It’s in the twitter thread (which I’m guessing was hidden to you because you weren’t signed in - certainly one of the product choices of all time). Seems to be an experiment condition around the new adblocking detection.
1 reply →
It's a bug they can't fix and "if you wait 5 seconds it works". Also , in 5 seconds, ad blockers are guaranteed to have kicked in
Because this wasn't visible enough: https://www.reddit.com/r/firefox/comments/17ywbjj/comment/k9...
I’ve also noticed mysterious buffering in the iOS app for YouTube for at least a few months. Even on a Google Fiber connection many videos will take a number of seconds to start, and sometimes buffer in the middle. I also have YT Premium, so anti ad blocking shouldn’t come into the picture. Videos load right away in Safari though.
Delete the iOS app and install the Vinegar Safari extension. It will replace the hostile video player with a native HTML5 <video> element. I never see any ads, I can select the stream quality, and Picture-in-Picture works as my OS intended it to.
I use Firefox on macOS Ventura, and here the video pages load instantly.
I do have YouTube Premium (paid for in India to reduce the cost), but also in an incognito window where I'm not logged in, the video pages load immediately.
Maybe it's because I use the extensions uBlock Origin and/or Disable Autoplay For YouTube?
I have been getting this same slow-down for a month or two, but using Brave - which is the same user-agent as Chrome.
I would imagine changing the user-agent at all will (temporarily) fix it, rather than to a Chrome user-agent specifically.
Probably targets ad blocking users rather than non-Chrome users.
Huh, I nearly exclusively use Brave for YouTube because it does a good job blocking ads and I haven’t noticed any slowdown.
I did see the ad nag once when I accidentally went to YouTube in safari
> For me, YouTube works equally well across Chrome, Firefox, and Edge. Other team members also could not replicate this delayed behavior across browsers.
"Reportedly" also known as: "unable to confirm but we saw it on reddit so it must be true"
I am so damn sick of "news" articles summarizing social media posts. Worse, the posts are seemingly chosen at random without even going to the effort of contacting the poster, not that such an interview would improve anything.
If I wanted to read what random Twitter users thought about a topic, I'd just read Twitter. I read news articles to learn from experts I wouldn't otherwise have access to, not random Reddit trolls, Instagram moms, and Russian Twitter bots.
Google is constantly running "experiments" in their products so even if you and your friends can't replicate it, doesn't mean that it's not happening.
Doesn't mean it is happening either especially since the code in question is still present.
At any rare you should probably confirm/disconfirm these kinds of allegations before you decide to publish it verbatim.
Using firefox 118 on Mac here and seeing no issues. Videos load instantly or near instantly.
Pretty sure Apple does something similar with iTunes on Windows. It's amazing how slow the UI is in general and how poorly the Movie watching experience is with it being incredibly slow to seek or take any inputs while playing a video.
I use Firefox and I have never had issues with Google sites. I don't know if they are picking and choosing users but I just checked and my load times for youtube are ~2 seconds for both Chrome and FF. no difference in load times.
It’s been like this for years on Firefox for me, even before they cracked down on adblockers and such. I’ve also noticed it messes with the history functionality and often breaks the back button. Getting sick of googles nonsense.
Can we have some fucking facts already? We have seen other reports of this same issue but people were using Chrome. This seems like an over-reaction. And the Reddit herd is known for being unstoppable over false-assumptions.
HN is no better. We love to jump to premature conclusions. Just look at this thread. It doesn't even link to anything (right now the submission link is https://old.reddit.com/r/youtube/login/) and yet people are automatically bringing out the pitchforks.
Seems like this is an unintentional benefit to firefox users. A small amount of friction is the difference between "I'm mindlessly watching" vs "I actually care about watching this video."
Not only that: Google's recaptcha will also ask you for dozens of captchas on firefox android (which is probably the best) way to watch youtube/use google site without ads on mobile)
f** google
On android NewPipe is a good alternative to watch youtube
Well now i'm using a user agent switcher to lie to Google about what browser i'm using. Telling them chrome, it's Firefox. Thanks for the heads-up.
I really hope the next Next Generation EU package will be entirely funded by the fines we will inflict on Google for its blatant abuse of market dominance
YouTube company should be split into two. One for client, one for infrastructure. And they should ban them from your exclusive deals with each other.
Why are people upvoting a submission without a proper link? Really shows that people are always just commenting on the headline and not the content.
It has been changed now but it was the wrong link (https://old.reddit.com/r/youtube/login/) for 3 hours with 900 upvotes.
lol, I think this ended up being one of several factors that made me switch to firefox (now vivaldi).
The "extra chance to consider your life choices and do you really want to watch this video" was a feature not a bug.
Plus now tiktok and telegram are orders of magnitude more popular than YT. Im seeing more and more creators arrive on YT as their "second choice" platform.
Oh wow. I’ve been feeling this but had ascribed it to the new ad blocker war thing.
Surely this is straight to court for anti-competitive behaviour?
Wait, so this is about the delay loading, but not why FF mobile has really poor frameretes at the start of most (non-ad) videos?
Hm, it does not correspond to my observations. I'm using Firefox and the videos load and start just as they usually do.
A/B testing? :)
Just tested this out myself. Firefox loads noticeably slower than chrome, even when loading same video side-by-side.
They’re gonna start rickrolling anyone not using Chrome next.
Unexpected side effect - Rick is now number 1 in all the streaming charts.
Time for EU to slap them in the face again
The mentioned issue that can be seen on the video has been happening to me for a day or two while using Chrome.
Google's play in order to force Mozilla to adopt new Manifest V3 and cripple adblocking.
This seems like a pretty clear-cut antitrust case. The EU Commission better go after it.
I've recently done a pc upgrade and am now enjoying 64 gigs of ram. Decided to watch a live stream on youtube this weekend.
Firefox: 22 GB of ram usage for the youtube tab after ~15 minutes. Tab became unresponsive.
Edge: Out of memory error after ~5 minutes.
Chrome: working fine, the youtube tab sitting peacefully ay 400-600 MB.
I don't know what your problem is exactly but this is not normal behavior on Firefox at least. Check your extensions to begin with, or for a quick test, try watching a video in a prvivate tab.
Just, ublock origin, a password manager, and the kagi extension for my search engine. ublock origin was installed on all browsers. I'm not even trying to watch it without ublock, as that would be an unreasonable thing to do in general.
I know this is not normal behaviour, and it's likely unintetional, but I'll be damn sure google won't bother to fix it. I'm most surprised by Edge as it's running chromium and it should share some similarity to chrome.
Not sure what is specific in your setup but I have watched numerous live stream on firefox and tab never became unresponsive. Haven't checked the ram but my laptop had half of yours and the live were running for an hour or so.
I had the same issue, it turned out to be some random addon I installed years ago. Check if the problem also occurs with everything but uBlock Origin disabled.
Use brave. The best youtube premium experience without paying for premium.
I have experienced similar delays when clicking links from google search.
Is this what has been making Firefox crash when I load videos lately?
Could someone check if this issue occurs on Youtube Premium too?
Post was deleted, possibly because it's simply not true.
They did this for years in the past, I really despise google
I thought it was my adblocker (uBlock) causing the issue.
I've been seeing this issue with Vivaldi as well
Seems relevant to the discussion here.
How Google is building a browser monopoly. https://www.youtube.com/watch?v=ELCq63652ig
setTimeout(function() { c(); a.resolve(1) }, 5E3);
The actual code. They went and actually hardcoded a 5 second delay.
or it's a background process that waits until other assets have had time to load
happens to me on chrome too with ublock.
Still not watching ads, Youtube.
Quick note:
yt-dlp + VLC speed this right up again!
garbage. just use invidious.io as a mirror. +1 to privacy. +1 to minimal javascript.
If that’s true, it is pure evil.
* Meanwhile, reddit asks me to sign up or log in to see the thread. *
Oh wait. Who thought it's a good idea to post this with a link to a login page instead of the actual discussion thread?
yt-dlp and VLC. Problem solved :@]
I said it already several times, but it's worth repeating.
Stop using the youtube.com frontend entirely. It's enshittified beyond redemption. If they could replace it with a big ads billboard with no added value while leaving their profits intact, they'll do it.
If you really have to watch some content that it's only on YouTube, use Piped, Invidious, or one of the many tools based on youtube-dl or any of its forks.
Google deserves piracy now because a big loss of revenue resulting from their hostile practices is the only thing that can stop this enshittification process. Google will stop only when users say that it's gone too far. Scraping them, pirating them and financially damaging them is a moral duty at this point.
I just want to say thank you to everyone who is doing tests and contributing to this, you are truly unsung heroes (not sarcasm)
Shit, I thought it was just me.. what a joke.
I remember some years ago, when I had an android phone and was using Firefox on it, Google Images would render differently on Chrome and Firefox. On Chrome, I could long press to get the context menu to download an image. If I did the same in Firefox however, an obnoxious transparent box would block the image and force me to go to source site before I could download it.
While the EU has recently forced Microsoft to allow users to uninstall pre-installed crapware, Google is apparently unhindered in their ongoing (and succeeding) mission to take control of all layers of the consumer-facing internet.
For now.
Google is working on making a premium internet based on their services that permeate the whole web which they plan to serve only to "trusted devices" running Chrome - I do not think this is going to work out well for them.
I hope not, but I suspect they will succeed. My observation is that the vast majority of people around me here in Europe see Google as completely trustworthy.
It's truly profound how split-second loading delays contribute to a negative impression about digital products. I guess we're all worn out from using our devices. Most of us just want "thing" ASAP, and we'll compulsively click 'agree' to anything that happens to stand in the way of it.
'Why don't you switch to Chrome, it works better/faster.' is not the sort of social pressure I can quickly respond to with my privacy concerns. And it's not like I'm not going to get an eye-roll or tin-foil-man comments from the mom-pop-type people in my life.
6 replies →
I hope not, but they are certainly trying. I fear they have become an uncontrollable behemoth which have failed to identify alternative business models to their unsustainable ad business, and now they are trying to perform a major power grab to basically take over the web and force people to watch ads or pay.
2 replies →
What pisses me off about this is that people are such drones for The Google via GMail (mostly) that they don't question this since it works for them. Nevermind that Google is a user-hostile megacorp that will screw them as soon as it makes financial sense to do so.
Ever talk to someone random about Google's privacy bullshit and why Chrome is not a great browser? Nobody cares, and they think you're an idiot.
So, Google will carry on until it's too late.
Is there maybe some road map or purpose statement on this? it’s not that i don’t believe that this is absolutely true (i’m sure it’s the wet dream of all SV companies…) but google’s offerings are so inconsistent that if that’s really their goal i just can’t see how they mean to get there. every answer to competition is a half baked answer in my experience and i truly just can’t see how google means to do this. google plus i thought was supposed to be this but that did not pan out well at all.
and i also don’t see how they can really do this at least in EU, at least not for long until the regulators catch wind.
3 replies →
Whatever their competition will be, sign me up now. I really like their products, the company itself and their philosophy not so much
Chrome have been the IE6 situation all over again for a while now, except this time it's possibly too late to walk back. They are pretty much done taking over the standard.
To be fair, the IE6 problem wasn’t just massive usage, it was massive usage plus complete stagnation.
Chrome has high but not massive usage, and it hasn’t stagnated. It has a separate problem though: the lack of stagnation is actually a drive towards Google’s somewhat unhealthy vision for the web.
1 reply →
Google, Samsung, Apple, and others have to abide by the same law, Microsoft isn't special.
I also don't understand what this law has to do with the topic.
I support the enforcement of anti-trust laws against Microsoft, but I am at the same time puzzled at how much Google is allowed to get away with. They are simultaneously maintaining the biggest browser platform while also being the biggest content and advertisement provider, AND they have a major influence on the development of web standards, AND they control the development of a major OS (Android) for accessing the web, where their browser comes pre-installed. And now they are actively exploiting their position and trying to sabotage the competition.
My point in highlighting it is that I think there is a lack of enforcement of anti-trust laws and/or a lack of laws that would prevent Google behaving in this way, since I think it is so much worse than what Microsoft has been doing with Windows not allowing users to uninstall crapware.
3 replies →
Correct Link: https://old.reddit.com/r/youtube/comments/17z8hsz/youtube_ha...
[dead]
Maybe not intentional.
Virtually everybody is using an engine based on Webkit or Blink these days. This is naturally what websites are optimized for.
[dead]
[dead]
[dead]
[flagged]
Hilarious
How come this video isn't just showing caching at work?
I haven't noticed an issue yet.
My issue at the moment is while ublock can still block ads, every video automatically pauses like 5 seconds in and I need to hit play again.
Chrome has been the new Internet Explorer for a bunch of years already.
And even people who lived the horror days of "We need to support IE6 because the client wants so" and "ActiveX is a good choice for web pages" are complacent.
Please, for the love of all that's good in the world, use ANYTHING but a Chromium-based browser if at all possible.
Software that's not getting any attention will be ok as it won't get python upgrades.
Software that is getting attention has a nice long warning period and fixes may not even cause any trouble at all if the code is ok and there are unit tests.
New software won't have a whole class of timezone problems because people will use the better API to remove the warnings.
I cannot see what the big problem is - much more troublesome things happen in Go all the time. Python isn't a huge for-profit company like Google or even MS which has to dedicate efforts to ensuring that games from 1992 still run in 2023.
Youtube is a very toxic environment. Even "informative" content is often toxic, but in a very subtle manner.
At google They may be not respecting the web but they are doing firefox users a favor. If you really need to see a video, five seconds won't make a difference. If you don't need it, five seconds may remind you that you don't really need it.
Try to see the positives