One cool feature of Emacs is that it lets you directly edit the contents of various archive files like .zip, .tar, .lzh, .jar, etc. Out of the box, though, Emacs isn’t setup to edit .xpi files automatically, but it’s easy to correct that since .xpi files are just .zip files in disguise and Emacs is eminently customizable…
Editing .xpi files directly in Emacs
2