Window navigator.product Property
- Previous Page platform
- Next Page taintEnabled()
- Go to Parent Layer Window Navigator
Definition and Usage
product
Property returns the browser engine (product name).
product
Properties are read-only.
Tip:For compatibility reasons, all modern browsers return "Gecko".
Instance
Example 1
Get navigator.product:
let product = navigator.product;
Example 2
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>";
Syntax
navigator.product
Return value
Type | Description |
---|---|
String | Browser engine name. |
Browser Support
All Browsers Support navigator.product
:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support | Support |
- Previous Page platform
- Next Page taintEnabled()
- Go to Parent Layer Window Navigator