-
Website
http://paulmwatson.com/journal -
Original page
http://paulmwatson.com/journal/2006/07/23/jquery-and-greasemonkey/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
aidanf
1 comment · 3 points
-
keithbohanna
1 comment · 1 points
-
martinmurphy
1 comment · 1 points
-
jufemaiz
1 comment · 1 points
-
lxsg
1 comment · 1 points
-
-
Popular Threads
var theScript = document.createElement("script");
theScript.src = "http://jquery.com/src/latest.js";
theScript.language = "javascript";
document.body.insertBefore(theScript, document.body.firstChild);
:)
I even opened up Firebug to try it out...it works. :)
> theScript.src = “http://jquery.com/src/latest.js”;
including jQuery directly from John's server is something you should avoid. Though it was recommened in the jQuery tutorial, it could produce quite a lot of traffic and therefore costs for John.
On the other hand, it should be no problem to simply include a local copy of jQuery. AFAIK the "lastest" version isn't currently updated anymore.
Another thing that breaks-ish is that if you include all sites with that user script, then secure sites won't be marked as secure because some items aren't secured.
Install the user script and you're set...
Good idea on the XPI though, I'll give that a bash and save the servers.