[Webkit-unassigned] [Bug 182864] New: Feature request: Web Manifest's beforeinstallprompt event and browser triggered add-to-homescreen prompt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 15 22:34:18 PST 2018


            Bug ID: 182864
           Summary: Feature request: Web Manifest's beforeinstallprompt
                    event and browser triggered add-to-homescreen prompt
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kenjibaheux at chromium.org

The BeforeInstallPromptEvent is dispatched when the site is allowed to present a site-triggered install prompt, or prior to the user agent presenting an automated install prompt. It allows the site to cancel the automated install prompt, as well as manually present the site-triggered install prompt.

A browser may choose to show an add-to-home screen prompt based on user engagement signals, the presence of a valid Web Manifest and other signals of a good user experience.

 - Being able to control when to show a browser triggered add-to-home-screen prompt is important for some verticals like e-commerce to avoid disrupting users in the process of buying or reviewing an item. 

Spec: https://w3c.github.io/manifest/#beforeinstallpromptevent-interface

 - https://killer-marmot.appspot.com/web/
 - https://github.com/GoogleChrome/samples/tree/gh-pages/app-install-banner

 - 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

Enabled by default in Chrome 45+

Consensus & Standardization
Firefox: Public support
Edge: No public signals
Safari: No public signals
Web Developers: Positive

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180216/b107c90d/attachment-0001.html>

More information about the webkit-unassigned mailing list