Bjorn
Bjorn

Reputation: 71950

Is there a dojo or a Jquery just for Firefox add on development?

Started working on Firefox add ons, which is done with JavaScript and XUL, and I find myself sorely wanting to use Dojo or someother kind of JavaScript like library, but I can't find one that exists. So I was thinking of starting a library by porting Dojo over to a Firefox add on specific fork. Get rid off the cross browser stuff, use array comprehension and other nice stuff available in Firefox's JavaScript engine. I worry about whether or not there's enough of a userbase who'd take advantage of this, but more than that I guess I'm wondering if there's already something like this? Google finds nothing.

Upvotes: 3

Views: 478

Answers (3)

user434917
user434917

Reputation:

Mozilla Corp developed a JavaScript library for this purpose: FUEL.

it is developed by John Resig the creator of jQuery.

To know how to use jQuery inside FF extension look at this similar question

Upvotes: 4

rennat
rennat

Reputation: 2559

It is fairly common to embed jQuery in firefox extensions.

Upvotes: 0

Ben Blank
Ben Blank

Reputation: 56634

jQuery, at least, functions perfectly well when embedded in a Firefox addon. I can't quote you names, but I've heard that several popular addons are already using jQuery.

Here's an article discussing using jQuery within XUL and some of the hoops you may need to jump through.

Upvotes: 2

Related Questions