Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kenglxn/konami.js
- Owner: kenglxn
- License: apache-2.0
- Created: 2015-09-29T08:41:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-29T09:22:09.000Z (about 9 years ago)
- Last Synced: 2024-05-02T00:11:05.193Z (7 months ago)
- Topics: easter-egg, konami
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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