문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top