3 ms·
Thanks for the pointer to bookmarklet data uri trick - that's clever. I posted this elsewhere in the thread, but just wanted to mention it again in this contex
by feross 6y ago
Thanks for the pointer to bookmarklet data uri trick - that's clever.
I posted this elsewhere in the thread, but just wanted to mention it again in this context. Hyperboot [1] uses AppCache to give users the benefits of explicit, immutable versioning with control over upgrades using the html-version-spec while preserving the simplicity of passing around a URL.
It offered the usability benefits of web apps – you can give someone a URL and they can immediately load the app – with the security of installed apps – doesn't change without warning.
Unfortunately, AppCache is being removed from the web platform and there's no way to use ServiceWorker to accomplish the same thing.
[1]: https://github.com/substack/hyperboot https://github.com/substack/hyperboot
- dane-pgp 6y agoYes, it's a pity that AppCache and ServiceWorkers won't be able to support this use case. Also, the data URI trick comes with its own limitations, such as the fact that the address bar won't present an actual domain name or padlock, so it has a slightly worse user experience than normal websites. One simple way that the web platform could be improved, then, would be to adopt something like the Hashlink proposal[0], which would allow the hash of the initial "bootloader" to be stored in the query string. If this were possible then a simple bookmark would suffice, or a URL sent in an email, as your comment suggests. [0] https://w3c-ccg.github.io/hashlink/ https://w3c-ccg.github.io/hashlink/