mozilla 816 B

12345678910111213141516171819202122
  1. #------------------------------------------------------------------------------
  2. # $File: mozilla,v 1.8 2018/01/17 12:08:36 christos Exp $
  3. # mozilla: file(1) magic for Mozilla XUL fastload files
  4. # (XUL.mfasl and XPC.mfasl)
  5. # URL: http://www.mozilla.org/
  6. # From: Josh Triplett <josh@freedesktop.org>
  7. 0 string XPCOM\nMozFASL\r\n\x1A Mozilla XUL fastload data
  8. 0 string mozLz4a Mozilla lz4 compressed bookmark data
  9. # From: Joerg Jenderek
  10. # URL: https://en.wikipedia.org/wiki/Firefox_4
  11. # Reference: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
  12. # Note: Most ZIP utilities are able to extract such archives
  13. # maybe only partly or after some warnings. Example:
  14. # zip -FF omni.ja --out omni.zip
  15. 4 string PK\001\002 Mozilla archive omni.ja
  16. !:mime application/x-zip
  17. !:ext ja
  18. # TODO:
  19. #>4 use zip-dir-entry