I'm writing a userscript for Google. The script should work on ANY
page.

My current problem is to understand how to include jQuery into these
pages.

This is a little complex:

1. I have a vague memory of reading that some of the Google-pages have
theire own API for inluding libraries. Google might even be using
jQuery on some pages, using their own library. I want my script to be
as fast as possible - and it feels like a stupid idea to include
jQuery AGAIN, if it's already available. What do you think?

2. If jQuery is not included on the page, then I would like to include
the Google hosted jQuery-js file.

Would it be possible (and HOW?) to only include the Google-hosted
jQuery when/if needed? And use the Google-API otherwise?

/Kia

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to