Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. NavigatorUAData
  4. brands

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.

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 ofbrands to the console.

js
console.log(navigator.userAgentData.brands);

Specifications

Specification
User-Agent Client Hints
# dom-navigatoruadata-brands

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp