Page 1 of 1

Is noscript.jar still needed for gecko < 2?

Posted: Sun Jul 17, 2011 5:13 pm
by al_9x
Looking at and tweaking the source for troubleshooting purposes would be easier without it.

Re: Is noscript.jar still needed for gecko < 2?

Posted: Sun Jul 17, 2011 8:01 pm
by dhouwn
I wonder if this would increase the file size, since AFAIK in the ZIP format each file is compressed for itself.

Re: Is noscript.jar still needed for gecko < 2?

Posted: Sun Jul 17, 2011 8:14 pm
by al_9x
noscript.jar is not compressed

Re: Is noscript.jar still needed for gecko < 2?

Posted: Mon Jul 18, 2011 9:19 am
by dhouwn
Exactly, because otherwise you would try to compress it twice. But what it does is that it merges many files into one and therefore the size decrease of the compressed jar file might be higher than what you would get if you compressed each file separately.

http://en.wikipedia.org/wiki/Solid_compression

Re: Is noscript.jar still needed for gecko < 2?

Posted: Mon Jul 18, 2011 9:38 am
by Giorgio Maone
dhouwn wrote: the size decrease of the compressed jar file might be higher than what you would get if you compressed each file separately
Not "might", but "does".
The zero-compression jar has been kept so far just to reduce the XPI size.
However it has already gone away in NoScript 3 (which is smaller anyway because removes tons of legacy/compatibility code).

Re: Is noscript.jar still needed for gecko < 2?

Posted: Mon Jul 18, 2011 2:00 pm
by therube