On Mon, 2007-29-01 at 14:06 -0500, Yaroslav Halchenko wrote: > I've ran into a problem: given firefox extension released under > GPL as shipped (.xpi files) has obscured .js files -- all > formatting was removed.
So, if I read your comments correctly, the .js files aren't intentionally obfuscated. Whitespace has just been removed in order to speed up download. It may be misguided, but it's also pretty common among JavaScript programmers. I was able to run the JavaScript code through GNU indent (http://www.gnu.org/software/indent/ ) and get readable and modifiable output. I think there are some special-purpose JavaScript beautifiers out there that could give even better formatting. I don't think that this is a case where the user gets unmodifiable source. ~Evan -- Evan Prodromou <[EMAIL PROTECTED]> The Debian Project (http://www.debian.org/)
signature.asc
Description: This is a digitally signed message part