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

navigator.mozApps.mgmt.uninstall

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Summary

Uninstalls an app from the user's repository.

Syntax

navigator.mozApps.mgmt.uninstall( origin, [onsuccess], [onerror] )

Parameters

origin
The origin of the app to be removed.
onsuccess
(Optional) A callback function that is invoked after the app has been successfully uninstalled.
onerror
(Optional) A callback function that is invoked if the specified app doesn't exist; it is passed an error object with a code of noSuchApp.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, Sheppy, kohei.yoshino, markg, jswisher
 Last updated by: chrisdavidmills,