Is there a dojo or jQuery only for Firefox add to development?

Firefox add-ons that run using JavaScript and XUL will begin, and I'm sorry to use Dojo or some other JavaScript as a library, but I cannot find one that exists. So I decided to start the library by placing Dojo in addition to Firefox on a specific fork. Get rid of cross-browser, use array understanding and other nice things available in the Firefox JavaScript engine. I'm worried about whether or not there is enough user base that will take advantage of this, but more than that, I think I'm wondering if there is something like this? Google does not find anything.

+3
source share
3 answers

Mozilla Corp has developed the JavaScript library: FUEL for this purpose .

It was developed by John Resig, the creator of jQuery.

To learn how to use jQuery inside the FF extension, look at this similar question

+4
source

jQuery, at least, works great when embedded in a Firefox add-on. I cannot quote you names, but I heard that several popular add-ons already use jQuery.

Here's an article discussing the use of jQuery inside XUL and some of the hoops you might need for the transition.

+2
source

Quite often embed jQuery in Firefox extensions.

0
source

Source: https://habr.com/ru/post/1707890/


All Articles