开发者

Using jQuery in Firefox Addons

开发者 https://www.devze.com 2023-04-01 21:04 出处:网络
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 late开发者_如何学Gost version of jQuery, and I know I can\'t just include

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 late开发者_如何学Gost version of jQuery, and I know I can't just include it via script tag because of conflicts.

Thanks in advance!


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号