Skip to content

tzvetkoff/konamijs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

konami.js

A minimalistic & library-independent Konami Code™ easter egg implementation in JavaScript.

How to use?

Load the konami.js file in your HTML page and drop a piece of JavaScript somewhere in the code:

<script type="text/javascript" src="konami.js"></script>
<script type="text/javascript">
  //<![CDATA[
  konami(function() {
    alert('ninja!');
  });
  //]]>
</script>

Open the page in your browser and do the cheat by pressing B A consecutively.

About

Komani Code™ JavaScript minimalistic implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors