javastripped

software by Lloyd Wood

A perl script I originally knocked up for Spacesearch.

javastripped removes whitespace from blocks of javascript within tags, concatenates lines, and helps me squeeze a 55K javascript program into a 31K webpage.

It can help create quickly-downloadable, harder-to-read code; there's also a custom sed script to shorten the variable names for Spacesearch, so it's merely part of the armoury.

javastripped.pl (3K)
Tested on 5.003 and 4; should work with any version of perl 5.

With thanks to George, jon and waider. The bad pun is all my own work.


Lloyd Wood (L.Wood@ee.surrey.ac.uk)
last updated 31 August 1998