如何注册我自己的Firefox扩展? [英] How to register my own firefox extension?
问题描述
我发现我的个人资料扩展名文件夹(Easy,因为我使用最新的Firefox版本),但不能真正理解这是什么指针文件,我需要创建尝试了一个快捷方式,但它没有工作)。
这是什么指针文件?
如何正确注册?
我正在使用Win 7。
谢谢。
您必须在扩展名文件夹中创建一个文件名称(例如 helloworld@mozilla.doslash.org
)。这个文件应该只包含一行,它是加载项所在文件夹的绝对路径(例如 C:\\my\path\to\addon
(或者窗口路径看起来像))。
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.
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)).
这篇关于如何注册我自己的Firefox扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!