Writing a Firefox extension

From AIRWiki
Jump to: navigation, search

Links

Meta (environment setup, profiles, debugging etc):

Hints

  • This is a shell script that can be used to automatically package the extension in one xpi file:
rm extension.xpi
mkdir -p build/chrome
cd chrome/extension
zip -r extension.jar .
mv extension.jar ../../build/chrome
cd ../..
cp install.* build
cd build
zip -r extension.xpi .
mv extension.xpi ..
cd ..
rm -rf build