We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

这篇翻译不完整。请帮忙从英语翻译这篇文章

(zh-CN translation)

The Navigator 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 Navigator on Firefox OS devices. For the list of properties and methods available to any Web sites, consult Navigator.

A Navigator object can be retrieved using the read-only Window.navigator property.

Navigator.mozHasPendingMessage()
该方法用来用于判定一个给定类型(type)是否存在未决消息(待处理的消息),返回类型为是(true)或非(false)。
Navigator.mozSetMessageHandler()
该方法用来允许应用为系统消息注册处理程序,对消息作出反应。
Navigator.mozTelephony
返回一个你可以用来从浏览器启动和控制电话呼叫的Telephony对象。

文档标签和贡献者

此页面的贡献者: chrisdavidmills
最后编辑者: chrisdavidmills,