[jQuery] Re: jQuery in Firefox extension is broken in v1.3.2

2009-05-16 Thread Simon Chiang

Hi, I've run into this issue as well.  I made an example extension to
illustrate what happens:

  http://gist.github.com/112562

The gist has instructions for how to set everything up... basically
you download the extension and add a file to your firefox profile with
the path to the extension directory.  In my experience jquery 1.2.6 is
ok and doesn't cause the toolbar issue, while 1.3 and greater cause
toolbar extensions to disappear.  As mentioned this occurs without
actually doing anything with jquery beyond loading it as a script.

Any ideas?


On Apr 5, 11:52 am, Jeff Jones  wrote:
> What add-ons do you have installed inFirefox? And do you have a
> public page we can test with ourFirefoxclients?
>
> On Apr 4, 9:07 am, "bjorn.frant...@gmail.com"
>
>  wrote:
> > I've seen this post now, but I can's see my problem mentioned there.
>
> > Myextensionbreaks the toolbar inFirefoxif I have remove all other
> > scripts in the XUL and only leaves jQuery there, no other code at all:
>
> > 
> > http://www.mozilla.org/keymaster/
> > gatekeeper/there.is.only.xul">
> >  > type="application/x-javascript">
> > 
>
> > So this is not caused by any code written bye me, but the inclusion of
> > jQuery.
>
> > Bjørn
>
> > On Apr 3, 4:38 pm, MorningZ  wrote:
>
> > > I would suggest to take a look at this great blog post
>
> > >http://www.learningjquery.com/2009/03/3-quick-steps-for-a-painless-up...
>
> > > see if any of those breaking changes applies to your code..   the
> > > ":visible" change really is a big one... the "@" in the selector is
> > > more an annoyance but anyways, maybe one of those 3 tips will help
> > > you fix your issue
>
> > > On Apr 3, 7:59 am, "bjorn.frant...@gmail.com"
>
> > >  wrote:
> > > > I am developing aFirefoxextensionand after upgrading from jQuery
> > > > v1.2.6 to v1.3.2 I found that including jQuery in the XUL-file will
> > > > break other extensions that displays buttons on the toolbar, among
> > > > those is Adblock Plus.
>
> > > > I have not tried any versions between those mentioned so I do not know
> > > > in what version this happened.  If i revert to v1.2.6 everything is
> > > > OK.


[jQuery] Re: jQuery in Firefox extension is broken in v1.3.2

2009-05-16 Thread Simon Chiang

Oh, as an FYI I just noticed someone has filed a ticket for this
issue:

  http://dev.jquery.com/ticket/4443