- Generate an extension out of this online wizard: http://ted.mielczarek.org/code/mozilla/extensionwiz/
- cd ~/.mozilla/firefox
- cat profiles.ini //to find the name of your profile
- cd 0sce3rh9.development/extensions
- echo /home/armen/sandbox/firstxpcomchrome > firstxpcomchrome@senecac.on.ca
Myself, the first time didn't work and I decided to fix it. I went to the install.rdf and I saw that the line was wrong:Obviously, it seems that I didn't fill properly the wizard since it should say this: firstxpcomchrome@senecac.on.ca
- firstxpcom@senecac.on.ca First XPCOM chrome 0.1 Armen {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 2.0.0.* 3.*
- Replaced the code in firstxpcomchrome/content/overlay.js with what appears on the lab
Chrome file doesn't exist: /home/armen/sandbox/firstxpcomchrome/content/firstxpcomdialog.xul
- Therefore, let us create the file : firstxpcomchrome/content/firstxpcomdialog.xul with the XUL instructions about the dialog and with JavaScript instructions
At this point, it should work but I couldn't find out what the final results were to be until I noticed a little pop up window on the right hand corner (look at the huge red arrow)
So this lab is done and all that is left is to work on the 0.3 release, the zip file is here
No comments:
Post a Comment