Latest web development tutorials

Navigator appCodeName property

Navigator Object Reference Navigator Objects

Definition and Usage

appCodeName property is a read-only string that declares the browser code name.

grammar

navigator.appCodeName


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support appCodeName property.


Examples

Examples

Return to the browser code name:

<script>

document.write("浏览器代号: " + navigator.appCodeName);

</script>

Examples of the above output:


try it"


Examples s

More examples

This example contains all the properties of navigator


Navigator Object Reference Navigator Objects