3 ms·
How does UA string having the exact number of the browser version in help the user? I'm guessing it doesn't, shouldn't the UA just say "Chrome". I guess it serv
by pbhjpbhj 7y ago
How does UA string having the exact number of the browser version in help the user? I'm guessing it doesn't, shouldn't the UA just say "Chrome". I guess it serves Google well though.
- cpeterso 7y agoIf a server know the client's browser version, it can serve JS polyfills to older clients and smaller files without the polyfills to more recent clients. Here is a polyfill service hosted and maintained by the Financial Times: https://polyfill.io/v3/ https://polyfill.io/v3/
- pbhjpbhj 7y agoApart from IE5.5 I've only used polyfills against major browser number, do current polyfills really look at minor browser number?
- Dumbdo 7y agoIt's helpful in web development, it allows you to target specific browser versions. For example if I use a new feature on my website which is only supported by recent browser versions, I can inform the user about the incompatibility and prevent complains. I also don't think Google needs that info, there's a million things to criticize them for but this is a bit silly.
- allannienhuis 7y agoFeature detection is more reliable than version checking, as it can more correctly support a wider range of browsers (that you didn't think to version-test for). There might be some cases where that's tricky, but it's generally straightforward. Tools like https://modernizr.com/ https://modernizr.com/ can help with that.
- pbhjpbhj 7y agoYou don't think Google do browser fingerprinting? As a sibling comment suggests: feature detection seems superior.
- jakeogh 7y agoIt's the biggest and most obvious thing to fix (especially with JS disabled), so clearly it's silly to worry about.
- marcthe12 7y agoChrome with version is enough not the rest of the stuff.