MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

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,