Security alert. Cross Site Request Forgery. More info here, fixed release available. [25] (what's this?)
Security alert. Information Leakage and Privilege Escalation. More info here, fixed release available. [24] (what's this?)
New release available: 2009-12-25 "Lemming". upgrade now! [23] (what's this?)
New release candidate available: 2009-12-02 "Mulled Wine". upgrade now! [22] (what's this?)
Security alert. Local file inclusion bug. More info here, fixed release available. [18] (what's this?)
New release available: 2009-02-14. upgrade now! [17] (what's this?)
New release candidate available: 2009-01-30 (RC2). upgrade now! [16] (what's this?)
 

We want to add blinking lights!

// ==UserScript==
// @name           Das Blinkenlights
// @namespace      http://www.nycresistor.com
// @include        *
// @description    Adds awesome blinky lights to webpages
// ==/UserScript==


// Add jQuery
var GM_JQ = document.createElement('script');
GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
GM_JQ.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);

// Check if jQuery's loaded
function GM_wait() {
    if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
else { $ = unsafeWindow.jQuery; letsJQuery(); }
}
GM_wait();




// All your GM code must be inside this function
function letsJQuery() {

  $('body').css('background', 'url(http://piratetrain.com/led.gif) repeat');

}

nycresistor_background_blinking_lights_using_jquery.txt · Last modified: 2009/01/27 02:00 by 173.77.75.214
 
 
2007-2008 by the artzilla.org crew tobi-x and jdubs and gleuch