3 ms·
Sorry, how exactly do you create a "self extracting" archive file with only text and HTML?
by bastawhiz 5y ago
Sorry, how exactly do you create a "self extracting" archive file with only text and HTML?
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]
- a1369209993 5y agoSomething 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".)
- cxr 5y agoSounds 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.