// ==UserScript==
// @name        add jQuery
// @namespace   falcon.sinaapp.com
// @description add jQuery 
// @include     http://falcon.sinaapp.com/*
// @version     1
// ==/UserScript==
// ==UserScript==


var GM_JQ = document.createElement('script');
GM_JQ.src = "http://lib.sinaapp.com/js/jquery/1.4.4/jquery.min.js";
GM_JQ.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);
function GM_wait() {

    if(typeof unsafeWindow.jQuery == 'undefined') 

        window.setTimeout(GM_wait,100);

    else { $ = unsafeWindow.jQuery; addRunKeeperPlugin(); }

}
GM_wait();
 
function addRunKeeperPlugin() {
    alert("hello jQuery");
    console.log($('body'));

}
- EOF -