Navigator: productSub property
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The Navigator.productSub
read-only property returns the build number of the current browser.
Value
Examples
document.body.textContent = `productSub: ${navigator.productSub}`;
Notes
On IE, this property returns undefined.
On Apple Safari and Google Chrome this property always returns 20030107
.
Specifications
Browser compatibility
|
Desktop |
Mobile |
|
Chrome |
Edge |
Firefox |
Internet Explorer |
Opera |
Safari |
WebView Android |
Chrome Android |
Firefox for Android |
Opera Android |
Safari on IOS |
Samsung Internet |
productSub |
1Always returns 20030107 .
|
12Always returns 20030107 .
|
1 |
No |
15Always returns 20030107 .
|
1Always returns 20030107 .
|
4.4Always returns 20030107 .
|
18Always returns 20030107 .
|
4 |
14Always returns 20030107 .
|
1Always returns 20030107 .
|
1.0Always returns 20030107 .
|