Javascript examples for Browser Object Model:Navigator
The product property returns the engine name of the browser.
This property is read-only.
A String, representing the engine name of the browser
The following code shows how to get the browser's engine name:
<!DOCTYPE html> <html> <body> <button onclick="myFunction()">Test</button> <p id="demo"></p> <script> function myFunction() {/*w ww . j a va 2s.com*/ var x = "Browser's Engine Name: " + navigator.product; document.getElementById("demo").innerHTML = x; } </script> </body> </html>