Window navigator.product
Example
Get the navigator.product:
let product = navigator.product;
Try it Yourself »
More "Try it Yourself" examples below.
Definition and Usage
The product
property returns the browser engine (product name).
The product
property is read-only.
Note
For compatibility reasons, all modern browsers returns "Gecko".
Syntax
navigator.product
Return Value
Type | Description |
A string | The browser engine name. |
More Examples
Display all navigator properties:
let text = "<p>Browser CodeName: " + navigator.appCodeName + "</p>" +
"<p>Browser Name: " + navigator.appName + "</p>" +
"<p>Browser Version: " + navigator.appVersion + "</p>" +
"<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>" +
"<p>Browser Language: " + navigator.language + "</p>" +
"<p>Browser Online: " + navigator.onLine + "</p>" +
"<p>Platform: " + navigator.platform + "</p>" +
"<p>User-agent header: " + navigator.userAgent + "</p>";
Try it Yourself »
Browser Support
navigator.product
is supported in all browsers:
Chrome | IE | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes | Yes |