NavigatorID.appCodeName

  • Revision slug: Web/API/window.navigator.appCodeName
  • Revision title: window.navigator.appCodeName
  • Revision id: 408607
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment

Revision Content

{{DomRef}}

Summary

Returns the internal "code" name of the current browser.

Syntax

codeName = window.navigator.appCodeName 
  • codeName is the internal name of the browser as a string.

Example

console.log(window.navigator.appCodeName);

Notes

Mozilla, Netscape 6, and IE5 all use the internal name "Mozilla."

Specification

{{dom0}}

Revision Source

<div>
  {{DomRef}}</div>
<h2 id="Summary" name="Summary">Summary</h2>
<p>Returns the internal "code" name of the current browser.</p>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="syntaxbox">
codeName = window.navigator.appCodeName 
</pre>
<ul>
  <li><code>codeName</code> is the internal name of the browser as a string.</li>
</ul>
<h2 id="Example" name="Example">Example</h2>
<pre class="brush:js">
console.log(window.navigator.appCodeName);
</pre>
<h2 id="Notes" name="Notes">Notes</h2>
<p>Mozilla, Netscape 6, and IE5 all use the internal name "Mozilla."</p>
<h2 id="Specification" name="Specification">Specification</h2>
<p>{{dom0}}</p>
Revert to this revision