---
title: Konami-JS - Harness the power of the Konami Code!
author: George Mandis <george@mand.is>
date: 2009-04-28
description: Harness the power of the Konami Code!
tags: post, javascript, programming, konami
---

With the recent attention surrounding [ESPN and their use of the Konami Code](http://news.cnet.com/8301-17938_105-10228558-1.html), I thought it would be fun to make a JavaScript library that allowed everyone to take advantage of this time-honored cheat code:

[konami-js.googlecode.com](http://konami-js.googlecode.com)

By adding just a few lines to your site, you can set it up so the Konami Code does...  Well, pretty much anything!  The default behavior is to load a new web page, but if you're fluent in JavaScript, you can change the konami.code() method to do whatever you want.  

Checkout some [konami-js examples](http://www.snaptortoise.com/konami-js).

**Update circa 2023**: Look here for Konami-JS stuff instead &rarr; 
- [https://konamijs.mand.is/](https://konamijs.mand.is/)
- [https://github.com/georgemandis/konami-js](https://github.com/georgemandis/konami-js)