Domanda

Learning to write firefox addons I would like to improve the coding style and avoid bad coding practices.

I'm using the mozilla addon-sdk-1.14 and I am looking for the reference of an open source firefox addon, which code is accessible (for example on github), so that I can get inspiration and an idea of how it "should" look like in the "real world".

Thanks!

È stato utile?

Soluzione

All extensions have their code available for you to look at. You just:

  1. download the xpi,
  2. change the xpi extension to zip,
  3. extract and see the code inside.

To download the xpi, see this answer for some instructions.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top