Movatterモバイル変換


[0]ホーム

URL:


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

NavigatorUAData: platform 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.

Theplatform read-only property of theNavigatorUAData interface returns the platform brand information.

Value

A string containing the platform brand.For example,"Windows".

Examples

The following example prints the value ofplatform to the console.

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

Specifications

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

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp