DOMApplicationsManager

by 2 contributors:
Our volunteers haven't translated this article into Azərbaycanca yet. Join us and help get the job done!

Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

Provides support for managing, and Open Web apps in a browser. A manager can be accessed via Navigator.mozApps.mgmt

Event handlers

DOMApplicationsManager.oninstall
Is an EventManager call when install event is received.
DOMApplicationsManager.onuninstall
Is an EventManager call when uninstall event is received.
DOMApplicationsManager.onenabledstatechange
Defines an event handler for the enabledstatechange event; this is received when an app is enabled or disabled using DOMApplicationsManager.setEnabled().

Methods

DOMApplicationsManager.getAll()
Returns all applications.
DOMApplicationsManager.setEnabled()
Sets an application to be enabled or disabled.

Specifications

Not currently part of an official specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 16.0 ? ? ?
onstatechange, setEnabled() Not supported 36.0 Not supported Not supported Not supported
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 16.0 1.0.1 ? ? ?
onstatechange, setEnabled() Not supported 36.0 2.2 Not supported Not supported Not supported

 

Document Tags and Contributors

Contributors to this page: chrisdavidmills, teoli
Last updated by: chrisdavidmills,