Changes

Jump to: navigation, search

Real World Mozilla Adding Chrome to FirstXpcom Lab

32 bytes added, 00:48, 21 November 2007
Generating the extension automatically
* '''Extension ID:''' firstxpcomchrome@senecac.on.ca
* '''Version:''' 0.1
* '''Target Applications''' Firefox Minimum Version=2.0.0.* Maximum Version=3.0a3pre
After clicking '''Create Extension''', navigate to your desktop and locate the generated file, '''firstxpcomchrome.zip'''. Extract this file somewhere (e.g., '''c:\temp\firstxpcomchrome''').
Now create a file in your profile's extension folder (%Application Data%\Mozilla\Firefox\Profile\''<development_profile>''\extensions) named '''firstxpcomchrome@senecac.on.ca'''. This file should contain the full path to your unzipped extension (perhaps '''c:\temp\firstxpcomchrome'''), and must include a trailing slash. Here is one way to do it:
$ cd Application\ Data/Mozilla/Firefox/Profiles/''development_profile''/extensions
$ echo c:\temp\firstxpcomchrome \ > firstxpcomchrome@senecac.on.ca
Restart Firefox and try out your new extension. By default you should have a new red menu item, '''Tools > Your localized menuitem''' (you should also see '''firstxpcomchrome''' listed in the '''Add-on manager''', along with '''firstxpcom''').
1
edit

Navigation menu