[Webkit-unassigned] [Bug 198673] Need to way to feature-detect for "Add to home screen" instructions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 20 03:37:13 PDT 2023


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

--- Comment #6 from Marcos Caceres <marcosc at apple.com> ---
I get sites want to have instructions, but adding them has never made sense because every UA is different and they are free to change with every release. Does your website also provide instructions for how to bookmark? 

Like many other browsers, Safari doesn’t “prompt” users in the way Chrome’s UI does, so the event doesn’t make sense. This is a situation that affects Chrome, unlike Safari, they show a prompt. 

Consider that even if the event was available, the instructions could be out of date any time a browser updates. This problem has been known for years, is well documented, and why Firefox, WebKit, and even previous incarnations of Opera rejected the event from the W3C Manifest Spec. 

Now, I’m not saying something doesn’t need to be done here, but beforeinstallprompt is not the solution to this. Or, at least, I can’t see how the event itself helps *when there is no prompt*. 

Trusting that users can figure out on their own how to “Add to Home Screen” is totally ok. The last thing we would want on website is arrows (wrongly) pointing to random parts of the browser UI to “go here ➡️➡️➡️�� to install”. So even if we did prompt, providing instructions would still be bad practice.

-- 
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/f82b0c93/attachment-0001.htm>


More information about the webkit-unassigned mailing list