jQuery Update (Revised)

I’m updating this post to use the bookmarklet code, so I don’t have to copy and paste this. The bookmarklet below is wrapped for presentation but should be pasted as a single line.

javascript:(function%20()%20%7B%0A%20%20%20%20scriptFile=document.createElement(%22SCRIPT%22);
%0AscriptFile.src=%22http://code.jquery.com/jquery-latest.pack.js%22;
%0Adocument.getElementsByTagName(%22HEAD%22)%5B0%5D.appendChild(scriptFile);
%0A%20%20%20%20alert(%22Complete%22);%0A%7D)();

Add jQuery to any page with Firebug (or even the URL bar).

if (window['jQuery'] == undefined ||
    window['jQuery']().jquery.match(/1.2/) ||
    window['jQuery']().jquery.match(/1.3/) ) {
        scriptFile=document.createElement("SCRIPT");
        scriptFile.src="http://code.jquery.com/jquery-latest.pack.js";
        document.getElementsByTagName("HEAD")[0].appendChild(scriptFile);
}