10 comments

[ 2.0 ms ] story [ 27.2 ms ] thread
Not answered in TFA: What does it mean to "install" a web app in Chrome?
It means the site is saved to your home screen (on mobile) or taskbar/dock (on desktop). When opened that way, it appears in a window with minimal browser chrome and with the site's icon and branding instead of the browser's, so it somewhat resembles a native app (even though under the hood the browser is still doing all the work). Sites that offer this will often also use a Service Worker to remain functional in the absence of an internet connection, since native apps are usually expected to do that; these and some other web APIs are often conceptually bundled together under the term "progressive web apps", originally coined by Google. See https://developer.mozilla.org/en-US/docs/Web/Progressive_web... for more.

I would expect web developers these days to mostly be aware of this, since it's been in widespread use for a while, so I didn't find it odd that the article assumed that level of background.

Until I see support in other browsers, I'll assume this is as useful as Internet Explorer Silverlight apps.

Perhaps usable in an entirely locked down corporate environment where centralised IT with "standard desktop builds" and MDM will enforce Chrome use. But without at least Safari support, and ideally Firefox (plus forks), this remains a useless toy to me.

Browsers shouldn't have an install. Can we stop half-baked HTML XML syntax at this point?

I forsee abuse of such:

    const button = document.querySelector('install');
    button.addEventListener('promptdismiss', () => {
      console.log('User dismissed the install prompt but forcing installation of adware, malware and bitcoing mining anyway');
    });
This isn't possible, the PWA install flow is managed by the browser.
Since apparently this thread needs context, yes, you can install PWAs from Firefox on Android and I've heard it's returning to desktop.

This just seems to be a way (in Chrome) to trigger the already existing PWA install flow but from some styles element on the page, rather than the user knowing how to trigger the install flow (usually multiple clicks).

Edit: I wonder if you could do some click-jacking attacks here...

> the browser's control over the button's label text, language, and appearance means it can trust the user's click as a genuine signal of intent.

Like we don't saw fake download bottons imitating the legitime button.

After x years you'll have one prompt element which will create a whole website