4 ms·
Great to see Chrome working on this! However I'm not sure about the 2 days over 2 weeks requirement. It's kind of unintuitive. Ideally, the website would have
by throwaway41597 12y ago
Great to see Chrome working on this! However I'm not sure about the 2 days over 2 weeks requirement. It's kind of unintuitive.
Ideally, the website would have an install page, lead the willing user to it, let them click an install button, and done.
Spammers are everywhere, so you can't allow that. But from the user's point of view, heuristics make the browser look like random. If a user likes a web app, they expect it to be easily installable now. The website can't ask "please come back tomorrow" and menus don't work for the lay user ("Add to homescreen" is the 9th item out of 12 in Chrome's menu), otherwise the user leaves with the impression the web app is unnecessarily complicated.
Have you considered making the prompt full-page? It could say:
Would you like to install this app?
Kinlan's Amazing App
Website: kinlan.me
By: Kinlan Corp <-- this field is taken from EV certificates; hidden otherwise
[Add to homescreen] [Cancel]
[Mark as spam]
- Making it full-page prevents the website from contradicting the browser UI;
- "Mark as spam" raises awareness that the spam filter part of a user's brain should be put to use; it also changes the incentives for spammers as there is currently no downside to spam users;
- "Website" could be limited to the second-level domain because the bad guys use a deep subdomain a lot more than the first-class web app developers;
- the prompt would be shown when navigator.install() is called inside an onclick handler bound to a button (it's not a high bar for spammers but it's still a relief for users);