Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. Navigator
  4. userAgentData

Navigator: userAgentData property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.

TheuserAgentData read-only property of theNavigator interface returns aNavigatorUAData objectwhich can be used to access theUser-Agent Client Hints API.

Value

ANavigatorUAData object.

Examples

The following example prints the value ofNavigatorUAData.brands to the console.

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

Specifications

Specification
User-Agent Client Hints
# dom-navigatorua-useragentdata

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp