Search code examples
windows-7firefox-addonfirefox3.6browser-extension

How to register my own firefox extension?


I am trying to learn how to write firefox extensions. I download an HelloWorld example from here but I can't figure out how to register it.

I found my profiles extension folder (Easy since I use the latest Firefox version) but couldn't really understand what is this "Pointer file" that I need to create (tried a shortcut but it didn't work).

What is this "Pointer File"? How can I register it correctly? I am using Win 7 if matters.

Thank You.


Solution

  • You have to create a file in the extensions folder with the ID of the add-on as name (e.g. helloworld@mozilla.doslash.org). This file should contain only one line which is the absolute path to the folder where the add-on is contained (e.g. C:\\my\path\to\addon (or however windows paths look like)).