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

DOMApplicationsManager.setEnabled()

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.

The setEnabled() method of the DOMApplicationsManager interface sets an application to be enabled or disabled.

Syntax

window.navigator.mozApps.mgmt.setEnabled(app,state)

Parameters

app
A DOMApplication object representing the app you want to set enabled state for.
state
A Boolean value that sets the enabled state of an installed app — can be enabled or disabled. enabled is the default state.

Return value

Void.

Specifications

Not currently part of an official specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 36.0 ? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support No support 36.0 2.2 No support No support No support

See also

Document Tags and Contributors

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