[tt]Chromeflat.vbs[/tt] is a WSH-enabled script that does five things:
- Make directories for each JAR
- Unzip each JAR to that directory
- Delete the JAR
- Edit installed-chrome.txt appropriately using [tt]sed[/tt]
- Remove *.rdf files, which Mozilla will rebuild on launch
- A flat chrome starts up faster than a JAR'ed chrome, since the archives are read in a native folder structure instead of through Gecko's libjar implementation.
- It's eons easier to develop for, since you don't need to de-JAR and re-JAR the archives while editing them
- Since Mozilla JARs aren't compressed by default, they take up more space than with a native file structure.
The drawback: I have not yet managed to implement manifest support, which doesn't mean much for Mozilla, though it will completely break Firefox and possibly some far-off Mozilla builds that use manifests instead of installed-chrome.txt.
Instructions: Unzip to the top-level directory of Mozilla, and run [tt]chromeflat.vbs[/tt]. Users of Windows 9x/ME will need to download Windows Scripting Host to make this work; it will work out-of-the-box in 2000 and higher.
Download it here.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)




