Skip to content

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

License

Notifications You must be signed in to change notification settings

kenglxn/konami.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published