Nuestros voluntarios aún no han traducido este artículo al Español. ¡Únete a nosotros y ayúdanos a traducirlo!
También puedes leer el artículo en English (US).

The Navigator.productSub read-only property returns the build number of the current browser.

Syntax

prodSub = window.navigator.productSub
  • prodSub is a string.

Example

<script> 
function prodsub() {
  var dt = document.getElementById("d").childNodes[0];
  dt.data = window.navigator.productSub;
} 
</script>

<button onclick="prodsub();">productSub</button>
// returns: 20010725

Notes

On IE, this property returns undefined.

On Apple Safari and Google Chrome this property always returns 20030107.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'NavigatorID: productSub' in that specification.
Living Standard Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
productSub
Non-standard
Chrome Full support Yes
Notes
Full support Yes
Notes
Notes Always returns 20030107.
Edge Full support 12Firefox Full support YesIE Full support Yes
Notes
Full support Yes
Notes
Notes Always returns undefined.
Opera Full support YesSafari Full support Yes
Notes
Full support Yes
Notes
Notes Always returns 20030107.
WebView Android Full support YesChrome Android Full support Yes
Notes
Full support Yes
Notes
Notes Always returns 20030107.
Edge Mobile ? Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support Yes
Notes
Full support Yes
Notes
Notes Always returns 20030107.
Samsung Internet Android Full support Yes

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
See implementation notes.
See implementation notes.

Etiquetas y colaboradores del documento

Etiquetas: 
Última actualización por: mdnwebdocs-bot,