MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

DOMApplicationsManager

Marketplace feature removal
The functionality described on this page no longer works — Firefox Marketplace has discontinued support for Android, Desktop, Tablets, and payments (and other related functionality). For more information, read the Future of Marketplace FAQ.

Provides support for managing and installing 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() No support 36.0 No support No support No support
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 16.0 1.0.1 ? ? ?
onstatechange, setEnabled() No support 36.0 2.2 No support No support No support

 

Document Tags and Contributors

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