1 var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65";
2 document.onkeydown = function (e) {
4 var idx = kkeys.toString().indexOf( konami );
5 if (idx >= 0 && idx != kkeys.toString().length - konami.length) {
7 window.location.assign("http://nyan.cat/");