aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/navigatorid/platform/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/navigatorid/platform/index.html')
-rw-r--r--files/zh-cn/web/api/navigatorid/platform/index.html35
1 files changed, 0 insertions, 35 deletions
diff --git a/files/zh-cn/web/api/navigatorid/platform/index.html b/files/zh-cn/web/api/navigatorid/platform/index.html
deleted file mode 100644
index a80d295ccb..0000000000
--- a/files/zh-cn/web/api/navigatorid/platform/index.html
+++ /dev/null
@@ -1,35 +0,0 @@
----
-title: NavigatorID.platform
-slug: Web/API/NavigatorID/platform
-translation_of: Web/API/NavigatorID/platform
----
-<p>{{ ApiRef() }}</p>
-
-<h3 id="Summary" name="Summary">概述</h3>
-
-<p>返回一个字符串,表示浏览器所在的系统平台类型.</p>
-
-<h3 id="Syntax" name="Syntax">语法</h3>
-
-<pre class="eval"><em>platform</em> = <em>navigator</em>.platform
-</pre>
-
-<p><code>platform</code> 可能是: "Win32", "Linux i686", "MacPPC", "MacIntel", 等.</p>
-
-<h3 id="Example" name="Example">例子</h3>
-
-<pre class="brush: js">alert(navigator.platform);</pre>
-
-<h3 id="Notes" name="Notes">备注</h3>
-
-<p>在普通网页中,如果about:config中存在<code>general.platform.override</code><code>项,则</code>该属性的值会返回about:config中<code>general.platform.override项的值.</code> 在特权代码中 (chrome上下文或者拥有"UniversalBrowserRead"特权的网页中),返回的还是真实的平台类型.(译者注:语句:netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead ")用来激活所在网页的UniversalBrowserRead特权.)</p>
-
-<h3 id="Specification" name="Specification">规范</h3>
-
-<ul>
- <li><a class="external" href="http://www.w3.org/TR/html5/timers.html#navigator" title="http://www.w3.org/TR/html5/timers.html#navigator">HTML5: System state and capabilities: the Navigator object</a></li>
-</ul>
-
-<p>该属性由DOM Level 0提出, 目前已经被添加到HTML5规范中.</p>
-
-<p>{{ languages( {"ja": "ja/DOM/window.navigator.platform", "en": "en/DOM/window.navigator.platform", "pl": "pl/DOM/window.navigator.platform" } ) }}</p>