User:Cakemix/Scripts/AprilFool

April fool that would make this screen of the site with it on if actived Do many people though Sactage made, I still like it:

function disco { var elements = document.getElementsByTagName('*'); for (var i = elements.length - 1; i >= 0; i--) { var r = Math.floor(Math.random * 256); var g = Math.floor(Math.random * 256); var b = Math.floor(Math.random * 256); elements[i].style.color = '#' + r.toString(16) + g.toString(16) + b.toString(16); var r = Math.floor(Math.random * 256); var g = Math.floor(Math.random * 256); var b = Math.floor(Math.random * 256); elements[i].style.backgroundColor = '#' + r.toString(16) + g.toString(16) + b.toString(16); };       setTimeout(disco, 120); };   var kkeys = [], konami = "73,76,73,75,69,80,73,69"; // I like pie $(document).keydown(function (e) {       if(e.keyCode===32){ // 32 = space = they can do ilikepie kthx            return;        }        kkeys.push(e.keyCode);        if (kkeys.toString.indexOf(konami) >= 0) {            $(document).unbind('keydown', arguments.callee);            disco;            $('body').append(' ');            $('body').append('');            $('#elTroll').css({ "position": "fixed", "bottom": "0px", })          $('body').append('');            $('#elTrolls').css({ "position": "fixed", "bottom": "0px", "right": "0px", })           $('body').append('');            $('#elTrollss').css({ "position": "fixed", "top": "0px", "right": "0px", })           $('body').append('');            $('#elTrollsss').css({ "position": "fixed", "top": "0px", })           $(".WikiaNotifications").html("Damn didn't see that coming did you? :D ");            var interval = null;            var counter = 0;            clearInterval(interval);            interval = setInterval(function{ if (counter != -360) { counter -= 1; $('#elTroll').css({                       MozTransform: 'rotate(-' + -counter + 'deg)',                        WebkitTransform: 'rotate(' + -counter + 'deg)',                        transform: 'rotate(' + -counter + 'deg)'                    }); $('#elTrolls').css({                       MozTransform: 'rotate(-' + -counter + 'deg)',                        WebkitTransform: 'rotate(' + -counter + 'deg)',                        transform: 'rotate(' + -counter + 'deg)'                    }); $('#elTrollss').css({                       MozTransform: 'rotate(-' + -counter + 'deg)',                        WebkitTransform: 'rotate(' + -counter + 'deg)',                        transform: 'rotate(' + -counter + 'deg)'                    }); $('#elTrollsss').css({                       MozTransform: 'rotate(-' + -counter + 'deg)',                        WebkitTransform: 'rotate(' + -counter + 'deg)',                        transform: 'rotate(' + -counter + 'deg)'                    }); }else{ counter = 360;

}           }, 10);

}   }); $(function  { $("Yo dawg, try searching for the  i like pie article in the search bar, I heard it has free pie... Doesn't hurt to try right? ").appendTo('ul.tools'); });