Install web apps with the new HTML install element
developer.chrome.com
Install web apps with the new HTML install element
1–10 of 16 posts
Re: Install web apps with the new HTML install element
#2Re: Install web apps with the new HTML install element
#3Not answered in TFA: What does it mean to "install" a web app in Chrome?
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.
Re: Install web apps with the new HTML install element
#4Perhaps 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.
Re: Install web apps with the new HTML install element
#5Not 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…
To make it a bit less faceless while humans still matter, it was coined by Alex Russell and Frances Berriman in 2015. Russell worked at Google at the time, Berriman at Code for America.
Re: Install web apps with the new HTML install element
#6Not 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…
Re: Install web apps with the new HTML install element
#7I 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');
});Re: Install web apps with the new HTML install element
#8This 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...
Re: Install web apps with the new HTML install element
#9Like we don't saw fake download bottons imitating the legitime button.
Re: Install web apps with the new HTML install element
#10Since 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 last time I checked firefox on android didn't support PWAs like Chrome does. It just creates a shortcut to your homescreen. Chrome on android use WebAPKs. You can verify this by looking at the package id in the app info of the created shortcut.