News for hackers. Stuff that matters.
Re:YouTube change served lower-quality video to Firefox 43 f... by jimrandomh on Sunday January 10, 2016 @07:25PM (#10877967)
Browsers identify themselves with a user-agent string, and the user agent strings are a giant disaster of technical debt resulting from a long history of browsers working around buggy websites and websites working around buggy browsers. Browser video is also a giant disaster of technical debt, and YouTube uses the user-agent string to determine which ways of serving video will work and which ones won't. Presence of bugs here is no surprise, and any such bugs will naturally impact some browsers but not others.

So, a bug in YouTube's compatibility-autodetection caused it to fall back to a slower, bitrate-limited fallback method that it didn't need to, for some versions of Firefox. They took two weeks to deploy the fix. Considering those two weeks included Christmas and the bug didn't affect security or render the site unavailable, this seems like a pretty good response time.

Re:YouTube change served lower-quality video to Firefox 43 f... by josteink on Monday January 11, 2016 @02:05AM (#10879291)
> So, a bug in YouTube's compatibility-autodetection caused it to fall back to a slower, bitrate-limited fallback method that it didn't need to, for some versions of Firefox. They took two weeks to deploy the fix. Considering those two weeks included Christmas and the bug didn't affect security or render the site unavailable, this seems like a pretty good response time.

Do you think it would take 2 weeks or less than a hour if the browser affected was Google Chrome?

Google has systematically made Firefox an inferior option when using Youtube, pushing people to install Chrome instead because "Firefox doesn't work". At some point you almost start thinking they're doing it intentionally and maliciously to push their own (closed, DRMed) browser.

Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @02:16AM (#10879327)
It's not just them. Have you tried viewing HN comments in Firefox for Android?

A few years ago Chrome gained majority among web developers and everyone just stopped testing with Firefox or any other browser. In fact not just testing - they started developing for Chrome only. And now we've got us into another IE6 situation and I think it will be even harder to overcome this time.

Re:YouTube change served lower-quality video to Firefox 43 f... by rubberstamp on Monday January 11, 2016 @03:20AM (#10879554)
HN on firefox is bad. Comments doesn't have any hierarchy. HN has to fix that.

I use firefox on android as it is the only one that has extensions. I use uBlock and mht extensions.

On linux desktop too firefox is used mostly as it uses less memory than chrome when you have too many tabs open

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @04:57AM (#10879874)
HN on Android looks exactly the same in FF, Chrome and the stock browser. I checked right now. Even the zoom behaviour is the same. The only browser that makes the site behave better is Opera with text reflow on zoom enabled. I can't understate how useful that feature is in general and I can't understand why every browser doesn't offer it. It's the reason why I'm using Opera on Android despite using Firefox on the desktop. Another reason I'm not using FF on Android is that it's noticeably slower at rendering the page at the end of a scroll action. It seems that blink is better at that.

I'm adblocking with AdAway on the device I rooted and with Adblock Plus (a local proxy) on the one I didn't root.

You get them on F-Droid.

https://f-droid.org/repository/browse/?fdid=org.adaway https://f-droid.org/repository/browse/?fdid=org.adblockplus....

Re:YouTube change served lower-quality video to Firefox 43 f... by dmm on Monday January 11, 2016 @07:53AM (#10880489)
> HN on Android looks exactly the same in FF, Chrome and the stock browser.

I just checked too and Firefox looks different in the comments and it has been broken since the beginning of the mobile changes.

The comments on FF for Android do not have any additional indentation to suggest they are children. On firefox every comment takes the entire width of the screen, even if it's a heavily nested reply. On chrome comments have additional space on the left side indicating if they are children and who they are replying to.

The frontpage looks fine on Firefox. The comments do not look fine. When you view a stories comments on Firefox for android it's impossible to tell what comments are children.

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @08:49AM (#10880714)
Solution found:

> The comments on FF for Android do not have any additional indentation to suggest they are children.

I reinstalled FF on my phone and you're right. On my tablet FF behaves like Chrome. Some media queries gone awries or some FF quirk on smaller screens? FF-desktop behaves like the one on the phone when the window is resized to be narrow so it seems to be consistent with itself.

HN is using a media query to set the indentation using an empty image and setting its width. Check the /news.css file. Each comment is a tr, with 3 td elements. The image is the first one, then the votes arrows and the text. FF arranges those td in vertical, blink keeps them on the same row.

Digging into the CSS I realized that it's because of the display: block at line 88. If I remove it FF indents the comments. Opera keeps looking good.

Re:YouTube change served lower-quality video to Firefox 43 f... by bzbarsky on Monday January 11, 2016 @09:36AM (#10880935)
Oh, that's awesome.

The CSS is clearly setting these to display:block, so they should in fact stack. But the page is also in quirks mode (no doctype), and in quirks mode Chrome (and WebKit) seems to compute the display of <td> to "table-cell" no matter what the styles say.

So yeah, someone just wrote CSS that depends on a bug in Chrome/WebKit and either didn't bother to test in other browsers or doesn't care whether it works there.

Edit: https://code.google.com/p/chromium/issues/detail?id=369979 is the 1.5-year-old bug report on Chrome to remove this unnecessary quirk. Let's see what HN does if/when the Chrome folks fix that one...

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @09:58AM (#10881057)
Interesting explanation. Thanks.

Btw this could prove my point that people ditch browsers because of bugs of sites, if those sites look good in other browsers.

Re:YouTube change served lower-quality video to Firefox 43 f... by bzbarsky on Monday January 11, 2016 @10:05AM (#10881103)
Thank _you_ for actually digging into the CSS and finding the problem!
Re:YouTube change served lower-quality video to Firefox 43 f... by rubberstamp on Monday January 11, 2016 @10:15AM (#10881177)
This is awesome, as expected from tech crowd. As soon as I got time to look into this, someone else has figured it all out.

Many eyes/brains on the bug means quickly figuring out issues. If it was open source the patch for this would probably be in testing now.

Active and very Awesome community!!

Re:YouTube change served lower-quality video to Firefox 43 f... by tripzilch on Tuesday January 12, 2016 @03:53AM (#10886273)
quirksmode, table-cells... I don't think the problem here is the browser.
Re:YouTube change served lower-quality video to Firefox 43 f... by dang on Tuesday January 12, 2016 @03:36AM (#10886230)
Bravo pmontra! We've rolled that out.

I'm ashamed to say that this fix was on our list for a month and we hadn't gotten to it despite how easy it turned out to be (assuming, at least, that nothing breaks in other browsers). Fortunately HN has excellent users.

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Tuesday January 12, 2016 @05:31AM (#10886555)
I checked the site with FF on my phone and it really works. Maybe I can start using FF there. Thanks for deploying the patch so quickly.
Re:YouTube change served lower-quality video to Firefox 43 f... by pelario on Tuesday January 12, 2016 @04:18AM (#10886330)
Opera Mini in android lost the indentation of comments around two months ago :(
Re:YouTube change served lower-quality video to Firefox 43 f... by dang on Tuesday January 12, 2016 @06:16PM (#10891168)
Is it still broken?
Re:YouTube change served lower-quality video to Firefox 43 f... by pelario on Thursday January 14, 2016 @09:40AM (#10901608)
It works now, thanks a lot !
Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @01:23PM (#10882089)
A CSS fixing the layout on Firefox based on your solution: https://gist.github.com/skarap/15bf77d63fe596ee55ce . Use Stylish (https://addons.mozilla.org/en-US/firefox/addon/stylish/) to load it.
Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @12:07PM (#10881632)
> Solution found:

Thank you for caring enough to look into this!

Would be absolutely awesome if we could find somebody from HN to fix it.

Re:YouTube change served lower-quality video to Firefox 43 f... by tombrossman on Monday January 11, 2016 @06:35AM (#10880210)
Here is what the comments look like on FF for Android: https://i.imgur.com/5e7hIMK.png

Does it look the same on Chrome, with no indentation for comments and replies? I've removed Chrome so I'm unable to test but I thought this was just a bug.

Re:YouTube change served lower-quality video to Firefox 43 f... by dmm on Monday January 11, 2016 @07:55AM (#10880495)
No it looks completely different in Firefox for mobile. There is no way on FF to distinguish which comments are children.
Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @07:55AM (#10880499)
I don't have Chrome on the phone but I have answered here about FF https://news.ycombinator.com/item?id=10880486 Check the parent posts.
Re:YouTube change served lower-quality video to Firefox 43 f... by rubberstamp on Monday January 11, 2016 @05:37AM (#10880014)
opera has always been innovative browser with good features as long back as i can remember(opera on Nokia s60v3 back then). features like great speed dial on mobile n desktop, save for offline, opera turbo mode, syncing bookmarks between desktop n mobile, website overview mode, text reflow.. I have to use addons with other browsers to have these features on chrome or firefox. Opera has a great team. Has poor market share though. They also had good security. Opera wasn't vulnerable to some big ssl bug discovered a couple of years ago. Most other browsers were. They recently switched their rendering engine to webkit though
Re:YouTube change served lower-quality video to Firefox 43 f... by digi_owl on Monday January 11, 2016 @06:09AM (#10880127)
And ever since that switch it felt like they had fired all their engineers and got lost chasing some kind of design shiny.

I guess i should have seen it coming when they were gushing about their "coast" concept.

Re:YouTube change served lower-quality video to Firefox 43 f... by tripzilch on Tuesday January 12, 2016 @04:00AM (#10886290)
they actually did fire about 100 people from the Presto team (previous engine) as they switched to webkit.
Re:YouTube change served lower-quality video to Firefox 43 f... by digi_owl on Thursday January 14, 2016 @09:45AM (#10901644)
well damn, i missed that one...
Re:YouTube change served lower-quality video to Firefox 43 f... by tripzilch on Friday January 15, 2016 @11:18AM (#10910196)
Yeah. I was a big Opera user (/fan) before that ..
Re:YouTube change served lower-quality video to Firefox 43 f... by damien on Monday January 11, 2016 @11:24AM (#10881341)
Yea, the slow scrolling on Android is annoying. I believe it's caused by not using the native functionality, which I hope gets fixed soon: https://bugzilla.mozilla.org/show_bug.cgi?id=776030
Re:YouTube change served lower-quality video to Firefox 43 f... by pcwalton on Monday January 11, 2016 @03:00PM (#10882944)
That bug is not about using the native scrolling infrastructure. I don't see a reason why the native Android functionality would be better than what Gecko already does.

(I wrote the initial version of Firefox for Android's scrolling code.)

Re:YouTube change served lower-quality video to Firefox 43 f... by digi_owl on Monday January 11, 2016 @06:07AM (#10880121)
Opera is slipping though. Ever since they abandoned their presto lineage and move to a Chrome derivative, they have been busy crapifying their browsers by focusing on shiny over functionality.

Just wish Vivaldi had gone mobile first...

Re:YouTube change served lower-quality video to Firefox 43 f... by lucb1e on Monday January 11, 2016 @03:38AM (#10879608)
And on top of that, it's also a principle matter for me. Unless I run into impossibilities, I prefer free and open source software because it offers more control, privacy and hackability, and it will act in my best interest instead of that of the company behind it.
Re:YouTube change served lower-quality video to Firefox 43 f... by derf_ on Monday January 11, 2016 @08:23AM (#10880597)
> HN on firefox is bad. Comments doesn't have any hierarchy.

On desktop, at least, you can fix this by making your browser window wider (just resize the window: you'll find a threshold past which the hierarchy appears or disappears).

That doesn't help much for mobile, where you can't really resize windows.

Re:YouTube change served lower-quality video to Firefox 43 f... by berdario on Monday January 11, 2016 @02:31AM (#10879377)
This is the crux of the issue.

Gmail itself is unusable on Android + Firefox. When using an alternative browser you'll also stumble in problems with plenty of Android apps: Slack, Citymapper, etc... (when opening a web page intent, they expect that the only app that'll receive that will be Chrome)

The situation isn't as bad for desktop browsers, but it's depressing how things can still be broken.

Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @03:01AM (#10879491)
> The situation isn't as bad for desktop browsers

Don't worry, it will get worse. Firefox is now forced to accept `-webkit-` in css (http://www.theregister.co.uk/2016/01/04/firefox_webkit_css_s...) not to be "broken". This will obviously lead to even less Firefox testing.

Hell, even I (my team) am contributing to this! We're working on Angular-based web SPA now. It hasn't got much functionality yet, but already has quite a few bugs when viewed in Firefox. And the usual answer from frontend guys is "It's a firefox bug!".

Re:YouTube change served lower-quality video to Firefox 43 f... by emn13 on Monday January 11, 2016 @04:25AM (#10879768)
I remember fixing one of frontend bugs in an SPA and contrary to the claims it turned out to be a webkit bug that the code relied on (the app had been developed on a mac, so it's fairly easy to only test on webkit/blink). Lovely.

Aside/Rant: I also get the impression that frontend devs have never read the CSS2.1 spec or bothered to understand it (CSS3 is longer, and consists largely of special-purpose extra modules, so a complete reading is less valuable and more difficult). There's somehow this feeling that since CSS "isn't a real programming language" you should be able to use it intuitively. And when things don't work out and you fiddle until it works without giving thought to why, that's OK. That's such a huge waste of time. The box model may not be 100% intuitive, but boy, if that's your standard, what you doing in IT?

Re:YouTube change served lower-quality video to Firefox 43 f... by masklinn on Monday January 11, 2016 @06:01AM (#10880101)
> the app had been developed on a mac, so it's fairly easy to only test on webkit/blink

It's no harder to only test on Chrome in Linux and IE in Windows, I fail to see how that's an excuse. The only excuses are IE testing when developing on OSX and Safari testing when developing on Windows, it's trivial to install both Firefox and Chrome on any OS.

Re:YouTube change served lower-quality video to Firefox 43 f... by emn13 on Sunday January 17, 2016 @12:29PM (#10920127)
Actually, it's easier to test for IE versions on linux/mac due to http://xdissent.github.io/ievms/ - You can install the VMs on windows too (of course), but I've never stumbled upon quite as simple a solution. On windows I tend to just rely on compat mode, which is surprisingly good, but far from perfect.
Re:YouTube change served lower-quality video to Firefox 43 f... by digi_owl on Monday January 11, 2016 @04:11AM (#10879717)
I suspect it will go beyond CSS.

There are a certain kind of app on Android that makes the device FS available via a web browser.

Thing is that these apps invariably makes use of a Chrome-ism when dealing with drag and drop.

In Firefox you can only drag a single file at a time. drag over multiple, or a folder, and there won't be much of a result.

In Chrome however it will transfer over just fine.

This has been sitting in the Mozilla bugtracker for some time, because the Chrome behavior goes beyond the HTML spec for file uploads.

Re:YouTube change served lower-quality video to Firefox 43 f... by yyhhsj0521 on Monday January 11, 2016 @07:00AM (#10880285)
Yeah sometimes I wonder if providing extra behaviors is good or bad.

Certainly it could save developers a lot of works and save users a lot of time, but it may become next ActiveXObject("Microsoft.XMLHTTP");

Maybe Chrome should put a warning into the console, saying that this function is experimental.

Re:YouTube change served lower-quality video to Firefox 43 f... by hussong on Tuesday January 12, 2016 @09:14AM (#10887477)
FWIW, Paypal rendered as completely blank pages (home and login / payment pages) in FF/Ubuntu until a couple days ago. Not sure when this started, but I've seen it before on some of their payment pages.
Re:YouTube change served lower-quality video to Firefox 43 f... by darklajid on Monday January 11, 2016 @04:20AM (#10879752)
Upvoting you is not enough - let's focus on the local problem.

Dang - have you seen HN in Firefox on Android recently? Is there something we can do to improve this? Given that HN receives a moderate amount of (visible) changes recently, is there a way to make the site work in that situation/setup?

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @05:09AM (#10879923)
I already commented about this issue at https://news.ycombinator.com/item?id=10879874

To elaborate it further, the problem common to every browser I tried (the only one missing is Safari) is that comments are nested and if I zoom the page to be actually able to read the text, I have to pain points now:

1) I have to keep scrolling right and left to keep them in view as I scroll vertically to follow the threads.

2) Even if 1 were not bad enough, the comments are too wide now to fit into the screen (remember that I zoomed in) and I have to horizontally scroll at each line. The only browser not to suffer from that is Opera which reflows text after a zoom (if you enable that option). I'm left with problem 1 but it's the least painful.

I suspect that a div layout would fare better, still there are tons of blogs with div layouts that end up with 10px wide comments at deep nesting levels. Maybe some media queries to remove nesting for devices not wide enough and adapt the page width after a zoom? I don't even know if the latter is possible.

Edit: I checked on the desktop and it seems that you already reduce nesting when the screen width is reduced, to the point of removing it at all. I wonder why my tablet and my browser are not affected and keep displaying the indentation to the left. Any browser, any user agent (desktop or mobile). They're 1600x2560px and 480x800px.

Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @07:35AM (#10880415)
Well I've sent a bug report to [email protected] back in November.

They said "It's a bad bug and we're going to fix it". So I'm waiting.

Re:YouTube change served lower-quality video to Firefox 43 f... by dwightgunning on Monday January 11, 2016 @06:52AM (#10880262)
It would be neat if the HN frontend was open-source and the community could submit PRs for improvements.
Re:YouTube change served lower-quality video to Firefox 43 f... by rubberstamp on Monday January 11, 2016 @05:05AM (#10879904)
whatever you do, please keep everything else as it is now. HN loads very fast as it doesn't load every library on the planet. Do fix the rendering problem on firefox if possible, and keep it lightweight as it is now
Re:YouTube change served lower-quality video to Firefox 43 f... by pbhjpbhj on Monday January 11, 2016 @09:28AM (#10880901)
If you took out all the table markup you'd probably save about half the page code. Using divs and css doesn't require any onpage libraries and would allow [HN] users to easily fix things like this with a user.css file with a left border on nested comments (for example) if the site didn't want to have a sane style for some reason [established parsing tools maybe].
Re:YouTube change served lower-quality video to Firefox 43 f... by msl09 on Monday January 11, 2016 @05:04AM (#10879898)
What's wrong?
Re:YouTube change served lower-quality video to Firefox 43 f... by darklajid on Monday January 11, 2016 @05:17AM (#10879958)
http://m.imgur.com/On83n3W

The indentation for one. Notice that the second comment is an answer to the first, but is on the same level of indentation. Following discussions like that is highly annoying.

Weird: While grabbing the phone to answer your question I noticed that "threads", i.e. the view of my comments, works fine. Just the comments below submission links are broken.

Compare to Chrome: http://m.imgur.com/Wpusprq

Note that I do use uBlock in Firefox. Now that I think about it, that might be relevant as well. But then again, why would that break the submission view and not the "threads" link?

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @07:53AM (#10880486)
I get that Chrome like rendering in every browser on my tablet (1) and with Opera and the stock browser on the phone. I reinstalled Firefox on the browser and it looks like your one. I understand that it makes difficult to follow threads but at least we can see deeply nested comments: they don't collapse to a single column of letters.

(1) Lines are not terminated at the screen boundary on the tablet if I zoom in. They keep going off screen to the right. Same on the stock browser on the phone and with Opera if I turn off text reflow.

Re:YouTube change served lower-quality video to Firefox 43 f... by quanticle on Monday January 11, 2016 @03:03AM (#10879500)
>And now we've got us into another IE6 situation and I think it will be even harder to overcome this time.

I hate to defend Chrome, but I don't think that comparing Chrome to IE6 is warranted (yet). The problem with IE was that a large number of users were stuck with IE6 and never updated (either by their own choice or their IT departments'). So web developers had to write code for modern web browsers, and then implement a compatibility layer (I guess we call it polyfill, these days) for IE6. Chrome, however, has an update mechanism that the vast majority of users and IT departments do not override. Chrome is not in an IE6 situation because historically the number of users running old versions of Chrome is small and drops off rapidly as new versions come out.

I pulled these graphs from a few years ago, comparing Chrome adoption to IE adoption:

http://cdn.arstechnica.net/wp-content/uploads/2012/10/chrome...

http://cdn.arstechnica.net/wp-content/uploads/2012/10/intern...

Notice that Chrome uptake is very rapid, with the vast majority of users being on the current version of Chrome after approximately two to three months. Compare that with IE, where the majority of users still aren't using the most modern version of Internet Explorer after two to three years.

So no, I don't think Chrome is in the same position as IE. Google pushes updates to Chrome on a frequent basis, and, more importantly, those updates are actually applied by users. That said, it's still possible that Google could tomorrow do what Microsoft did when IE "won the browser war", which is disband the team and cease Chrome development. Do I think this is a likely scenario? Of course not. Is it possible? Sure.

Re:YouTube change served lower-quality video to Firefox 43 f... by josteink on Monday January 11, 2016 @03:11AM (#10879524)
The problem with IE6 was not that users didn't update. It was that IE created a monoculture among developers, using IE only features. Which resulted in code which got out on the web, and stayed there.

And then every browser had to either 1. be "broken" because the web-pages didn't work, or 2. forego W3C, standard-process and all that and emulate IE's bugs in order to be "real" browsers people could use.

And long after IE6 is gone, all that is still hanging around, causing issues to this day.

Right now we're getting a Chrome monoculture. People are using pre-standard Chrome and Webkit only features in production websites. In the future those websites will stick around, no matter if Chrome users update their browsers or not.

Chrome is the new IE. With Google giving a shit about real standardization, launching non-standard features in Chrome and production websites at the same time, they are the new Microsoft.

Re:YouTube change served lower-quality video to Firefox 43 f... by zanny on Monday January 11, 2016 @08:51AM (#10880729)
> launching non-standard features in Chrome and production websites at the same time, they are the new Microsoft.

Are there any features they are pushing in Chrome they are simultaneously not pushing on w3c to adopt? The problem with IE6 is that it not only did its own thing, it did the opposite thing the standard said to do. If Chrome is just standard + new stuff, and that new stuff eventually becomes standard, it isn't a problem. But its standard + new stuff + anti-standard bullshit, the latter is the issue and Google should be criticized for it.

Re:YouTube change served lower-quality video to Firefox 43 f... by douche on Monday January 11, 2016 @08:33AM (#10880640)
The only way new features seem to get into the standards is if some browser starts offering it, and it gains so much traction that the standards bodies can't ignore it.

Web standards seem, from where I'm standing, to be very post-hoc.

Indeed, I think that's the way it ought to be. How many times has it worked out well when you've fully specified something, before you attempt to actually build it? For me that number is very close to 0.

Re:YouTube change served lower-quality video to Firefox 43 f... by rapind on Monday January 11, 2016 @09:30AM (#10880915)
I think this is the intent. A proposal is brought to TC39. It gets discussed. Someone champion's it (implements it in the wild). Adoption and usefulness are determined. New standards are accepted.

I think this is a much better practice than a bunch of dudes just deciding what browsers will support and how they support it without actually trying it on first.

It's pretty much all in the open. No need for conspiracy theories. The environment is significantly different than it was during the early IE days.

https://github.com/tc39/ecma262

Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @03:34AM (#10879596)
I should have been more specific in what I mean by "IE6 situation". I was talking mostly about the years 2005-2008 when IE had already won the browser wars and despite a new and better browser (Firefox in this case) already existed, users couldn't switch to it (because ActiveX, because VML, ...) and developers couldn't [care to] stop using IE-only stuff, because everyone was using IE anyway. The current Chrome situation is more or less the same now.

The non-updating users problem is a bit different. I guess it had quite a contribution to the problem discussed above (e.g. if Microsoft had a good mechanism to switch most of IE6 users to 7, they might have made 7 a better - less "compatible" - browser).

And Chrome's great upgrade mechanism is one of the reasons I think the Chrome situation will be even harder to overcome. IE6 became so old and ridiculously bad that some sites stopped providing first-class user experience to it's users, so that users had to do something - upgrade. The same think won't probably happen to Chrome, because:

1. Google probably remembers Microsoft's history and will try to avoid the same mistakes.

2. They have an automated mechanism to keep Chrome updated.

And as long as they keep gmail and facebook working great in Chrome (and - ideally - worse in every other browser), they are safe.

I guess this is even good for the users - uniformly good user experience on all devices. Though - of course - if you don't mind exposing every detail of your online life to Google. http://uncyclopedia.wikia.com/wiki/Nobody_cares

Re:YouTube change served lower-quality video to Firefox 43 f... by digi_owl on Monday January 11, 2016 @06:16AM (#10880160)
What you are looking at there is that MS decided to shoot themselves in the foot over and over by tying things like the latest IE or DirectX to a specific version of Windows.

End result is that the last version that shipped on XP became the lowest common denominator.

Re:YouTube change served lower-quality video to Firefox 43 f... by tvmalsv on Monday January 11, 2016 @03:26AM (#10879575)
Maybe I read it the wrong way, but by "another IE6 situation", I took the comment to mean that Firefox is the new IE6, likening Chrome's position to Firefox's at the time.

You have a lot of new stuff being designed & tested using Chrome, with some site breakage if using Firefox. Similar to several years ago when releasing sites that "work best with Firefox" (complete with badge images stating such), leaving IE6 users with a lesser experience.

Re:YouTube change served lower-quality video to Firefox 43 f... by spoiler on Monday January 11, 2016 @02:57AM (#10879476)
Most of the time when I saw people develop "for Chrome" (like experiments), it would use standard stuff, but it only so happens that other browsers don't implement them [properly], yet. Or maybe I'm just awfully pedantic, but whenever I make stuff I tend to make it as close to the standard as possible, and fall back to vendor-specific stuff only when necessary (and usually try to cover all the major browsers).

Also, aren't most the Chrome-specific things disabled unless the app runs as an extension to discourage this type of chrome-only behaviour? I can't test/verify now, since I'm on my phone. This excludes CSS prefixes, since those are rarely needed these days anyway.

Re:YouTube change served lower-quality video to Firefox 43 f... by rpgmaker on Monday January 11, 2016 @09:30AM (#10880914)
This is the first comment that I have read that has acknowledged this situation. I've been noticing this for quite a while. At first I was reluctant to believe it because designers should know better than anyone how bad that can turn out in the long run. Firefox is treated as IE now by this crowd. Google has been particularly shameful promoting their browser. It's gotten to the point where if your Firefox version is two releases behind they start showing their little "install chrome" ad. Ridiculous.
Re:YouTube change served lower-quality video to Firefox 43 f... by Dr_tldr on Monday January 11, 2016 @03:09AM (#10879517)
In retrospect, it was probably not a good idea to allow Google to buy Youtube. Because at this point, I don't think they're intentionally going after Firefox, but the tight coupling between Youtube and Google makes it impossible for them to actually be neutral in terms of things like bug fixes.

It's way too granular to be handled through the legal system or any kind of government regulation, so it's an unfortunate situation that's going to keep happening.

Re:YouTube change served lower-quality video to Firefox 43 f... by josteink on Monday January 11, 2016 @03:16AM (#10879538)
The problem is not Google owning Youtube. The problem is Google owning a majority of internet real-estate and a web-browser.

Now they can bypass any W3C standards-comittee and launch whatever they want in production websites and their own browser at the same time, much like Microsoft did. They already have their own Googley version of ActiveX out there! It will be fun to see what's next! /s

Google Chrome is the worst thing which has happened to the modern web.

Re:YouTube change served lower-quality video to Firefox 43 f... by Dr_tldr on Monday January 11, 2016 @03:57AM (#10879666)
Yeah, it's the Microsoft anti-trust situation all over again, except that all of Silicon Valley has gotten about 10x more sophisticated in terms of legal strategy and political clout. And just because I like Google (a lot!) and I didn't like Microsoft doesn't change that the technical landscape is becoming analogous.
Re:YouTube change served lower-quality video to Firefox 43 f... by thawkins on Monday January 11, 2016 @05:10AM (#10879925)
Most organisations implement a change freeze over the holidays to prevent problematic code being deployed whilst they are low on resources I guess this did not trigger google's criteria for a '911' fix.
Re:YouTube change served lower-quality video to Firefox 43 f... by leoc on Monday January 11, 2016 @10:03AM (#10881089)
> Do you think it would take 2 weeks or less than a hour if the browser affected was Google Chrome?

I'd be inclined to agree, but then Google did start spam-binning its own security notifications a while ago and didn't seem to notice until Linus Torvalds started blogging about the rise in spam false positives. "Never attribute to malice what can adequately be explained by incompetence" - that is the Google motto, after all. ;)

Re:YouTube change served lower-quality video to Firefox 43 f... by echochar on Sunday January 10, 2016 @10:30PM (#10878611)
"...user agent strings are a giant disaster of technical debt"

Amen.

I agree with the commenter below who suggests we use random strings instead. Unless there is some sort of published standard for what this header should contain and what each byte means, the contents may as well be random.

The "history" of "user-agents" (about 20 years) is not very long, assuming the web is going to last more than 20 years into the future. Taking a long view, we are still in the nascent phase.

Re:YouTube change served lower-quality video to Firefox 43 f... by kobayashi on Sunday January 10, 2016 @11:22PM (#10878782)
Are you suggesting unique randomized strings for every user?
[deleted]
Re:YouTube change served lower-quality video to Firefox 43 f... by debaserab2 on Monday January 11, 2016 @12:17AM (#10878970)
I'm sorry, but I still find the user agent string to be incredibly useful despite it's many shortcomings.

Not so much for deciding what to serve to a request, but moreso to analyze your audience and figure out from a technical perspective what is feasible and what is not. For example, a recent decision I made was to decide whether or not to rewrite a portion of our application in a javascript framework that did not offer IE8 support. I was able to quickly validate what portion of my userbase I was affecting by looking at user agent strings.

Request headers are a fantastic way to capture this little bit of information. Using javascript feature checking depends on a javascript engine successfully loading and parsing whatever scripts I've provided to the client. Request headers are simple plaintext that don't fail in even the most bare bones of situations.

Re:YouTube change served lower-quality video to Firefox 43 f... by fkooman on Monday January 11, 2016 @04:46AM (#10879841)
https://en.wikipedia.org/wiki/Progressive_enhancement https://en.wikipedia.org/wiki/Fault_tolerance

No need to do browser detection. Just make your site work without JS as well :)

Re:YouTube change served lower-quality video to Firefox 43 f... by jerf on Monday January 11, 2016 @09:03AM (#10880769)
Ten years ago, that may have been valid advice, when "dynamic" mostly meant "server-generated". But if you're creating a website that is heavily JS-based, it does no good to serve 25% of your customers a perfectly-standards-compliant page telling them their JS won't work, so the site can't do its thing. You still need to know what client base you are supporting, no matter what.
Re:YouTube change served lower-quality video to Firefox 43 f... by jakeogh on Sunday January 10, 2016 @11:30PM (#10878816)
That would be better, but not per user, per session. Currently I have surf(suckless.org) just pick a common one when I launch a tab (via tabbed): https://github.com/jakeogh/rndagent
Re:YouTube change served lower-quality video to Firefox 43 f... by pdkl95 on Monday January 11, 2016 @12:29AM (#10879001)
per-HTTP request

Nothing ever guaranteed the user agent header would be consistent or present. Any re-use of a user-agent string adds bits of data that can be used for tracking.

Re:YouTube change served lower-quality video to Firefox 43 f... by nitrogen on Monday January 11, 2016 @12:43AM (#10879039)
While we're at it, we need some solution to tracking based on browser window size. I'm one of the few people I know who doesn't maximize everything, so I'm probably 100% uniquely trackable just by window size.
Re:YouTube change served lower-quality video to Firefox 43 f... by quesera on Monday January 11, 2016 @01:01AM (#10879106)
Window size detection is done with JavaScript. Block it.
Re:YouTube change served lower-quality video to Firefox 43 f... by JupiterMoon on Monday January 11, 2016 @02:54AM (#10879460)
It can apparently be done with CSS by a determined website.
Re:YouTube change served lower-quality video to Firefox 43 f... by jakeogh on Monday January 11, 2016 @02:38AM (#10879411)
Disable JS by default. I do, and it makes the web better. Surf/tabbed makes this easy to do per process.
Re:YouTube change served lower-quality video to Firefox 43 f... by tomjen3 on Monday January 11, 2016 @01:14AM (#10879143)
If you do that, you are gong to break so many websites.
Re:YouTube change served lower-quality video to Firefox 43 f... by userbinator on Monday January 11, 2016 @01:59AM (#10879271)
All the better to let them know they shouldn't be doing that.
Re:YouTube change served lower-quality video to Firefox 43 f... by adrianN on Monday January 11, 2016 @03:55AM (#10879656)
That will be very popular with the users of your browser.
Re:YouTube change served lower-quality video to Firefox 43 f... by HappyTypist on Monday January 11, 2016 @05:29AM (#10879990)
No, I mean, a tiny bit of css hacking will let you detect it.

Have a css media query for every possible height, and every possible width, that loads a 1px empty png.

Re:YouTube change served lower-quality video to Firefox 43 f... by akerro on Monday January 11, 2016 @02:06AM (#10879294)
>a bug in YouTube's compatibility-autodetection caused it to fall back to a slower

I double it's a bug, it's not the first time it happened, when YT introduced full HTML5 mode, there was a bug that for firefox, and only for firefox youtube was serving video with incompatible codec, the same as for Chrome, but Ff didn't have that codec implemented yet, so video didn't work. Opera was served video same as before, I noticed on reddit and other forums people were complaining on Firefox, that it stopped working on youtube. People started posting "I'm moving to chrome because it works". I think it's a plan to annoy firefox users by serving them not compatible videos so people move to Chrome. Google IS internet.

Re:YouTube change served lower-quality video to Firefox 43 f... by thawkins on Monday January 11, 2016 @05:12AM (#10879934)
Never attribute to malevalence what can be explained by incompetance.
Re:YouTube change served lower-quality video to Firefox 43 f... by digi_owl on Monday January 11, 2016 @06:22AM (#10880177)
In principle, yes. But when it keeps happening again and again and again, it takes on the appearance of premeditation.
Re:YouTube change served lower-quality video to Firefox 43 f... by akerro on Monday January 11, 2016 @08:05AM (#10880533)
So, you're saying that Google doesn't test stuff they push on production?
Re:YouTube change served lower-quality video to Firefox 43 f... by Uther on Monday January 11, 2016 @09:40AM (#10880959)
In this case the bug was only for a small subset of the Firefox users (Firefox without x264 support).

It doesn't seems impossible to me they missed this specific case.

Re:YouTube change served lower-quality video to Firefox 43 f... by Twisell on Monday January 11, 2016 @01:30PM (#10882151)
Actually for me since about two week the full screen mode in html5 with Safari is quite buggy too. So yeah maybe on this specific realease during holyday season they might have test a little more on different platforms and/or delay this patch.
Re:YouTube change served lower-quality video to Firefox 43 f... by noja on Monday January 11, 2016 @06:25AM (#10880184)
Never say never.
Re:YouTube change served lower-quality video to Firefox 43 f... by yeukhon on Sunday January 10, 2016 @08:17PM (#10878204)
> Browsers identify themselves with a user-agent string, and the user agent strings are a giant disaster of technical debt resulting from a long history of browsers working around buggy websites and websites working around buggy browsers.

I really don't get why we can't just have a "fuck it" mentality for user-agent string. User agent has been the biggest technical shit debt I have ever seen so far on the web.

1. Fuck the existing user-agent string.

2. Simplify to Browser-name: version

Anyone depending on existing scheme will find failure and they will update after googling a bit. Sure there are many variations / forks, and those should identify themselves either with the upstream or decide to advertise herself. The only problem is people running old version of browser as those won't get any updates.

Sorry for the language, but seriously, fuck the existing user-agent detection. The only reason I find user-agent still useful is simply tracking the % of chrome/firefox/edge/ie/safari/mobile users, and that's all web analytic people care about as far as browser choice is concerned.

User-agent is unreliable and should not be trusted.

Re:YouTube change served lower-quality video to Firefox 43 f... by fixermark on Sunday January 10, 2016 @10:37PM (#10878630)
It's a tragedy of the commons.

You try to implement that in your browser and launch it, and many websites will break (banks, in particular).

Users will download your browser and find that it doesn't work on [FAVORITE SITE X], and they won't blame the site, they'll blame your browser. After all, [FAVORITE SITE X] worked with the browser they used previously to yours; clearly, it's your fault that the site doesn't work now.

So we continue to make incremental changes and work around issues with popular sites needing to sniff user agents, while authors of new sites (that someday become popular) continue to work around issues with popular browsers by (ideally) checking the DOM in JavaScript, and (sometimes of necessity because the data of interest isn't available through the DOM for security or design-hole reasons) sniffing the user agent.

Re:YouTube change served lower-quality video to Firefox 43 f... by yeukhon on Sunday January 10, 2016 @10:49PM (#10878666)
and this is a never-ending debt. If we take a big stand and give a one-year deprecation like SHA1, we should get through it. Of course, no one would do that because everyone is so dependent on this string.
Re:YouTube change served lower-quality video to Firefox 43 f... by yuliyp on Sunday January 10, 2016 @10:59PM (#10878699)
That's what User agent started out as. Browser name and version. Now imagine you're building a new browser.
Re:YouTube change served lower-quality video to Firefox 43 f... by chei0aiV on Sunday January 10, 2016 @07:29PM (#10877982)
Browsers should start submitting a random 10 character string for the User-Agent header.
Re:YouTube change served lower-quality video to Firefox 43 f... by cornstalks on Sunday January 10, 2016 @07:41PM (#10878041)
That would break more than it would fix. Video is hard (not all devices or browsers support the same codecs, bitrates, frame rates, etc), and YouTube has to use the User Agent to try to serve videos that the client can actually play. A random User Agent would mean that all those browsers that need a special video format wouldn't get the type of video they need, which sounds like a crappy world to live in (compared to the crappy world we already live in with meaningful User Agents).
Re:YouTube change served lower-quality video to Firefox 43 f... by daxelrod on Sunday January 10, 2016 @07:50PM (#10878098)
> YouTube has to use the User Agent to try to serve videos that the client can actually play.

Why? We have JavaScript feature detection for video tags: http://diveinto.html5doctor.com/detect.html#video-formats

Re:YouTube change served lower-quality video to Firefox 43 f... by 0x0 on Sunday January 10, 2016 @07:53PM (#10878116)
"Probably" and "maybe" values are, uh, probably not good enough.
Re:YouTube change served lower-quality video to Firefox 43 f... by SomeCallMeTim on Sunday January 10, 2016 @08:48PM (#10878295)
I thought you were being facetious. Sigh. Damn, but that's broken.

I've worked with video format streaming, though, and encountered a situation where there was a driver on a certain Android device manufactured by a major hardware vendor that you've certainly heard of, and their driver silently corrupted video that was using low-latency streaming options. And by "corrupted" I mean that, while a few of the pixels looked almost right, sometimes, it was mostly just garbage and blank grey screens.

I gave them a sample stream that failed, and they verified that yes, it's their fault. And that no, they weren't going to ship an update for it. Sorry. Device had been out for two years. Apparently no one thought to actually test the various standard options in that video codec. It works with the "normal" options? Ship it!

So I totally understand the need to look at UA strings. I had to look for that particular device hardware profile and disable the low-latency streaming options in order for our product to work on that device.

Re:YouTube change served lower-quality video to Firefox 43 f... by timothya on Sunday January 10, 2016 @09:38PM (#10878437)
That sort of feature detection is likely not sufficient for detecting if a video will play well or correctly. There's been a number of bugs in MSE in the past which means that YouTube has to fall back on browser version checks to avoid a bad user experience.
Re:YouTube change served lower-quality video to Firefox 43 f... by lazaroclapp on Sunday January 10, 2016 @09:49PM (#10878472)
To be fair, a certain school of thought would say that those bugs are the browser's to fix, and that websites should deliver the browser whichever video it claims to support. If the browser advertises support for something it doesn't support, then it is up to browser developers (not web developers) to fix either the support or the advertisement thereof.

Edit: Not saying that's always correct, but there does seem to be a tension between: "make sure your code can work well, even in a bad environment" and "don't mask bugs, instead fix them where it makes the most sense to do so" (in this case: in the dozens of browsers instead of in millions of websites).

Re:YouTube change served lower-quality video to Firefox 43 f... by debaserab2 on Monday January 11, 2016 @12:19AM (#10878976)
Another school of thought is that it doesn't matter if it's the responsibility of the browser because the customer perception will be that your website does not work for them.

If a mechanism exists to prevent your customer from perceiving this, as a business the smart decision is going to be to use it.

Re:YouTube change served lower-quality video to Firefox 43 f... by pmontra on Monday January 11, 2016 @04:34AM (#10879798)
Partly true, because if they try with another browser and get a good result they'll blame the browser and not the website. In this case, they'll probably say the the new Firefox broke YouTube. See one of the comments at www.pclinuxos.com/forum/index.php?topic=135323.0

"i'm getting a lot of corrupt unsupported browser when accessing video on other sites, so i'm using chrome. i can't figure out if it's flash or firefox but i'm tired of opening the hood, i'm done with FF for now"

Most of them looked for a workaround and spoofed the user agent, but they are the kind of people that fiddle with settings. Normal users probably either don't notice or change browser.

Re:YouTube change served lower-quality video to Firefox 43 f... by spoondan on Sunday January 10, 2016 @10:15PM (#10878561)
YouTube's compatibility hacks are against buggy versions of browsers. Regardless of whether a bug is eventually fixed, once it is released, there is some segment of the user base that has it. If that segment is large enough, and the bug easy enough to hack around, then YouTube will provide a workaround rather than lose revenue.
Re:YouTube change served lower-quality video to Firefox 43 f... by derefr on Sunday January 10, 2016 @11:31PM (#10878817)
Sounds like the ultimate solution here is to just give browsers a killswitch, so they'll eventually just stop working if you don't keep them up-to-date. (I'm not sure whether I'm joking.)
Re:YouTube change served lower-quality video to Firefox 43 f... by timothya on Sunday January 10, 2016 @10:25PM (#10878597)
While you're right that it's up to the browser to fix, that can be a very time consuming process (especially for something as tricky as video). YouTube doesn't want to wait around for browser vendors to fix things, so they work around it themselves (just like happened in the opposite direction for this bug).

Finding workarounds for browser bugs is a common theme for the work that web developers do. Yes, browser vendors should fix the bugs, but in the meantime, there's no reason to have a bad user experience.

Re:YouTube change served lower-quality video to Firefox 43 f... by kuschku on Sunday January 10, 2016 @07:48PM (#10878080)
> (compared to the crappy world we already live in with meaningful User Agents).

> Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36

Google Chrome tells us it is: a Mozilla, it is AppleWebkit, it is KHTML, it is Gecko, it is Safari, and it is Chrome.

"Meaningful" is something different.

Re:YouTube change served lower-quality video to Firefox 43 f... by geofft on Sunday January 10, 2016 @08:36PM (#10878267)
It's meaningful. It communicates exactly what the browser is to anyone who is capable of receiving the intended communication. (It also communicates other things to people who are not, but "Google Chrome 41.0.2228.0" would be absolutely meaningless to these listeners, so that doesn't seem like an objection with merit.)

You might object to the form of the communication, but that doesn't render the communication inexact. Just think of it as browser slang.

Re:YouTube change served lower-quality video to Firefox 43 f... by pdkl95 on Sunday January 10, 2016 @08:53PM (#10878310)
> It communicates exactly what the browser is

This is true, which is not particularly useful when deciding if a feature is available. Using the user agent to make this decision incorrectly assumes that all user agents of a particular browser+version all support exactly the same set of features. This is obviously not true.

The user agent may be meaningful[1], but the meaning that it communicates isn't feature data.

[1] If you take the header at it's word; as the bug being discussed demonstrates, user ages may be lying.

Re:YouTube change served lower-quality video to Firefox 43 f... by cornstalks on Sunday January 10, 2016 @09:18PM (#10878386)
> [...] the meaning that it communicates isn't feature data.

But it kind of is (to some degree, at least). VP9 was recently added to Firefox 28. If the User Agent says the browser is Firefox 27, then you probably shouldn't try serving VP9 to that browser.

Obviously the User Agent doesn't communicate the complete feature set. But some useful inferences regarding features can be derived from it.

Re:YouTube change served lower-quality video to Firefox 43 f... by Dylan16807 on Sunday January 10, 2016 @07:50PM (#10878089)
The user agent header is not the place to look for those.
Re:YouTube change served lower-quality video to Firefox 43 f... by cornstalks on Sunday January 10, 2016 @09:11PM (#10878363)
It shouldn't be the only input signal for determining those things, but it can definitely be useful (i.e. "this codec is only supported in vX.Y+ of this browser", or "vX.Y of this browser has a bug handling this type of video", etc.).

It's not like YouTube is a company of full of nothing but dopy idiots. I don't think they'd be using the User Agent if there was a better alternative.

Re:YouTube change served lower-quality video to Firefox 43 f... by amalcon on Sunday January 10, 2016 @07:41PM (#10878045)
If this is your goal, wouldn't it make more sense to just stop sending the User-Agent header?
Re:YouTube change served lower-quality video to Firefox 43 f... by g1n016399 on Sunday January 10, 2016 @08:19PM (#10878209)
Various websites break if you don't send the User-Agent header. So, in the short term, no, in the long term, yes.
Re:YouTube change served lower-quality video to Firefox 43 f... by lmm on Sunday January 10, 2016 @08:33PM (#10878253)
Are there really a substantial number of sites that break if you don't send the header but work if you send a random 10-character string?
Re:YouTube change served lower-quality video to Firefox 43 f... by x0 on Sunday January 10, 2016 @09:23PM (#10878396)
Many sites behind Cloudflare.

If I don't have this line in my .wgetrc, I get 403's sometimes from sites using Cloudflare.

user_agent=Mozilla/5.0 (compatible; CloudFlare-AlwaysOnline/1.0; +https://www.cloudflare.com/always-online)

Re:YouTube change served lower-quality video to Firefox 43 f... by lmm on Monday January 11, 2016 @04:31AM (#10879790)
Wget uses its own user-agent by default (Wget/x.y.z (linux-gnu)), not no header, so that's more likely cloudflare or sites specifically blocking wget.
Re:YouTube change served lower-quality video to Firefox 43 f... by x0 on Monday January 11, 2016 @10:28PM (#10885395)
Actually for the longest time, I had in my .wgetrc, user_agent="Mozilla/5.0 (etc etc etc)". It was a valid user agent. And Cloudflare was blocking that. Turns out if you wrap the actual user agent in quotes in your .wgetrc, wget doesn't strip them off, so cloudflare was seeing User-Agent: "Mozilla/5.0 (etc etc etc)", ie. with the quotes. And it was rejecting that.
Re:YouTube change served lower-quality video to Firefox 43 f... by lmm on Tuesday January 12, 2016 @08:26AM (#10887228)
Fair enough - but if it rejects that it would probably reject 10 random characters too
Re:YouTube change served lower-quality video to Firefox 43 f... by x0 on Monday January 11, 2016 @03:46AM (#10879626)
Note: the specific user-agent doesn't matter, I just think it's funny to steal Cloudflare's one.
Re:YouTube change served lower-quality video to Firefox 43 f... by kuschku on Monday January 11, 2016 @09:25AM (#10880876)
I do the same whenever a site requests personal info from me and I don't want to give it.

Find the corresponding info from the company or their CEO, use that.

And whenever some site wants me to register for a newsletter, I enter their own "critical support" mail address.

I hope at some point these sites learn that mandatory anything just hives you useless data.

Re:YouTube change served lower-quality video to Firefox 43 f... by x0 on Monday January 11, 2016 @10:29PM (#10885397)
Haha, I usually put root@localhost, or www-data@localhost. It accepts it fairly often too. Sometimes I need to open up the Chrome Dev Tools and delete the input's type attribute (<input type="email"> to just <input>) because there's some client-side thing that tries to stop you inputting invalid emails.
Re:YouTube change served lower-quality video to Firefox 43 f... by chei0aiV on Monday January 11, 2016 @01:47AM (#10879231)
Yes. Most of them give a HTTP 403 error, meaning they check for the header. Others crash with HTTP 500 errors or similar.
Re:YouTube change served lower-quality video to Firefox 43 f... by lazyjones on Monday January 11, 2016 @04:34AM (#10879801)
They could always remove it and add an option for users to switch it back on temporarily for the session if they really need it. Sometimes it's best to break things to get rid of cumbersome cruft.
Re:YouTube change served lower-quality video to Firefox 43 f... by darkmighty on Sunday January 10, 2016 @07:38PM (#10878032)
Wouldn't that result in even-uglier hacks for finding user agent becoming standard?
Re:YouTube change served lower-quality video to Firefox 43 f... by ketralnis on Sunday January 10, 2016 @08:27PM (#10878233)
Because the days of browsers having bugs that need workarounds are over?
Re:YouTube change served lower-quality video to Firefox 43 f... by lazyjones on Monday January 11, 2016 @04:36AM (#10879806)
Hopefully the days of websites having (or being able) to work around all browser bugs of the past 20 years are over.
Re:YouTube change served lower-quality video to Firefox 43 f... by cinquemb on Sunday January 10, 2016 @07:52PM (#10878110)
Or cycle through all those lists of the top n used, and put some conditionals in /mozilla-central/netwerk/protocol/http/nsHttpHandler.cpp to avoid all those breaking effects (to some degree).

Added benefit of getting alot of "not recognized computers" or whatever emails from google lol

Re:YouTube change served lower-quality video to Firefox 43 f... by toomuchtodo on Sunday January 10, 2016 @07:33PM (#10877998)
Could this be done with an extension?
Re:YouTube change served lower-quality video to Firefox 43 f... by gizmo686 on Sunday January 10, 2016 @07:40PM (#10878037)
Yes. https://github.com/muzuiget/user_agent_overrider

As far as I am aware, no extension currently offers the option of a random user agent, but many (including the one linked) allows user supplied use agents, and there is no reason you could not make one support random user agents.

Re:YouTube change served lower-quality video to Firefox 43 f... by Survey_Sez on Sunday January 10, 2016 @08:29PM (#10878240)
There is in fact already an extension which will randomly change the browser user agent.

https://github.com/dillbyrne/random-agent-spoofer

Re:YouTube change served lower-quality video to Firefox 43 f... by danieldk on Monday January 11, 2016 @02:25AM (#10879352)
Also, uMatrix can randomly switch user agent strings (among many other things).
Re:YouTube change served lower-quality video to Firefox 43 f... by chei0aiV on Sunday January 10, 2016 @07:38PM (#10878031)
With an extension to this extension, yes:

http://chrispederick.com/work/user-agent-switcher/

Re:YouTube change served lower-quality video to Firefox 43 f... by junto on Monday January 11, 2016 @03:06AM (#10879509)
Why send one at all?
Re:YouTube change served lower-quality video to Firefox 43 f... by DannyBee on Sunday January 10, 2016 @11:26PM (#10878803)
"They took two weeks to deploy the fix. Considering those two weeks included Christmas and the bug didn't affect security or render the site unavailable, this seems like a pretty good response time."

Note that plenty of smart companies have things like production freezes at holiday times :)

So this is not entirely surprising.

Re:YouTube change served lower-quality video to Firefox 43 f... by pcwalton on Monday January 11, 2016 @01:38AM (#10879204)
If bugs can't be fixed during a time frame, then I'd think new features shouldn't be rolled out during that time frame either.
Re:YouTube change served lower-quality video to Firefox 43 f... by DannyBee on Monday January 11, 2016 @05:12PM (#10883998)
They generally aren't. The freezes are real freezes: New software releases are not rolled out during that time period, be they new features of bugs.

(they are always exceptions in any of the companies i've been in, but that's been the rule)

Re:YouTube change served lower-quality video to Firefox 43 f... by zobzu on Monday January 11, 2016 @01:50AM (#10879242)
1) break everything 2) change freeze 3) ??? Profit
Re:YouTube change served lower-quality video to Firefox 43 f... by userbinator on Sunday January 10, 2016 @10:59PM (#10878701)
I think the whole situation with user-agent strings being ridiculous was really put into perspective when I read that the latest version of IE (Edge) has a UA like this:

Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136

Re:YouTube change served lower-quality video to Firefox 43 f... by plorkyeran on Sunday January 10, 2016 @08:08PM (#10878176)
Only serving 360p basically does render the site unusable.
Re:YouTube change served lower-quality video to Firefox 43 f... by orliesaurus on Sunday January 10, 2016 @08:54PM (#10878317)
How so?
Re:YouTube change served lower-quality video to Firefox 43 f... by plorkyeran on Sunday January 10, 2016 @10:17PM (#10878568)
A video site that doesn't serve watchable video isn't much of a video site. My reaction to getting 360p (or 240p...) video from Youtube is to close the tab.
Re:YouTube change served lower-quality video to Firefox 43 f... by Buge on Sunday January 10, 2016 @10:40PM (#10878638)
Youtube used to be only 240p, and I found it perfectly watchable. Then when 360p started to roll out, people played all kinds of weird url tricks to try to force videos to be high quality (360p).

Tons of videos from then are only available in those resolutions, and I don't think it's productive to close the tab any time you encounter a video from 2007 or 2008.

Re:YouTube change served lower-quality video to Firefox 43 f... by swang on Monday January 11, 2016 @01:38AM (#10879207)
I mean sure if you're stuck in 2007 it's fine.

The average screen resolution in 2007 was 1024x768. Most of us now have ~1080p-ish type screens or on mobile where it's even higher. We also now have the bandwidth to watch 720p/1080p videos whereas in 2007 that was less true to a broader audience.

360p is pretty unwatchable for me on my screen from 2011/2012, let alone anything that's been released in the past 2 years.

Re:YouTube change served lower-quality video to Firefox 43 f... by babuskov on Monday January 11, 2016 @03:12AM (#10879527)
It really depends on your usage patterns. I watch YT mostly for audio in the videos. Either it's music or some documentary or interviews or shows like This Week in Startups. Video is really not important and I don't want to waste my bandwidth on it. I watch all videos at 360p by default and only increase it manually when I really need to see the detail.

I also know a lot of people who just start a playlist with music and leave YT in the background the whole day. They don't even have that tab active in the browser.

Re:YouTube change served lower-quality video to Firefox 43 f... by joonoro on Monday January 11, 2016 @04:11AM (#10879716)
I was going to reply to you by saying that Youtube audio quality is affected by video quality, but apparently that hasn't been the case anymore since 2013. The more you know!

http://www.h3xed.com/web-and-internet/youtube-audio-quality-...

Re:YouTube change served lower-quality video to Firefox 43 f... by 746F7475 on Monday January 11, 2016 @04:43AM (#10879827)
Yep 240p was watchable, but no one wanted to watch it. I used to make stupid little "frag movies" and we used to upload them to youtube for "quick review" and if we found it interesting or good then there was always some file sharing site URL to download better quality version for local viewing
Re:YouTube change served lower-quality video to Firefox 43 f... by lazyjones on Monday January 11, 2016 @04:39AM (#10879817)
> A video site that doesn't serve watchable video isn't much of a video site.

Luxury problem - I frequently get no video at all because of geoblocking when I use Tor. Youtube is really a terrible video site and I don't see why everyone is using it.

Re:YouTube change served lower-quality video to Firefox 43 f... by detaro on Monday January 11, 2016 @06:15AM (#10880153)
Which video sites are better in your opinion? It isn't great, but all the alternatives I've seen are worse AND have way less content I'm interested in.
Re:YouTube change served lower-quality video to Firefox 43 f... by Grue3 on Monday January 11, 2016 @08:32AM (#10880636)
I've never seen a dailymotion video blocked by geoip.
Re:YouTube change served lower-quality video to Firefox 43 f... by lazyjones on Monday January 11, 2016 @08:29AM (#10880615)
Vimeo has much less content, but has never given me trouble viewing on any platform.
Re:YouTube change served lower-quality video to Firefox 43 f... by detaro on Monday January 11, 2016 @08:42AM (#10880682)
True, forgot about Vimeo, because I don't use it like YouTube to "discover" or explicitly seek out content, but only through outside links. It's great though.
Re:YouTube change served lower-quality video to Firefox 43 f... by skarap on Monday January 11, 2016 @02:05AM (#10879289)
Guess everybody has read this multiple times, but it's highly on-topic: http://webaim.org/blog/user-agent-string-history/
Re:YouTube change served lower-quality video to Firefox 43 f... by amelius on Monday January 11, 2016 @05:16AM (#10879955)
You have good points. But a big company like Google not running automated tests on all major browsers also seems a bit implausible.
Re:YouTube change served lower-quality video to Firefox 43 f... by kuschku on Monday January 11, 2016 @09:27AM (#10880889)
Google always only cares about themselves, in this case, Chrome.
Re:YouTube change served lower-quality video to Firefox 43 f... by rubberstamp on Monday January 11, 2016 @03:05AM (#10879502)
This is why we need standards and standards compliant web browsers. Then we wouldn't need to worry about testing on all different browsers.

As for the case with google products, particularly youtube, those users other than ones using chrome have a really mediocre experience. Try viewing a youtube video on chrome. you won't experience a problem if you quickly try to seek backwards. Now try doing the same in firefox. This is one of the reasons I stick with firefox, which supports open standards and privacy.