The NavigatorID interface contains methods and properties related to the identity of the browser.
There is no object of type NavigatorID, but other interfaces, like Navigator or WorkerNavigator, implement it.
The NavigatorID interface doesn't inherit any properties.
NavigatorID.appCodeName Read only
Mozilla", in any browser. This property is kept only for compatibility purposes.NavigatorID.appName Read only Netscape", in any browser. This property is kept only for compatibility purposes.NavigatorID.appVersion Read only
4.0" or a string representing version information about the browser. Do not rely on this property to return a useful value.NavigatorID.platform Read only
NavigatorID.product Read only
Gecko", in any browser. This property is kept only for compatibility purposes.NavigatorID.userAgent Read only
The NavigatorID interface doesn't inherit any methods.
NavigatorID.taintEnabled() Not available to workers
false. JavaScript taint/untaint functions were removed in JavaScript 1.2. This method is only kept for compatibility purpose| Specification | Status | Comment |
|---|---|---|
| HTML Living Standard The definition of 'NavigatorID' in that specification. | Living Standard | Added the appCodeName property and the taintEnabled() method, for compatibility purpose. |
| HTML5 The definition of 'NavigatorID' in that specification. | Recommendation | Initial specification. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | Yes | Yes | Yes | Yes | Yes | Yes |
appCodeName
|
Yes | Yes | Yes | Yes | Yes | Yes |
appName
|
Yes | Yes | Yes | Yes | Yes | Yes |
appVersion
|
Yes | Yes | Yes | Yes | Yes | Yes |
platform |
Yes | Yes | Yes | Yes | Yes | Yes |
product
|
Yes | Yes | Yes | Yes | Yes | Yes |
taintEnabled
|
Yes | Yes | Yes | Yes | Yes | Yes |
userAgent
|
Yes | Yes | Yes | Yes | Yes | Yes |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | Yes | Yes | Yes | Yes | Yes | Yes | ? |
appCodeName
|
Yes | Yes | Yes | Yes | Yes | Yes | ? |
appName
|
Yes | Yes | Yes | Yes | Yes | Yes | ? |
appVersion
|
Yes | Yes | Yes | Yes | Yes | Yes | ? |
platform |
Yes | Yes | Yes | Yes | Yes | Yes | ? |
product
|
Yes | Yes | Yes | Yes | Yes | Yes | ? |
taintEnabled
|
Yes | Yes | Yes | Yes | Yes | Yes | ? |
userAgent
|
Yes | Yes | Yes | Yes | Yes | Yes | ? |
Navigator and WorkerNavigator interfaces that implement it.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/navigatorID