An event for notifying the site that the browser is about to show an install banner, that also gives the site the ability to both suppress the banner, as well as show it later at a time of their choosing. Related: https://www.chromestatus.com/features/4540065577435136
Demos
Documentation
- https://github.com/slightlyoff/AppInstallImprovements/blob/master/explainer.md#controlling-installation
- https://developer.mozilla.org/en-US/docs/Web/API/Window#Event_handlers
- https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt
- https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 45
- Chrome for Android release 45
- Android WebView release 45
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Positive
- No signal
- No signal
- Positive
Owners
Last updated on 2020-11-09