MDN self-hosted library · e01.org

WorkerNavigator: userAgentData property

User-Agent Client Hints APIworker

Open notebook · 1 cells web-api-instance-property upstream source

User-Agent Client Hints APIworker

The userAgentData read-only property of the WorkerNavigator 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);

Specifications

Browser compatibility

See also