The value of the NavigatorID.product property is always "Gecko", in any browser.

Note: Do not rely on this property to return a real product name.

Syntax

productName = window.navigator.product 

Value

The string "Gecko".

Example

<script>
function prod() { 
  dt = document.getElementById('d'); 
  dt.innerHTML = window.navigator.product; 
}
</script> 

<button onclick="prod();">product</button> 
<div id="d"> </div> 
<!-- returns "Gecko" -->

Specifications

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

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
Deprecated
Chrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

See also

Document Tags and Contributors

Last updated by: sideshowbarker,