Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

navigator.mozApps.amInstalled

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

已废弃
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Summary

Provides a means for an app to check whether it is installed. This function is typically called from an origin that hosts an app.

Syntax

navigator.mozApps.amInstalled( callback )

Parameters

callback
A callback function; it is called with one argument: an App object if the app is installed, or null if not.

文档标签和贡献者

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