web api instance property
Navigator: userAgentData property
Secure contextLimited availability
The userAgentData read-only property of the Navigator interface returns a NavigatorUAData object
which can be used to access the User-Agent Client Hints API.
Value
A NavigatorUAData object.
Examples
The following example prints the value of brands to the console.
console.log(navigator.userAgentData.brands);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.