2 ms·
This truly terrible idea started in a 2 minute thing I put together over here [0]. Terrible ideas are always among the most fun. I ran into a lot of issues try
by shakna 6y ago
This truly terrible idea started in a 2 minute thing I put together over here [0].
Terrible ideas are always among the most fun. I ran into a lot of issues trying to put this together, as what JS APIs you can/can't run on a data-uri aren't altogether well documented.
(Modifying location doesn't seem to work, but I didn't see that documented. Modifying the history API doesn't, but that does seem to be documented. These are _very good things_ overall, but aren't really blockers to a bad idea like this one.)
The browser is surprisingly secure about it, which is great. Like opening a data-uri in a new tab doesn't always load/parse it, and often arbitrarily cuts the payload.
[0] https://news.ycombinator.com/item?id=24753685 https://news.ycombinator.com/item?id=24753685