Development

Up Up Down Down Left Right Left Right B A

By September 4, 2008 No Comments

What happens when you search Google for “javascript and google chrome”, hoping for other blog articles people have written about some shortfalls of the latest release of Chrome, in terms of javascript-ing? I found JavaScriptly, the self proclaimed blog for “JavaScript on the Modern Web”, and their article of speed tests between Chrome and other common browsers. But then I found the post before that, JQuery Site Re-redesign, and realized I hadn’t been to jquery.com in a few days. Which is not to claim that I AM a “Javascript Rockstar” and don’t need the reference docs there at all, but more to claim that I just haven’t happened upon their site in a few days. Apparently I missed out.

Unfortunately, that design was a little too “extreme” for most tastes, and has since been simplified. But if you read on, they mention a KONAMI easter egg. So I felt the need to specifically spill the beans. Or spoil the beans. Or something. Anyways, if you view the code running on every page of the jQuery redesign, you see this at the end:


// Hehe.
if ( window.addEventListener ) {
var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65";
window.addEventListener("keydown", function(e){
kkeys.push( e.keyCode );
if ( kkeys.toString().indexOf( konami ) >= 0 )
window.location = "http://ejohn.org/apps/hero/";
}, true);
}

So there it is. Go to the site, and before you press anything else, enter in the Konami code, and you get the Easter egg, on a Thursday in September (today). Now what little easter eggs can I work in to the Ninthlink site? …

Alex Chousmith

Alex has been building with Ninthlink since '06, and a San Diegan since the turn of the century. A background of Mathematics – Computer Science / Interdisciplinary Computing & Arts from UCSD, plus Drupal / WordPress / jQuery / CSS3 / HTML5 / bass guitar / homebrew skill, powers him to get the job done, no matter what.

Leave a Reply