ruby

« DOM Reference

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Provides support for installing, managing, and controlling Open Web apps in a browser. Currently implemented as window.navigator.mozApps.

Attributes

mgmt
A mgmt object that exposes functions that let dashboards manage and launch apps on a user's behalf.

Methods

Apps.checkInstalled()
Checks whether an app has already been installed, taking its manifest as parameter.
Apps.install()
Triggers the installation of an app. During the installation process, the app is validated and the user is prompted to approve the installation.
Apps.getSelf()
Returns an object that contains an app object for the app.
Apps.getInstalled()
Gets a list of all installed apps.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 16.0 ? ? ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 16.0 ? ? ?

 

Document Tags and Contributors

 Last updated by: Sheppy,