Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Note: This feature is available in Web Workers.
The brands read-only property of the NavigatorUAData interface returns an array of brand information.
An array containing the following information for each brand:
brandA string containing the brand. For example, "Google Chrome".
versionA string containing the version. For example, "91".
The following example prints the value of brands to the console.
console.log(navigator.userAgentData.brands);Sec-CH-UA (a low-entropy client hint) contains the same information.