The Navigator.productSub read-only property that returns either the string "20030107", or the string "20100101".
Either "20030107", or "20100101".
document.body.textContent = `productSub: ${navigator.productSub}`;
On IE, this property returns undefined.
On Apple Safari and Google Chrome this property always returns 20030107.
On Firefox, this property always returns 20100101.
| Specification |
|---|
| HTML> # dom-navigator-productsub-dev> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
productSub |
1Always returns20030107. |
12Always returns20030107. |
1 | 15Always returns20030107. |
1Always returns20030107. |
18Always returns20030107. |
4 | 14Always returns20030107. |
1Always returns20030107. |
1.0Always returns20030107. |
4.4Always returns20030107. |
1Always returns20030107. |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/productSub