NavigatorID.appCodeName

  • Revision slug: Web/API/window.navigator.appCodeName
  • Revision title: window.navigator.appCodeName
  • Revision id: 408231
  • 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

dump(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>
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>
dump(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>

<!-- languages( { "zh-cn": "zh-cn/DOM/window.navigator.appCodeName", "pl": "pl/DOM/window.navigator.appCodeName" } ) -->
Revert to this revision