Edit This Code:
See Result »
<!DOCTYPE html> <html> <body> <p>Click the button to display the engine name of the browser.</p> <button onclick="myFunction()">Try it</button> <p>The navigator.product property is not supported in IE10 and earlier versions, or Opera 12 and earlier versions.</p> <p id="demo"></p> <script> function myFunction() { var x = "Browser's Engine Name: " + navigator.product; document.getElementById("demo").innerHTML = x; } </script> </body> </html>
Result: