tutorial

Your First Javascript XPCOM Component in 10 Minutes

Steps

  • Prepare the skeleton for an extension. (The Firefox extension wizard can do it for you. If you use it, call the extension “myextension” otherwise the code below won’t work.)
  • Only if you used the extension wizard: create a components/ directory in your tree and change the ROOT_DIRS line in config_build.sh so that it reads:

ROOT_DIRS="defaults components" 

  
Syndicate content