Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

PermissionSettings.remove()

This API is available on Firefox OS for internal applications only.

Summary

The remove method allows to simply reset a permission for an app which is running inside the browser app.

Syntax

 var value = navigator.mozPermissionsettings.remove(permission, manifest, origin)

Parameters

permission
A string with the name of the permission to retrieve.
manifest
A string representing the URL of the manifest of the app to check, or for an app running inside the browser, the URL of the browser app manifest.
origin
A string representing the domain name of the app.

Specifications

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills,