appinstalled

The appinstalled event of the Web Manifest API is fired when the browser has successfully installed a page as an application.

Bubbles No
Cancelable No
Target objects Window
Interface Event

Examples

function handleInstall(ev) {
  console.log('Thank you for installing our app!'); 
} 

window.onappinstalled = handleInstall;

Inheritance

The appinstalled event implements the Event interface — it has available the properties and methods defined on this interface.

Specifications

Specification Status Comment
Web App Manifest
The definition of 'appinstalled' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support YesEdge ? Firefox Full support 49
Disabled
Full support 49
Disabled
Disabled From version 49: this feature is behind the dom.manifest.onappinstall preference (needs to be set to true). To change preferences in Firefox, visit about:config.
IE ? Opera ? Safari ? WebView Android ? Chrome Android Full support YesEdge Mobile ? Firefox Android Full support 49
Disabled
Full support 49
Disabled
Disabled From version 49: this feature is behind the dom.manifest.onappinstall preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
User must explicitly enable this feature.
User must explicitly enable this feature.

 

See also

Document Tags and Contributors

Contributors to this page: scottcanoni, sarunint, chrisdavidmills, fscholz, teoli
Last updated by: scottcanoni,