aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/navigatorid/appcodename/index.html
blob: 5f5f0e91da7b7e29d07efcedc314708c7049ca33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: NavigatorID.appCodeName
slug: Web/API/NavigatorID/appCodeName
translation_of: Web/API/NavigatorID/appCodeName
---
<p>{{ ApiRef() }}</p>

<h3 id="Summary" name="Summary">概述</h3>

<p>返回所使用浏览器的内部名称.</p>

<h3 id="Syntax" name="Syntax">语法</h3>

<pre class="eval">codeName = window.navigator.appCodeName
</pre>

<h3 id="Parameters" name="Parameters">参数</h3>

<ul>
 <li><code>codeName</code> 是一个字符串,表示浏览器内部名称.</li>
</ul>

<h3 id="Example" name="Example">例子</h3>

<pre>dump(window.navigator.appCodeName);
</pre>

<h3 id="Notes" name="Notes">笔记</h3>

<p>Mozilla, Netscape 6, 和 IE5 的内部名称都是 "Mozilla".</p>

<h3 id="Specification" name="Specification">规范</h3>

<p>{{ DOM0() }}</p>

<p>{{ languages( { "en": "en/DOM/window.navigator.appCodeName","ja": "ja/DOM/window.navigator.appCodeName", "pl": "pl/DOM/window.navigator.appCodeName" } ) }}</p>