Page 1 of 1

Recognize Chrome's CRX packages as ZIP archives

Posted: 2011-01-20, 09:06 UTC
by Wladimir Palant
The feature that allows opening ZIP files via Ctrl+PgDn regardless of file extension is extremely convenient. I see that in 7.56a it now works for the omni.jar file in Firefox 4 as well which is great. However, there is still an issue with Google Chrome's extension packages (.crx), one can only open these after changing file extension to ".zip".

For format description you need to google "CRX package format" (first result). It is a regular ZIP file with some additional data before it. If you need an example file, you can google "adblockpluschrome development build". It would be great to have these archives open without additional manipulations.

PS: Sorry about sending you to Google instead of giving the URLs, the spam protection system won't let me post them.

Posted: 2011-01-20, 15:44 UTC
by ghisler(Author)
with some additional data before it.
That's the problem - on Ctrl+PageDown, TC will only try ZIP files which either start with
- a regular zip header
- EXE header
- ord have .zip extension

It shouldn't be too difficult to support .crx, so I will add it to my to do list. The header seems to start with "Cr24" according to
http://code.google.com/chrome/extensions/crx.html

Posted: 2011-01-20, 19:27 UTC
by Wladimir Palant
Yes, they all start with "Cr24".