English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Navigator product property

JavaScript Navigator Object

productThe read-only property returns the browser engine (product) name.

Note:Do not rely on this property to return the actual engine name. All browsers will return "Gecko" as the value for this property.

Keep this property for compatibility purposes only.

Syntax:

navigator.product
var x = navigator.product;
document.querySelector("#output").innerHTML = x;
Test and See‹/›

Browser compatibility

All browsers fully support the product property:

Property
productYesYesYesYesYes

Technical details

Return value:A string representing the browser engine name

More examples

This example displays all Navigator properties:

var txt = "";
txt += "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt += "<p>Browser Name: " + navigator.appName + "</p>";
txt += "<p>Browser Version: " + navigator.appVersion + "</p>";
txt += "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt += "<p>Browser Language: " + navigator.language + "</p>";
txt += "<p>Browser Online: " + navigator.onLine + "</p>";
txt += "<p>Platform: " + navigator.platform + "</p>";
txt += "<p>User-agent header: " + navigator.userAgent + "</p>";
document.write(txt);
Test and See‹/›

Related References

Navigator Reference:navigator.appCodeName property

Navigator Reference:navigator.appname property

Navigator Reference:navigator.cookieEnabled property

Navigator Reference:navigator.language property

Navigator Reference:navigator.onLine property

Navigator Reference:navigator.userAgent property

JavaScript Navigator Object