4

Does anyone know how to properly use jQuery in a Firefox addon? I've looked, but I can't find anyway that is relevant to the latest version of jQuery, and I know I can't just include it via script tag because of conflicts.

Thanks in advance!

mattsven
  • 22,305
  • 11
  • 68
  • 104

1 Answers1

0

You can use the subscript loader to load JavaScript code (including JQuery) into an arbitrary scope. See https://developer.mozilla.org/en/MozIJSSubScriptLoader.

Matthew Gertner
  • 4,487
  • 2
  • 32
  • 54