Folks,

I have created an enhanced greasemonkey extension based on the latest
greasemonkey extension
which loads the latest jquery into the runtime of all user scripts.
User scripts need not do anything different,
just start using jquery.

You can find my enhancement here: http://monkey.coolspacer.com/

Note: It does not load jquery from http: links, and this approach is
very easy to extend to any other runtime script
you want. Infact I am thinking that its a nice idea to add a new
directive to the user scripts such as:

// @runtime jquery.js | http://code.jquery.com/jquery-latest.pack.js

which would direct the greasemonkey to load jquery.js and make it
available to this user script. If jquery.js is not present (the first
time the user script is activated), to download it from the given URL.

I think this presents a lot of wonderful oppurtunities for user script
writers and for promoting jquery in the greasemonkey community.

Love to hear what others think of this.

Regards,
/Chandan

Reply via email to