This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. 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 NavigatorID.product property returns the product name of the current browser.

Note: Do not rely on this property to return a real product name. All browsers return "Gecko" as the value of this property.


productName = window.navigator.product 


A DOMString.


function prod() { 
  dt = document.getElementById('d'); 
  dt.innerHTML = window.navigator.product; 

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


In Gecko-based browsers the product matches the portion of the full user agent string that comes directly after the platform. In the user agent for Netscape 6.1, for example, the product is "Gecko" and the full agent string is the following: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010725 Netscape6/6.1.

In WebKit-based browsers the product is returned as "Gecko" even though the portion of the full user agent string directly after the platform is actually the following: (KHTML, like Gecko).


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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes Yes Yes Yes Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes Yes Yes Yes ?

See also

Document Tags and Contributors

Last updated by: fscholz,