admin管理员组

文章数量:1425881

So I was just wondering if it was easy to develop a very simple Firefox plugin where you could click a button, and it would execute some Javascript code!

Please note that I have never developed any kind of plugin for firefox, I just want to know if that is an easy task to do (like less than an hour)

I would also like to redistribute this very simple plugin to my friends.

So I was just wondering if it was easy to develop a very simple Firefox plugin where you could click a button, and it would execute some Javascript code!

Please note that I have never developed any kind of plugin for firefox, I just want to know if that is an easy task to do (like less than an hour)

I would also like to redistribute this very simple plugin to my friends.

Share Improve this question asked May 20, 2010 at 10:17 MounirRegMounirReg 5761 gold badge8 silver badges19 bronze badges
Add a ment  | 

4 Answers 4

Reset to default 2

If you just want to do this, you could create a Greasemonkey plugin instead. This is really simple.

Have a look at Jetpack: https://jetpack.mozillalabs./ or possibly GreaseMonkey: http://www.greasespot/

Or, if you wanted to actually create an extension you could use something like:

http://www.rietta./firefox/Tutorial/overview.html

which provides a nice plete walkthrough. Couple with MDC, and AMO you have everything you need to build a Firefox extension. All you need a a background is some HTML, CSS and JavaScript knowledge and you're there!

use crossrider, their API's are so useful and simple

本文标签: javascriptIs it easy to develop a simple Firefox plugin (JS injection)Stack Overflow