How to find the name of the browser using javascript

Posted by Manideepgoud under JavaScript category on | Points: 40 | Views : 1228
We use navigator.appname and navigator.appcodename to find the out name of the browser.
<p id="fun"></p>
function myFunction() {
document.getElementById("fun").innerHTML =
"Name is " + navigator.appName +
"<br>Code name is " + navigator.appCodeName;

Comments or Responses

Login to post response