This jQuery plugin triggers a 'konami' event when the konami code was entered.:
↑ ↑ ↓ ↓ ← → ← → b a
Example code:
<script>
$(document).bind('konami', function() {
document.location.href = 'konami.html';
});
</script>
The implementation is based on this konami plugin.