|
|
|
|
|
by cuttysnark
682 days ago
|
|
I'm in love, I didn't know I wanted this, and now here it is. With an explanation from the author that touched on things I was feeling but couldn't quite but into words. To ice the cake, saved the file to disk and ran it with WiFi off, just to see. Sure enough, it's all in there, self-contained with no fetched dependencies. One caveat being that in the file:// protocol URL params don't work e.g. ?app=c53f8e9f-4b7a-4315-bb8a-f6557f6be30b This is fixed by running a local webserver, which isn't a huge deal. I'd be happy to learn of an easier way. Thanks for sharing this. |
|
Query string parameters totally work from file://
I built an online sandbox that lets you create them. To prove it, you can navigate here [1], then click the "Download self-contained .html" item on the hamburger menu.
[1] https://mutraction.dev/link/z8z