最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Is it easy to develop a simple Firefox plugin (JS injection) - Stack Overflow

programmeradmin1浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论