THE WORLD'S LARGEST WEB DEVELOPER SITE

Navigator product Property

Navigator Object Reference Navigator Object

Example

Get the browser's engine name:

var x = "Browser's Engine Name: " + navigator.product;

The result of x will be:


Try it yourself »

More "Try it Yourself" examples below.


Definition and Usage

The product property returns the engine (product) name of the browser.

Note: This property may not work as expected: All browsers returns "Gecko".

Note: This property is read-only.


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property
product Yes 11.0 Yes Yes 15.0

Syntax

navigator.product

Technical Details

Return Value: A String, representing the engine name of the browser

Examples

More Examples

Example

A demonstration of all navigator properties in one example:

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>";

Try it yourself »

Navigator Object Reference Navigator Object

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: