Firefox Tomorrow

web api instance property

NavigatorUAData: brands property

View on MDN ↗

Limited availabilityAvailable in workers

The brands read-only property of the NavigatorUAData interface returns an array of brand information.

Value

An array containing the following information for each brand:

  • brand
    • : A string containing the brand. For example, "Google Chrome".
  • version
    • : A string containing the version. For example, "91".

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.

See also