JavaScript Reference/Javascript Properties/appCodeName
"appCodeName" Example
<html>
<head>
<script language="JavaScript">
function function1() {
alert(navigator.appCodeName);
}
</script>
</head>
<body>
<input type="button" value="Browser Code Name" onClick="function1();">
</body>
</html>
"appCodeName" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |clientInformation navigator |
+----------------+--------------------------------------------------------------+
"appCodeName" Syntax and Note
Note:
Read-only property.
Returns the browser"s code name.
The value returned for most browsers is Mozilla.
Syntax:
objectName.appCodeName