Skip to content

Instantly share code, notes, and snippets.

@amiel
Created July 20, 2010 19:53
Show Gist options
  • Save amiel/483453 to your computer and use it in GitHub Desktop.
Save amiel/483453 to your computer and use it in GitHub Desktop.
$.konami(function() {
// This will get run when the konami code is completed
// Some examples:
document.location = "http://someawesomelyfunnysite.com";
$("p").each(function() {
$(this).text("Something else really funny");
});
$("#header h1").css("background-image", "/images/funny_konami_header_image.png");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment