Re:SQLite Archive Files (2018)
by bastawhiz on Monday September 27, 2021 @01:54PM
(#28673859)
Sorry, how exactly do you create a "self extracting" archive file with only text and HTML?
[ Parent
| on HN ]
Sounds like a trick question, but Netscape's latest beta from September includes scripting support. Rumor has it that they're going to rename it to JavaScript later this year since Sun is pushing for strategic alignment with their Java platform. (You can use it to script e.g. applets). But you can embed the decompression code directly in the file, writing it in the scripting language itself—no compiled bytecode (or even a Java plugin) is necessary.
Re:SQLite Archive Files (2018)
by a1369209993 on Tuesday September 28, 2021 @12:01AM
(#28679186)
Something like:
<script>document.write("<textarea>...</textarea>");</script>
presumably? (I'd assume they meant self-extracting when run as a shell script or something, but they did say "to rely on the ubiquity of commodity web browsers".)