Skip to content
/ contra Public
forked from jish/contra

The Contra (Konami) code in JavaScript

Notifications You must be signed in to change notification settings

shoxty/contra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Add the Contra (Konami) code to any website.

All you have to do is include the contra.js script:

<script src="contra.js" type="text/javascript" charset="utf-8"></script>

You can either react based on css styles:

<style type="text/css" media="screen">
  body.contra div.foo {
    /* Awesome style here */
  }
</style>

Or you can add your own javascript handlers and the possibilities are endless:

Contra.addHandler(function() {
  // Awesome things here
});

About

The Contra (Konami) code in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%