- Jul 2023
-
wicg.github.io wicg.github.io
-
```idl dictionary NavigatorUABrandVersion { DOMString brand; DOMString version; };
dictionary UADataValues { DOMString architecture; DOMString bitness; sequence<NavigatorUABrandVersion> brands; DOMString formFactor; sequence<NavigatorUABrandVersion> fullVersionList; DOMString model; boolean mobile; DOMString platform; DOMString platformVersion; DOMString uaFullVersion; // deprecated in favor of fullVersionList boolean wow64; };
dictionary UALowEntropyJSON { sequence<NavigatorUABrandVersion> brands; boolean mobile; DOMString platform; };
[Exposed=(Window,Worker)] interface NavigatorUAData { readonly attribute FrozenArray<NavigatorUABrandVersion> brands; readonly attribute boolean mobile; readonly attribute DOMString platform; Promise<UADataValues> getHighEntropyValues (sequence<DOMString> hints ); UALowEntropyJSON toJSON (); };
interface mixin NavigatorUA { [SecureContext] readonly attribute NavigatorUAData userAgentData ; };
Navigator includes NavigatorUA; WorkerNavigator includes NavigatorUA; ```
Tags
- http:header=sec-ch-ua-full-version-list
- http:header=user-agent
- http:header=sec-ch-ua-arch
- wikipedia:en=HTTP_Client_Hints
- http:header=sec-ch-ua-model
- mobile
- http:header=sec-ch-ua-platform
- http
- http:header=sec-ch-ua-platform-version
- http:header=accept-ch
- cito:cites=urn:ietf:rfc:8942
- http:header=sec-ch-ua-wow64
- conneg
- http:header=sec-ch-ua-bitness
- http:header=sec-ch-ua-full-version
- http:header=sec-ch-ua-form-factor
- http:header=sec-ch-ua-mobile
- http:header=sec-ch-ua
Annotators
URL
-