🏠 New in High Baseline Support: User agent sniffing

March 20, 2019

caniuse · mdn · spec

The navigator.userAgent property and several others loosely identify a browser. Selectively showing content based on the user agent string, also known as user agent sniffing, is unreliable. Consider using feature detection or user agent client hints instead.

Source features