Navigator appName property
Definition and Usage
appName property returns the name of the browser.
grammar
navigator.appName
Browser Support
All major browsers support appName property
Examples
Examples
Returns the name of the browser:
<script>
document.write("浏览器名称: " + navigator.appName);
</script>
document.write("浏览器名称: " + navigator.appName);
</script>
Examples of the above output:
try it"
More examples
This example contains all the properties of the navigator.
Navigator Objects