开发者

How to edit a FF add on?

开发者 https://www.devze.com 2022-12-26 00:12 出处:网络
Theres a firefox add on i would like to edit. I never 开发者_如何学编程made a plugin before and have looked at one before. Is there a tutorial or something on how to -edit- one? I do not know how to t

Theres a firefox add on i would like to edit. I never 开发者_如何学编程made a plugin before and have looked at one before. Is there a tutorial or something on how to -edit- one? I do not know how to test the add on and ext


There's not much difference between "editing" and what the add-on developers do.

You can simply locate the add-on in the /extensions/{add-on's ID} folder and make your changes to it (if parts of its code are in a JAR, you'll need a program that can edit files in zip archives, like Total Commander on Windows; in this case you also need to edit the code while Firefox is closed). Restart Firefox to see the changes.

This way is OK for few simple changes, but pretty inconvenient otherwise, so you'll want to set up the development environment if you're doing non-trivial changes. It's nothing scary if you have some technical background.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号