Hey, actually it was just an example on how to use (embed is not the right term, thx for that) jquery in greasemonkey.
If it's a local GM script, you could just change the jQuery url within your localhost, but well, i don't think this would work with everyone. I'll take a look at how to really embed jQuery into Greasemonkey, meanwhile I still can use a local jquery call. Cheers, On 1/31/07, Nicolas Hoizey <[EMAIL PROTECTED]> wrote:
Hello Joan, > Yes, I remember the threads talking about this, and I was curious > about it. After some days I figured out how to load jQuery and > simply make it work giving jQuery power to my userscripts in > Greasemonkey. > Here is the url, check it out. > http://joanpiedra.com/jquery/greasemonkey/ Your solution is better than the first I have been trying, but it still gets the jQuery source directly from jquery.com, which is not really nice. If the greasemonkey script gains a lot of users, and is executed on a lot of pages, the load on jquery.com may become noticeable. John, am I right, or do you authorize such bandwidth "abuse"? -Nicolas > On 1/30/07, Nicolas Hoizey <[EMAIL PROTECTED]> wrote: Hello, > > I want to improve some of my Greasemonkey scripts by using jQuery > instead of "traditionnal" JS. > > I tried to load the library during execution[1] and it didn't work as > intended. It was loaded from jquery.com, so I didn't want it anyway. > I can't load it from my host either. > > I found a way to integrate the compact version of jQuery directly in > my script[2], but it is an old release, and I can't find how to do > the same with current 1.1.1 release. The author (SunSean) just said > he had "slightly edited [jQuery] for greasemonkey" without explaining > what he did change, and Firebug tells me "Component is not available". > > Any idea on how to do it? > > Here is my current version with the old jQuery embedded: <http:// > userscripts.org/scripts/show/2243> > > > Thanks a lot! > > > [1] <http://weblogs.asp.net/dstone/archive/2006/07/23/ > jQueryMonkey.aspx> > [2] < http://jquery.com/pipermail/discuss_jquery.com/2006-June/ > 006355.html> > > -Nicolas > > -- > Nicolas "Brush" HOIZEY > Clever Age : http://www.clever-age.com/ > Gastero Prod : http://www.gasteroprod.com/ > Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002 > phpHeaven : http://www.phpheaven.net/ > > > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > > > -- > Joan Piedra || Frontend webdeveloper > http://joanpiedra.com/ > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ -Nicolas -- Nicolas "Brush" HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002 phpHeaven : http://www.phpheaven.net/ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
-- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
