Is noscript.jar still needed for gecko < 2?

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Is noscript.jar still needed for gecko < 2?

Post by al_9x »

Looking at and tweaking the source for troubleshooting purposes would be easier without it.
Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

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

Post by dhouwn »

I wonder if this would increase the file size, since AFAIK in the ZIP format each file is compressed for itself.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

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

Post by al_9x »

noscript.jar is not compressed
Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

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

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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).
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post by therube »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2
Post Reply