[Webkit-unassigned] [Bug 255716] Feature request: Implement `BeforeInstallPrompt` event for programmatic Add to Home Screen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 20 04:28:13 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255716

--- Comment #6 from Thomas Steiner <tomac at google.com> ---
Well, Safari's criterion for triggering this prompt event is then just `if (true) {}`. Decouple your thinking from Chrome's implementation. Safari's would always `preventDefault()` and let the developer trigger the dialog (prompt) manually. When the user clicks the HTML button, the app would jump straight into the state shown at https://bugs.webkit.org/attachment.cgi?id=466006.

-- 
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/20230420/2a28813f/attachment.htm>


More information about the webkit-unassigned mailing list