JavaScript  -  Web Browser Code Name

Option 1.   Place this script in the <head> of your html document

<script type="text/javascript">
var navCname1 = navigator.appCodeName;
</script>

and use this script in the <body>

<script type="text/javascript">
<!--
document.write(""+navCname1+"");
//-->
</script>

Web Browser Code Name - Displays:

 

Option 2.   Save this script in your js folder

Save the following script as codename.js

<!--
var navCname2 = navigator.appCodeName;
document.write(""+navCname2+"");
// or
// document.write(""+navigator.appCodeName+"");
// without using a variable
//-->

and refer to it in the <body> of your html document

<script src="/js/codename.js" type="text/javascript"></script>

Web Browser Code Name - Displays:

 

Option 3.   Embed this script in the <body> of your html document

<script type="text/javascript">
<!--
var navCname3 = navigator.appCodeName;
document.write(""+navCname3+"");
// or
// document.write(""+navigator.appCodeName+"");
// without using a variable
//-->
</script>

Web Browser Code Name - Displays:

 

Mozilla is a term used in a number of ways in relation to the Mozilla project and the Mozilla Foundation, their defunct commercial predecessor Netscape Communications Corporation, and their related application software. Specifically, it is or was: the codename for the defunct Netscape Navigator software project; the mascot of Netscape, a cartoon reptile inspired by Godzilla; the name of the open-source software project that Netscape created to continue development of the Netscape Navigator code; and the name of the Mozilla Application Suite, later renamed SeaMonkey, the project's first product. Historically, Mozilla had been used internally as a codename for the Netscape Navigator web browser from its beginning. Jamie Zawinski came up with the name during a meeting while working at the company. The name was created as a portmanteau of the words "Mosaic killer," hinting Netscape would be the end to, the then only competitor browser, Mosaic. The logo was a reference to the name of the fictional monster Godzilla.