This isn’t alleged to be any form of decision-making primarily based on browser Consumer-Agent Strings. However, ya know, collectively, we do make these selections.
Karl Dubost notes that there’s a important change coming to them, notably shifting the model integer previous two digits:
Based on the Firefox launch calendar, throughout the first quarter of 2022 (most likely March), Firefox Nightly will attain model 100. It can set Firefox steady launch model round Could 2022 (if it doesn’t change till then).
And Chrome launch calendar units a present date of March 29, 2022.
So, we’ll be UAs like:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 KHTML, like Gecko) Chrome/100.0.0.0 Safari/537.36
A foul RegEx will likely be getting some folks for positive. However even string comparability will catch folks, as Karl notes:
“80” < “99” // true
“80” < “100” // false
parseInt(“80”, 10) < parseInt(“99”, 10) // true
parseInt(“80”, 10) < parseInt(“100”, 10) // true
Would possibly wanna search the ol’ codebase for navigator.userAgent and see what you’re doing.
The publish Three-Digit Browser Variations in March 2022 appeared first on CSS-Methods. You possibly can help CSS-Methods by being an MVP Supporter.
Subscribe to MarketingSolution.
Receive web development discounts & web design tutorials.
Now! Lets GROW Together!