Konami code for your website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Ondřej Hruška c20017171f
fix for starting with more than 2 up arrows
5 years ago
.gitignore added code 9 years ago
LICENSE Initial commit 9 years ago
README.md added js files header + added minified version 9 years ago
example.html add meta charset to the example html 7 years ago
konami.js fix for starting with more than 2 up arrows 5 years ago

README.md

Konami code listener

This script lets you enable Konami code on your website!

It's super simple:

<script src="konami.js"></script>

<script>
	konami(function () {
		// do something cool here!
	});
</script>

Tested to work in Chrome and Firefox.