https://github.com/yaph/konamijs
konami code jQuery plugin
https://github.com/yaph/konamijs
jquery-plugin konamicode
Last synced: 5 days ago
JSON representation
konami code jQuery plugin
- Host: GitHub
- URL: https://github.com/yaph/konamijs
- Owner: yaph
- License: mit
- Created: 2012-07-11T00:12:46.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-11T00:45:13.000Z (almost 14 years ago)
- Last Synced: 2025-11-18T18:06:30.112Z (7 months ago)
- Topics: jquery-plugin, konamicode
- Language: JavaScript
- Homepage: https://geeksta.net/
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
konami Code jQuery Plugin
=========================
This jQuery plugin triggers a 'konami' event when the konami code was entered.::
↑ ↑ ↓ ↓ ← → ← → b a
How to use it
-------------
Example code::
$(document).bind('konami', function() {
document.location.href = 'konami.html';
});
Credits
-------
The implementation is based on `this konami plugin`_.
.. _`this konami plugin`: https://github.com/fathwad/konami