diff options
Diffstat (limited to 'files/zh-cn/archive/b2g_os/api/navigator/index.html')
| -rw-r--r-- | files/zh-cn/archive/b2g_os/api/navigator/index.html | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/files/zh-cn/archive/b2g_os/api/navigator/index.html b/files/zh-cn/archive/b2g_os/api/navigator/index.html deleted file mode 100644 index c66a781c5f..0000000000 --- a/files/zh-cn/archive/b2g_os/api/navigator/index.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Navigator (Firefox OS extensions) -slug: Archive/B2G_OS/API/Navigator -translation_of: Archive/B2G_OS/API/Navigator ---- -<p>(zh-CN translation)</p> - -<p>The <code><strong>Navigator</strong></code> interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. This page represents the list of properties and methods added to <code>Navigator</code> on Firefox OS devices. For the list of properties and methods available to any Web sites, consult <a href="/zh-CN/docs/Web/API/Navigator" title="Navigator 接口表示用户代理的状态和标识。 它允许脚本查询它和注册自己进行一些活动。"><code>Navigator</code></a>.</p> - -<p>A <code>Navigator</code> object can be retrieved using the read-only <a href="/zh-CN/docs/Web/API/Window/navigator" title="返回一个navigator对象的引用,可以用它来查询一些关于运行当前脚本的应用程序的相关信息."><code>Window.navigator</code></a> property.</p> - -<p></p><dl><dt class="landingPageList"><a href="/zh-CN/docs/Archive/B2G_OS/API/Navigator/mozHasPendingMessage">Navigator.mozHasPendingMessage()</a></dt><dd class="landingPageList">该方法用来用于判定一个给定类型(type)是否存在未决消息(待处理的消息),返回类型为是(true)或非(false)。</dd><dt class="landingPageList"><a href="/zh-CN/docs/Archive/B2G_OS/API/Navigator/mozSetMessageHandler">Navigator.mozSetMessageHandler()</a></dt><dd class="landingPageList">该方法用来允许应用为系统消息注册处理程序,对消息作出反应。</dd><dt class="landingPageList"><a href="/zh-CN/docs/Archive/B2G_OS/API/Navigator/MozTelephony">Navigator.mozTelephony</a></dt><dd class="landingPageList">返回一个你可以用来从浏览器启动和控制电话呼叫的<a href="/zh-CN/docs/Web/API/Telephony" title="此页面仍未被本地化, 期待您的翻译!"><code>Telephony</code></a>对象。</dd></dl><p></p> |
