1

i'm developing a Firefox Extensions. I've included in one of mine xul jquery. Now, i'm noticed that , in Firefox 3.6, jquery makes Webdeveloper Toolbar unstable. It disappear!

I've have already tested the var $j = jQuery.noConflict(); solution but it doesn't helps me.

Some other solution?

alesdario
  • 1,873
  • 6
  • 25
  • 38
  • possible duplicate of [How can I use jQuery 1.5.2+ on a Firefox addon?](http://stackoverflow.com/questions/5863557/how-can-i-use-jquery-1-5-2-on-a-firefox-addon) – Felix Kling May 06 '11 at 15:47

1 Answers1

2

This has been around for a while - there's discussion on the webdev toolbar forums and a jquery bug report - there are various suggestions for workarounds, one of which may work for you.

stuartd
  • 70,509
  • 14
  • 132
  • 163
  • this helps, thanks window.addEventListener("load", function(event){ (function(loader){ loader.loadSubScript("chrome://{app-name}/content/jquery-1.3.2.js"); })( Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService( Components.interfaces.mozIJSSubScriptLoader ) ); //Your code goes }, false); – alesdario May 06 '11 at 15:55