Navigator appCodeName property
Definition and Usage
appCodeName property is a read-only string that declares the browser code name.
grammar
navigator.appCodeName
Browser Support
All major browsers support appCodeName property.
Examples
Examples
Return to the browser code name:
<script>
document.write("浏览器代号: " + navigator.appCodeName);
</script>
document.write("浏览器代号: " + navigator.appCodeName);
</script>
Examples of the above output:
try it"
More examples
This example contains all the properties of navigator
Navigator Objects