added a readme and improved example page.

master
Ondřej Hruška 9 years ago
parent da1234ef0a
commit 5a4fb1a44f
  1. 18
      README.md
  2. 6
      example.html

@ -0,0 +1,18 @@
Konami code listener
====================
This script lets you enable Konami code on your website!
It's super simple:
```html
<script src="konami.js"></script>
<script>
konami(function () {
// do something cool here!
});
</script>
```
Tested to work in Chrome and Firefox.

@ -14,6 +14,10 @@
</script>
</head>
<body>
blah blah
<h1>Chicken is a fish.</h1>
<p>You did not know that, did you? Well now you do. Also, ostrich is a fish.</p>
</body>
</html>

Loading…
Cancel
Save