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
Docs: 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
Samples: https://killer-marmot.appspot.com/web/ https://github.com/GoogleChrome/samples/tree/gh-pages/app-install-banner