<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Have Your jQuery Fun on Any Site with Greasemonkey</title>
	<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey</link>
	<description>Getting to know the library of choice for unobtrusive JavaScript</description>
	<pubDate>Fri, 29 Aug 2008 00:15:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Damian W</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-49779</link>
		<dc:creator>Damian W</dc:creator>
		<pubDate>Mon, 23 Jun 2008 12:41:33 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-49779</guid>
		<description>Greasemonkey should allow you to define 'global includes' for stuff like jQuery and any other common code.</description>
		<content:encoded><![CDATA[<p>Greasemonkey should allow you to define &#8216;global includes&#8217; for stuff like jQuery and any other common code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thai Property</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-25722</link>
		<dc:creator>Thai Property</dc:creator>
		<pubDate>Sun, 30 Dec 2007 13:38:15 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-25722</guid>
		<description>Hahaha ;) Greasemonkey !
Can you show me some exsemple , i Think Digg.com it's very high technology</description>
		<content:encoded><![CDATA[<p>Hahaha <img src='http://www.learningjquery.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Greasemonkey !<br />
Can you show me some exsemple , i Think Digg.com it&#8217;s very high technology</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vB-Hacker.com daki seo yarışması</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-22618</link>
		<dc:creator>vB-Hacker.com daki seo yarışması</dc:creator>
		<pubDate>Sat, 01 Dec 2007 00:04:07 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-22618</guid>
		<description>thank you!</description>
		<content:encoded><![CDATA[<p>thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: im web gefunden</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-21728</link>
		<dc:creator>im web gefunden</dc:creator>
		<pubDate>Fri, 23 Nov 2007 10:49:10 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-21728</guid>
		<description>&lt;strong&gt;Greasmonkey und jQuery gemeinsam auf fremden und eigenen Webseiten nutzen...&lt;/strong&gt;

Mit Greasemonkey lassen sich innerhalb von Firefox beliebige Webseiten ver&#228;ndern und mit zus&#228;tzlichen Funktionen an die eigenen W&#252;nsche anpassen. Oftmals m&#246;chte man dabei auch ein Javascript-Framework, wie jQuery, mit einbinden, um ...</description>
		<content:encoded><![CDATA[<p><strong>Greasmonkey und jQuery gemeinsam auf fremden und eigenen Webseiten nutzen&#8230;</strong></p>
<p>Mit Greasemonkey lassen sich innerhalb von Firefox beliebige Webseiten ver&#228;ndern und mit zus&#228;tzlichen Funktionen an die eigenen W&#252;nsche anpassen. Oftmals m&#246;chte man dabei auch ein Javascript-Framework, wie jQuery, mit einbinden, um &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandan Kudige</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-21601</link>
		<dc:creator>Chandan Kudige</dc:creator>
		<pubDate>Thu, 22 Nov 2007 12:48:06 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-21601</guid>
		<description>Folks,

I have been playing with various options of using jquery with greasemonkey and I just couldn't
convince myself that loading jquery from http: url is the best way to do this.

I tried loading jquery.js from chrome: URL but it just doesn't work.

Anyway, finally I have come to the conclusion that greasemonkey should support 'runtime scripts'
just like user scripts, but runtime scripts should be loaded in the context of user scripts that need the runtime.

So the user script could have an include such as:
// @runtime jquery.js&#124;http://code.jquery.com/jquery-latest.pack.js

which tells greasemonkey to load jquery.js in the context of this user script, and if jquery.js is not available
to download it from the URL. This would load the http: url only once and after that, it will be loaded locally.

But, before I implement that, I have created a special build of greasemonkey which has been built with jquery.js  and allows any user script to use jquery seamlessly.

You can download the extension from here: http://monkey.coolspacer.com/

Comments and feedback welcome. If someone has a better idea to support different runtimes, I would love to hear it.</description>
		<content:encoded><![CDATA[<p>Folks,</p>
<p>I have been playing with various options of using jquery with greasemonkey and I just couldn&#8217;t<br />
convince myself that loading jquery from http: url is the best way to do this.</p>
<p>I tried loading jquery.js from chrome: URL but it just doesn&#8217;t work.</p>
<p>Anyway, finally I have come to the conclusion that greasemonkey should support &#8216;runtime scripts&#8217;<br />
just like user scripts, but runtime scripts should be loaded in the context of user scripts that need the runtime.</p>
<p>So the user script could have an include such as:<br />
// @runtime jquery.js|http://code.jquery.com/jquery-latest.pack.js</p>
<p>which tells greasemonkey to load jquery.js in the context of this user script, and if jquery.js is not available<br />
to download it from the URL. This would load the http: url only once and after that, it will be loaded locally.</p>
<p>But, before I implement that, I have created a special build of greasemonkey which has been built with jquery.js  and allows any user script to use jquery seamlessly.</p>
<p>You can download the extension from here: <a href="http://monkey.coolspacer.com/" rel="nofollow">http://monkey.coolspacer.com/</a></p>
<p>Comments and feedback welcome. If someone has a better idea to support different runtimes, I would love to hear it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-11630</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Tue, 04 Sep 2007 13:47:52 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-11630</guid>
		<description>Thanks for that, Rocco. I've updated the entry. Still, that's the line that I said should be changed to point to your own version of jQuery anyway. ;)</description>
		<content:encoded><![CDATA[<p>Thanks for that, Rocco. I&#8217;ve updated the entry. Still, that&#8217;s the line that I said should be changed to point to your own version of jQuery anyway. <img src='http://www.learningjquery.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rocco</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-11627</link>
		<dc:creator>Rocco</dc:creator>
		<pubDate>Tue, 04 Sep 2007 13:34:07 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-11627</guid>
		<description>hi
this does not work now: GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
this is correct: GM_JQ.src = 'http://code.jquery.com/jquery-latest.pack.js';</description>
		<content:encoded><![CDATA[<p>hi<br />
this does not work now: GM_JQ.src = &#8216;http://jquery.com/src/jquery-latest.js&#8217;;<br />
this is correct: GM_JQ.src = &#8216;http://code.jquery.com/jquery-latest.pack.js&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-2047</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Tue, 06 Feb 2007 17:40:27 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-2047</guid>
		<description>Well done, Sean! Thanks for the links.</description>
		<content:encoded><![CDATA[<p>Well done, Sean! Thanks for the links.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Catchpole</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-1908</link>
		<dc:creator>Sean Catchpole</dc:creator>
		<pubDate>Fri, 02 Feb 2007 20:44:12 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-1908</guid>
		<description>In order to not slam jQuery.com I have created a altered jQuery to work with greasemonkey. Enjoy!
&#160;&#160; jQuery 1.1.1 -- &lt;a href="http://userscripts.org/scripts/show/7373" rel="nofollow"&gt;http://userscripts.org/scripts/show/7373&lt;/a&gt;

A fun jQuery example can be found here:
&#160;&#160; Google Icon -- http://userscripts.org/scripts/show/6061</description>
		<content:encoded><![CDATA[<p>In order to not slam jQuery.com I have created a altered jQuery to work with greasemonkey. Enjoy!<br />
&nbsp;&nbsp; jQuery 1.1.1 &#8212; <a href="http://userscripts.org/scripts/show/7373" rel="nofollow">http://userscripts.org/scripts/show/7373</a></p>
<p>A fun jQuery example can be found here:<br />
&nbsp;&nbsp; Google Icon &#8212; <a href="http://userscripts.org/scripts/show/6061" rel="nofollow">http://userscripts.org/scripts/show/6061</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-1906</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Fri, 02 Feb 2007 15:55:34 +0000</pubDate>
		<guid>http://www.learningjquery.com/2007/02/have-your-jquery-fun-on-any-site-with-greasemonkey#comment-1906</guid>
		<description>@Dan, not a problem, man. Happy to link to you. Yeah, it's a bummer that Mozilla is so slow with that. Looking forward to seeing what you cook up. 

I know what you mean about the fear of everybody pinging the heck out of jquery.com with the user script. The Hacking Digg script that I linked to above actually uses a copy of jquery.js on this site. I don't think I'll be submitting it to userscripts.org, though, for the reason that you mention. I'm considering this one more a "proof of concept" than an all-out hey-everybody-use-my-script  script.

@Joan, "simple" maybe, but definitely elegant. It works, and that's what counts for me. You might want to consider putting the &lt;code&gt;$.noconflict()&lt;/code&gt; method at the top of the &lt;code&gt;letsJQuery()&lt;/code&gt; function as a default, just in case the site you're visiting uses another JavaScript library. Cheers to you for a great blending of jQuery and Greasemonkey!</description>
		<content:encoded><![CDATA[<p>@Dan, not a problem, man. Happy to link to you. Yeah, it&#8217;s a bummer that Mozilla is so slow with that. Looking forward to seeing what you cook up. </p>
<p>I know what you mean about the fear of everybody pinging the heck out of jquery.com with the user script. The Hacking Digg script that I linked to above actually uses a copy of jquery.js on this site. I don&#8217;t think I&#8217;ll be submitting it to userscripts.org, though, for the reason that you mention. I&#8217;m considering this one more a &#8220;proof of concept&#8221; than an all-out hey-everybody-use-my-script  script.</p>
<p>@Joan, &#8220;simple&#8221; maybe, but definitely elegant. It works, and that&#8217;s what counts for me. You might want to consider putting the <code>$.noconflict()</code> method at the top of the <code>letsJQuery()</code> function as a default, just in case the site you&#8217;re visiting uses another JavaScript library. Cheers to you for a great blending of jQuery and Greasemonkey!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
