Difference between revisions of "Writing a Firefox extension"

From AIRWiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 
 
== Links ==
 
== Links ==
  
Line 8: Line 7:
 
* http://www.rietta.com/firefox/Tutorial/overview.html
 
* http://www.rietta.com/firefox/Tutorial/overview.html
 
* http://diveintogreasemonkey.org/toc/ (if you want to use greasemonkey)
 
* http://diveintogreasemonkey.org/toc/ (if you want to use greasemonkey)
 +
 +
Meta (environment setup, profiles, debugging etc):
 +
 +
* https://developer.mozilla.org/en/Setting_up_extension_development_environment
 +
* http://support.mozilla.com/en-US/kb/Managing+profiles
 +
* http://kb.mozillazine.org/Command_line_arguments
 +
* http://blogger.ziesemer.com/2007/10/javascript-debugging-in-firefox.html
  
 
== Hints ==
 
== Hints ==

Latest revision as of 12:03, 2 November 2009

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