Konami Code now on the PushON site

PushON | July 17th 2012

What is the Konami Code? If you don’t know already, is the code that was worked into some of the most successful games of all time. It was the first thing you tried on almost every single SNES game and still to this day is something I find myself tapping into games, after all, you never know!
As cheats in games have sort of slowed down and tapered off, we have seen an increasing number of websites adopt the Konami Code to deliver a cheeky little easter egg! A bit late for easter I know, but judging by the summer weather in Manchester, it could be any one of the four seasons.

So without further adieu, I present to you the PushON Konami Easter Egg – go ahead (if you haven’t done already) and enter the Konami Code
to find our little suprise on the site:

Of course, if you’re a long time PushON fan, you may have had the pleasure already. If you haven’t had the pleasure of our Creative Directors sense of humor, I highly recommend trying the cheat out for yourself!

Spread the word!

Add the Konami Code to your own site!

    if (window.addEventListener) {
        // create the keys and konami variables
        var keys = [],
            konami = "38,38,40,40,37,39,37,39,66,65";

        // bind the keydown event to the Konami function
        window.addEventListener("keydown", function(e){
            // push the keycode to the 'keys' array

            // and check to see if the user has entered the Konami code
            if (keys.toString().indexOf(konami) >= 0) {
                // do something such as:
                // alert('c-c-c-c-combo breaker!');

                // and finally clean up the keys array
                keys = [];
        }, true);