Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenglxn/konami.js

register a function as an easter egg to be called when the konami code is entered
https://github.com/kenglxn/konami.js

easter-egg konami

Last synced: 9 days ago
JSON representation

register a function as an easter egg to be called when the konami code is entered

Awesome Lists containing this project

README

        

# konami.js
register a function as an easter egg to be called when the konami code is entered.

konami code: ↑ ↑ ↓ ↓ ← → ← → b a ⏎

# usage

Just add konami script in your page and register an easter egg function like so:

```
var myEasterEgg = function () {
// something nifty
};

konami(myEasterEgg);
```

# get it

* Download [source version].
* Download [minified version].

[source version]: https://raw.githubusercontent.com/kenglxn/konami.js/master/konami.js
[minified version]: https://raw.githubusercontent.com/kenglxn/konami.js/master/konami.min.js