Navigator: userAgentData property
User-Agent Client Hints API
User-Agent Client Hints API
The userAgentData read-only property of the Navigator interface returns a NavigatorUAData object
which can be used to access the .
Value
A NavigatorUAData object.
Examples
The following example prints the value of NavigatorUAData.brands to the console.
console.log(navigator.userAgentData.brands);