BASELINE NowYouCanUse.com
Limited Availability Progressive web app
id: beforeinstallprompt

beforeinstallprompt

The beforeinstallprompt event fires when a Progressive Web App (PWA) is installable. You can cancel the event and later call event.prompt() to control when the installation prompt is shown. The appinstalled event fires when the PWA is successfully installed.
Baseline Status: This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
76
Supported
Mozilla Firefox
Unsupported
Apple Safari
Unsupported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
76
Firefox Android
Safari iOS
Specifications and References