Live data from Hacker News

Chrome phasing out support for User-Agent

infoq.com

311–320 of 329 posts

Re: Chrome phasing out support for User-Agent

#311

Earlier quoted context omitted.

> I'm pretty sure that the webmasters responsible for this are using user agent string blocking as a naive attempt to block bots from scraping their site, but that assumes that the bots that they want to block actually send an accurate user agent string the first place. That is exactly what they are doing, and it works really well. We blocked user agents with lib in them at reddit for a long time. Any legit person bu…

Yes perhaps. But it caused problems for regular users like this fellow. I also have tried various 'download via script' for web pages for offline use. I thought I had a problem on my end, I never realized I could have been getting blocked.

Hard to argue with the economics of that mitigation though. The abuse:legitimate use ratio is probably pretty high. Getting rid of user agent strings will bring back the scaling problems, as they should probably be addressed directly.

Re: Chrome phasing out support for User-Agent

#312

Earlier quoted context omitted.

Streaming above 720p also doesn't work via Firefox on any operating system.

According to the test pattern videos I'm getting 1080p in Firefox on Windows

Try "actual" content videos. You can press ctrl+alt+shift+D to open a debug overlay that shows the playback resolution.

The actual DRM limitations also vary by content (and region) - with some titles I get 720p on Linux while some other titles are limited to SD, while I get 1080p on Windows Edge on those same titles.

Re: Chrome phasing out support for User-Agent

#315

Earlier quoted context omitted.

Chrome 0.2 on Windows XP?

As a web developer, I have very little trouble reading the User-Agent header. User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.1.2222.33 Safari/537.36 Sec-CH-UA: "Chrome"; v="74" Sec-CH-UA-Full-Version: "74.0.3424.124" Sec-CH-UA-Platform: "macOS" Sec-CH-UA-Arch: "ARM64" Sec-CH-Mobile: ?0 Isn't moving this information to a separate Sec-CH-UA headers going to make t…

Very little trouble? That user agent says it’s Mozilla, then says it’s Windows 10, then says it’s Apple, then says it’s Gecko, then says it’s Chrome, then even though it said it was Windows it goes on to say it’s Safari.

The individual headers, on the other hand, tell you EXACTLY what the system and browser is.

Re: Chrome phasing out support for User-Agent

#316

Earlier quoted context omitted.

As a web developer, I have very little trouble reading the User-Agent header. User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.1.2222.33 Safari/537.36 Sec-CH-UA: "Chrome"; v="74" Sec-CH-UA-Full-Version: "74.0.3424.124" Sec-CH-UA-Platform: "macOS" Sec-CH-UA-Arch: "ARM64" Sec-CH-Mobile: ?0 Isn't moving this information to a separate Sec-CH-UA headers going to make t…

Very little trouble? That user agent says it’s Mozilla, then says it’s Windows 10, then says it’s Apple, then says it’s Gecko, then says it’s Chrome, then even though it said it was Windows it goes on to say it’s Safari. The individual headers, on the other hand, tell you EXACTLY what the system and browser is.

That's because you have no experience. Any web developer worth their salt knows what the string means and what browser it represents. Which is okay because user agents are to be parsed by computers and rarely developers, not end users.

Re: Chrome phasing out support for User-Agent

#319

Earlier quoted context omitted.

Here in Safari, Gmail is not only 10x buggier than it used to be before the redesign, it also uses at least 10x more client-side resources (CPU, network, ...). A handful of open Gmail tabs single-handedly use more CPU over here than hundreds of other web pages open simultaneously, including plenty of heavyweight app-style pages. It’s hard to escape the conclusion that Google’s front-end development process is complet…

I recently learned about Superhuman. Via the Acquired podcast. Not a recommendation; I haven't used Superhuman. But I remain astonished there's an apparently very successful startup who's entire effort is a "pro" webmail client for gmail. It would have never occurred to me to create a better webmail. As I reach my greybeard years, I'm increasingly aware that I've been doing everything wrong.

Superhuman looks nice.

>I'm increasingly aware that I've been doing everything wrong.

Any theme to this?

Re: Chrome phasing out support for User-Agent

#320

Earlier quoted context omitted.

Very little trouble? That user agent says it’s Mozilla, then says it’s Windows 10, then says it’s Apple, then says it’s Gecko, then says it’s Chrome, then even though it said it was Windows it goes on to say it’s Safari. The individual headers, on the other hand, tell you EXACTLY what the system and browser is.

That's because you have no experience. Any web developer worth their salt knows what the string means and what browser it represents. Which is okay because user agents are to be parsed by computers and rarely developers, not end users.

Well that's quite rude, you don't know me at all so you have no idea how much experience I have. And it's also quite contradictory... if the string is only rarely to be parsed by developers, why would "any web developer worth their salt" bother memorizing every browser's user agent? Experienced web developers don't have anything better to do than memorize a useless string they rarely have to work with?
Post reply on HN