Raptorize your site with a Konami Code

$(function () { // konami code - up up down down left right left right b a var code1 = String.fromCharCode(38, 38, 40, 40, 37, 39, 37, 39, 66, 65); var code2 = String.fromCharCode(38, 38, 40, 40, 37, 39, 37, 39, 65, 66); var codeBuffer = ""; $(document).keyup(function (e) { codeBuffer += String.fromCharCode(e.which); if (code1.substring(0, codeBuffer.length) == codeBuffer) { if (code1.length == codeBuffer.length) { toggle1(); codeBuffer = String.fromCharCode(38, 38, 40, 40, 37, 39, 37, 39, 66); } } else if (code2.substring(0, codeBuffer.length) == codeBuffer) { if (code2.length == codeBuffer.length) { toggle2(); codeBuffer = ""; } } else { codeBuffer = ""; } }); function toggle1() { if ($("body").raptorize) { $("body").raptorize(); } else { $("head").append('<script src="/_/logic/jquery.raptorize.1.0.js"></script>'); } } function toggle2() { window.DEBUG_FLAG = !window.DEBUG_FLAG; window.DEBUG_FILTER_INCLUDE = null; window.DEBUG_FILTER_EXCLUDE = null; window.logInited=true; updateConsoleVisibility(); } });

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.