Web features explorer

User agent sniffing

Widely available since 2018-01-29
Tags: api

The navigator.userAgent read-only property returns the user agent string for the current browser. Selectively showing content based on the user agent string is unreliable. Consider using feature detection instead.

Learning resources on MDN

Browser support