Skip to content

yaph/konamijs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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:

<script>
  $(document).bind('konami', function() {
    document.location.href = 'konami.html';
  });
</script>

Credits

The implementation is based on this konami plugin.

Releases

No releases published

Packages

No packages published