NavigatorUAData: brands property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Note: This feature is available inWeb Workers.
Thebrands read-only property of theNavigatorUAData interface returns an array of brand information.
In this article
Value
An array containing the following information for each brand:
Examples
The following example prints the value ofbrands to the console.
js
console.log(navigator.userAgentData.brands);Specifications
| Specification |
|---|
| User-Agent Client Hints> # dom-navigatoruadata-brands> |
Browser compatibility
See also
Sec-CH-UA(alow-entropy client hint) contains the same information.