Readit News logoReadit News
ayhanfuat · 2 years ago
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...

lifthrasiir · 2 years ago
That is not correct. The surrounding code gives some more context:

    h=document.createElement("video");l=new Blob([new Uint8Array([/* snip */])],{type:"video/webm"});
    h.src=lc(Mia(l));h.ontimeupdate=function(){c();a.resolve(0)};
    e.appendChild(h);h.classList.add("html5-main-video");setTimeout(function(){e.classList.add("ad-interrupting")},200);
    setTimeout(function(){c();a.resolve(1)},5E3);
    return m.return(a.promise)})}
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.

lifthrasiir · 2 years ago
For the completeness, the omitted Uint8Array is the following 340-byte binary (here in base64):

    GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQRChYECGFOAZwH/////////FUmpZpkq17GD
    D0JATYCGQ2hyb21lV0GGQ2hyb21lFlSua6mup9eBAXPFh89gnOoYna+DgQFV7oEBhoVWX1ZQOOCK
    sIEBuoEBU8CBAR9DtnUB/////////+eBAKDMoaKBAAAAEAIAnQEqAQABAAvHCIWFiJmEiD+CAAwN
    YAD+5WoAdaGlpqPugQGlnhACAJ0BKgEAAQALxwiFhYiZhIg/ggAMDWAA/uh4AKC7oZiBA+kAsQEA
    LxH8ABgAMD/0DAAAAP7lagB1oZumme6BAaWUsQEALxH8ABgAMD/0DAAAAP7oeAD7gQCgvKGYgQfQ
    ALEBAC8R/AAYADA/9AwAAAD+5WoAdaGbppnugQGllLEBAC8R/AAYADA/9AwAAAD+6HgA+4ID6Q==
VLC somehow refuses to play it, but its nominal length can be verified with a short JS code like:

    v = document.createElement('video');
    v.src = `data:video/webm;base64,<as above>`;
    await new Promise(resolve => v.onloadedmetadata = resolve);
    console.log(v.duration);

Aardwolf · 2 years ago
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?

timeon · 2 years ago
It is still better to wait 5s without ad than with ad.
rendaw · 2 years ago
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.

FoodWThrow · 2 years ago
Why is it only trying to detect ads when the user agent is Firefox?

https://old.reddit.com/r/firefox/comments/17zdpkl/this_behav...

dmonitor · 2 years ago
if it’s anti-adblock, does it run even with premium?

Dead Comment

Dead Comment

kjhgksjdfhg · 2 years ago
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?

throwaw12 · 2 years ago
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"

kristopolous · 2 years ago
Because it works.

Good engineering isn't about being obtuse and convoluted, it's about making stuff that works.

vsnf · 2 years ago
Speaking as someone who only very occasionally does browser related programming, what is the supposed sin committed here by implementing it this way?
skupig · 2 years ago
You're mad that they're using a function for its intended purpose?
shultays · 2 years ago
It is not literally a sleep though, isn't setTimeout more like a creating a delayed event? (I am not a webdev)
_fizz_buzz_ · 2 years ago
Maybe the engineer that was tasked with implementing was annoyed with the task and did it on purpose this way.
CalRobert · 2 years ago
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)
squarefoot · 2 years ago
At least they didn't rewrite the sleep code to do crypto mining.
shmerl · 2 years ago
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.
otabdeveloper4 · 2 years ago
Google employs 30000 engineers, it's impossible for them all to be decent.
agumonkey · 2 years ago
follow the money

employees will follow orders, orders are made by people who control the money

m4tthumphrey · 2 years ago
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.

bluescrn · 2 years ago
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...

Lacerda69 · 2 years ago
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
fimdomeio · 2 years ago
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.
dbspin · 2 years ago
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.
mlindner · 2 years ago
I still use adblockers perfectly fine on Youtube. There was never a real interruption in adblocking either. You just need ublock origin + bypass paywalls.
xkcd1963 · 2 years ago
Just install adblocker?
jug · 2 years ago
How is this not blatant anticompetitive behavior?
93po · 2 years ago
Capitalism as it exists is, at its core, anticompetitive.
alex7734 · 2 years ago
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.

qwery · 2 years ago
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!)

d3w4s9 · 2 years ago
Because 5E3 is shorter than 5000, just like you can often see !0 to get "true" in minimize code because it saves two characters.
yread · 2 years ago
I wonder if this actually decreases the byte over wire. 5000 compresses a lot better.... sorry for OT
sebzim4500 · 2 years ago
Almost certainly the minimizer

Deleted Comment

Dumble · 2 years ago
Totally possible that the minifier did this, yes.
Semaphor · 2 years ago
How/When does that script get loaded? It’s not showing up in my network tab. Videos also load instant as usual.
andyjohnson0 · 2 years ago
Trying to be charitable here: could this be a debug/test artefact that inadvertantly got into production?
neonsunset · 2 years ago
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.
fwn · 2 years ago
> 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.

enlyth · 2 years ago
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
KptMarchewa · 2 years ago
If, with Youtube size, they do not test on Firefox, this is as much malice as doing this deliberately.
blueflow · 2 years ago
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:

  mpv [--no-video] "https://www.youtube.com/watch?v=X9zVjEZ7W8Q"
Option in brackets is optional.

imiric · 2 years ago
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.

jasode · 2 years ago
>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.

dewey · 2 years ago
> 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.

tgsovlerkhgsel · 2 years ago
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).

madeofpalk · 2 years ago
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.

jeroenhd · 2 years ago
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.

noname120 · 2 years ago
Or use any of the many alternative YouTube frontends: https://github.com/mendel5/alternative-front-ends#youtube
Osiris · 2 years ago
Are there any alternatives for iOS?
MrNeon · 2 years ago
One feature it lacks is seek bar previews. There are thumbnail scripts but they don't use the available youtube thumbnails.
ftk_ · 2 years ago
I implemented downloading of youtube thumbnails for one of these scripts.

https://github.com/marzzzello/mpv_thumbnail_script

sammy2255 · 2 years ago
I think you’re missing the point. How can I browse Youtube in mpv?
rozenglass · 2 years ago
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

imiric · 2 years ago
Use Invidious, Piped or any other frontend that doesn't track and manipulate you.
blueflow · 2 years ago
What do you mean by "browsing" Youtube? Clicking new links for the purpose of entertainment?

My post was only about playing videos.

beej71 · 2 years ago
Thanks for this pointer--I hadn't heard of mpv, but it works amazingly smoothly.
denkmoon · 2 years ago
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"?

jeroenhd · 2 years ago
An up-to-date adblocker blocker blocker, most likely. Paying for Premium may also do it.
Hamuko · 2 years ago
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.

jiggawatts · 2 years ago
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.
CapsAdmin · 2 years ago
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_...

MereInterest · 2 years ago
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.
bambax · 2 years ago
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.
jiggawatts · 2 years ago
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.

strombofulous · 2 years ago
By the way, it is 480p. 420 is for something else :)
TheLML · 2 years ago
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
thaumasiotes · 2 years ago
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.

kroltan · 2 years ago
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.

Voultapher · 2 years ago
Enhancer for Youtube allows you to select a min quality, also great for blocking shorts.

Deleted Comment

kevincox · 2 years ago
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).
judge2020 · 2 years ago
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...

vGPU · 2 years ago
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.
rsolva · 2 years ago
Yeah, this has bothered me for a while. Switching to alternative youtube interfaces solved that problem :)
conradfr · 2 years ago
It doesn't help that 720p quality seems subpar (to me) compared to some years ago.
BlueTemplar · 2 years ago
Wait, that's a Firefox-only issue ?!
IshKebab · 2 years ago
No, it does it on Chrome too.
frankjr · 2 years ago
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.
sebstefan · 2 years ago
If I was working at Google and I was tasked with doing that, I'd half ass it too
frankjr · 2 years ago
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.
asddubs · 2 years ago
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!
amelius · 2 years ago
> 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??

_fizz_buzz_ · 2 years ago
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.
iinnPP · 2 years ago
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.

gear54rus · 2 years ago
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.

iinnPP · 2 years ago
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.

immibis · 2 years ago
The code also returns 0 if the advert loads and 1 if it doesn't load. In other words, it detects adblockers.
foob · 2 years ago
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.

vmfunction · 2 years ago
These sounds like classic MS behaviour. It is kind of thing that ought to addressed in anti-trust case.
giancarlostoro · 2 years ago
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.

MSFT_Edging · 2 years ago
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.

Pathogen-David · 2 years ago
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.
gbraad · 2 years ago
i believe for anything non-Chrome? Even Vivaldi has issues with some Google products.
orbisvicis · 2 years ago
Recently, play store images don't load (about 60% - 80% missing per app) in Firefox.
zelphirkalt · 2 years ago
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.
shadowgovt · 2 years ago
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).

hospitalJail · 2 years ago
Spotify web doesnt work good on Firefox.

Need to call out them.

I'm basically forced to use Chromium on Linux.

1980phipsi · 2 years ago
Using Google sites with a VPN on Firefox has been really annoying for the past couple of months as well.
joelanman · 2 years ago
Gmail has recently become extremely slow for me in Safari on a well specced M1 max
ryukoposting · 2 years ago
Same here on Firefox, for both my laptop running Windows 11 on Alder Lake, and my desktop running Ubuntu on Zen 2.
ikidd · 2 years ago
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.
spicykraken · 2 years ago
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.
trinsic2 · 2 years ago
Yea, I also haven't noticed any speed issues, but I do use noscript exclusively on Firefox.
whalesalad · 2 years ago
bigquery console in ffx has like +120 latency potion
waveBidder · 2 years ago
dupe?
taylodl · 2 years ago
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?
foob · 2 years ago
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?

davemp · 2 years ago
> 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.

hotnfresh · 2 years ago
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.

acdha · 2 years ago
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.

beej71 · 2 years ago
_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...

frob · 2 years ago
At a company at the scale of Google or Facebook, yes. 3% x N billion people = a central European country or two.
ben0x539 · 2 years ago
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.
emddudley · 2 years ago
This is exactly the same situation that web developers faced with Internet Explorer 5 and 6, and it sucked for end users!
sgift · 2 years ago
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.

Deleted Comment

Deleted Comment

Deleted Comment

mighmi · 2 years ago
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...

rsolva · 2 years ago
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.
acdha · 2 years ago
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.
kzrdude · 2 years ago
I'm a too proud Firefox user to do that. But not all of us are fanatics like that.