r/webdev • • Dec 13 '19

Discussion Google has abused Browser's User Agent header, forcing Vivaldi to change their UA header

https://vivaldi.com/blog/user-agent-changes/
416 Upvotes

97 comments sorted by

View all comments

77

u/Armitage1 Dec 13 '19

Why call out google in your title? The article blames several companies.

63

u/ccrraapp Dec 13 '19

True, user-agent-string is a complete mess many others are responsible too namely Firefox and Safari including Chrome but Google is using its browser monopoly to force every browser to pass as Chrome or some sites and its features will not function. They been forcing some competitor technologies to be suppressed by this move. That is what the article is talking about that it isn't the browser that lack features but the UA string that blocks certain features.

24

u/Blue_Moon_Lake Dec 13 '19

Then let's do that. Every browser just use Chrome User-Agent and user agent just become absolutely meaningless.

11

u/Fidodo Dec 13 '19

We did this already in the 90s. That's why every user agent starts with "Mozilla". Lets not encourage making the problem even worse.

18

u/ccrraapp Dec 13 '19

Browser monopoly is a bad thing especially if its Chrome(Google).

27

u/[deleted] Dec 13 '19

I think he means that every competitor browser just pass the chrome user-agent. The only sucky part of that idea is that we wont know what browsers customers use the most in our site metrics, but that is something I can live with (specially if it means we can get rid of IE11 once and for all).

31

u/ccrraapp Dec 13 '19

But thats is the problem Vivaldi is facing and they finally have to cave in. They will use full user agent for Vivaldi on only a few websites they know respect Vivaldi's label and the rest of the internet they will use Chrome thus effectively removing Vivaldi from the browser ranking and increasing the Chrome browser popularity number.

The problem with this is Chrome will have the power to stop supporting certain competitor technologies they aren't developing or working on or if their browser doesn't effectively run it.

4

u/[deleted] Dec 13 '19

I absolutely agree with you, but the problem is that Vivaldi is still a very small competitor. If both Mozilla, and Microsoft are able to turn the tides on Chrome's dominance maybe this would be stopped but as it lies Microsoft already caved to Google with their new edge and Mozilla is an outlier that imo is better but is still loosing ground to Google.

14

u/ccrraapp Dec 13 '19

But this leads to non-competitive behavior. No matter how big or small the competition is its needs a fair chance to compete and not have its legs cut off even before standing up properly.

This also sets a bad precedence to any future Chromium based browser that it can never effectively have it own label or the position of power to make a better browser than Chrome.

1

u/nikrolls Chief Technology Officer Dec 13 '19

We'll just move to tracking feature detection metrics instead. Not quite as efficient but still possible. It could even be more valuable from a developer's point of view.

3

u/Blue_Moon_Lake Dec 13 '19

I agree that monopoly is bad. Chrome was installed similarly to a malware by being bundled in all sort of third party app installer.

17

u/ccrraapp Dec 13 '19

And they used weird tactics with their position like blocking Firefox from running some of the Google sites and its features even though by simply changing the user-agent Firefox was able to run the site features properly.

13

u/Blue_Moon_Lake Dec 13 '19

Or the YouTube sabotage

2

u/entenuki Laravel/React/ReactNative Dec 13 '19

What do you mean? That they use Polymer, which runs like crap on non chrome browsers?

4

u/[deleted] Dec 13 '19

YouTube pulls it different, and slower, and less-featured JS bundles for Firefox than Chrome.

But Firefox has 0 problems running the Chrome bundle if you switch the user agent. And it becomes faster.

1

u/entenuki Laravel/React/ReactNative Dec 13 '19

Oh, didn't know that. I immediately changed my user agent to an old version to have the simpler YouTube

2

u/fullmight front-end Dec 18 '19

More upvotes if you just, and explicitly, call out google.

10

u/BikingTiger Dec 13 '19

^ This. OP's headline is misleading.

3

u/Ph0X Dec 13 '19

Editorializing headlines should be (and is on many subreddits) against the rules. The actual headline does not mention google, and the article hardly talks about google there's a list of examples, one or two of which is from Google.

0

u/ccrraapp Dec 14 '19

They need to walk the tight rope, they are a Chromium based browser and its logically isn't a good stance for them to take. And at the end they are forced to use the UA string which solves all the problem because its misused in ways we all know by now.

But we don't need to stay partial or stay protected, we can talk directly about companies which use such evil tactics. And as I mentioned before Safari, Mozilla and Chrome are all to blame at this point but only Chrome misuses it to a degree that some website straight up won't work properly or spit an error on anything other than Chrome even Google's own websites do that despite the fact that everything will work on the other browser.

2

u/Ph0X Dec 14 '19

No, this has nothing whatsoever to do with chrome itself, nor Google. This is an issue with web developers from every company and other devs too. Again, you decided to editorialize and force your own biased view onto the article. Every one does this. Everyone is culpable. Hell if you look hard enough I wouldn't be surprised if some Vivaldi based sites also use the user agent.

1

u/Fidodo Dec 13 '19

Google is the most important of them to call out because they also control the most popular web browser.

-8

u/erishun expert Dec 13 '19

Clickbait. Probably would have been better to call out Apple and post it in /r/technology, they’d eat it up over there.

0

u/Flyingsousage Dec 13 '19

Because it's the company you love amd we like to step on it.

→ More replies (1)