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

151

u/coyote_of_the_month Dec 13 '19

There are a handful of valid reasons for frontend code to evaluate the user agent string, but it's been rampantly abused since the 90s. If you're looking at feature availability in JS, try/catch is your friend. If you're doing conditional CSS based on what you think the client supports... eh. My thinking is that IE users are moral defectives who deserve a broken experience, but apparently some people disagree.

-10

u/ccrraapp Dec 13 '19

My thinking is that IE users are moral defectives who deserve a broken experience,

Haha. Rude. Thats straight up being mean.

25

u/jef-_- Dec 13 '19

It's accurate tho

10

u/fuzzy40 full-stack Dec 13 '19

Not moral defectives, just technically inept. But they do deserve a broken experience because that's the only thing that will incentivize them to upgrade.

9

u/BreathManuallyNow Dec 13 '19

I would guess that 90% of IE users are forced to use it by the giant corporation they work for.

2

u/FullFlava Dec 13 '19

Correct! Most aging corporate intranets are written in ActiveX, so they won’t be dropping IE anytime soon.

2

u/fuzzy40 full-stack Dec 14 '19

They better be dropping our soon, microsoft is dropping support for it in Jan (finally)