mozilla
Your Search Results

    Apps.mgmt

    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 controlling Open Web apps in a browser. Currently implemented as window.navigator.mozApps.mgmt. The apps management API is privileged. It is intended to grant access to trusted pages, also called "dashboards". The management API exposes functions that let dashboards manage and launch apps on a user's behalf. Additionally, the API exposes functions for app sync, which lets the dashboard display the logged-in state of the user and allows the user to sign up or register for an account to synchronize apps across devices.

    Methods

    Apps.mgmt.getAll()
    Lists all installed apps in the user's repository.
    Apps.mgmt.addEventListener()
    Enable privileged pages to listen for events that indicate an app has been installed or uninstalled, and perform an action in response.
    Apps.mgmt.removeEventListener()
    Removes something added by addEventListener.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support Not supported Nightly build Only Mac & Windows Not supported Not supported Not supported
    Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported Not supported Not supported Not supported Not supported Not supported

     

    Document Tags and Contributors

    Tags: 
    Contributors to this page: Sheppy, tregagnon, MHasan, jswisher, trevorh, teoli
    Last updated by: MHasan,