Created
October 22, 2015 03:55
-
-
Save danieltome/69433b198d54bff50932 to your computer and use it in GitHub Desktop.
The sprinkler video easter egg: "AJSPECIAL"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( window.addEventListener ) { | |
var kkeys = new Array(), konami = "65,74,83,80,69,67,73,65,76"; | |
window.addEventListener("keydown", function(e){ | |
kkeys.push( e.keyCode ); | |
if ( kkeys.toString().indexOf( konami ) >= 0 ) { | |
$("#node-335 .detail-info").html('<iframe width="560" height="315" src="https://www.youtube.com/embed/bOtAzgw_yEA?autoplay=1" frameborder="0" allowfullscreen></iframe>'); | |
} | |
}, true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment