2 ms·
I want this to be true, but I think a big limiter is patchy support for things like a file system API as well as some special rules that place extra restriction
by rickcarlino 1y ago
I want this to be true, but I think a big limiter is patchy support for things like a file system API as well as some special rules that place extra restrictions on HTML files versus webpages served over HTTPS. I have not tried it in a long time but I remember not being able to access things like the location API or the microphone via local file. This puts local files at a disadvantage over web applications. If anyone knows of a definitive list of these restrictions, I would love to see it.
- sejje 1y agoYou could still put your single file on a web server.
- rickcarlino 1y agoYou could, but I wouldn’t call that a self-contained HTML app anymore. It requires a server, SSL certs, uploads, continued hosting even at rest (unlike a file on local storage media).
- sejje 1y agoI would -- to me self contained just means one file. Inline styling, inline JavaScript.