trovster.com

The personal website of Trevor Morris

Cheat Code Download

A simple plugin which converts your code examples to live behaviour.

Inspired by Konami Code Sites I decided to write a simple jQuery plugin which you can use to easily add your own secret ‘cheat code’ style commands to your own website. By default the “Cheat Code” plugin looks for the Konami code pressed anywhere on the website and can be activated only once.

You can easily change the code required to activate the reveal, as well as define your own ‘activation’ function for an interesting easter egg. By default, the cheat code can only be activated once, but this can be change.