The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
Konami Code Trigger
Based on kazhar's Konami Code Listener, allows you to tag elements with an event listener for when the user enters the konami code on a page. Allows for different elements on the page to listen for the konami code entry, configurable codes (including different configurations for each tagged element), and event-like invocation.
// konami code unlocks the tetrises
$('#tetris').konami(function(){
$(this).show();
});
// enable all weapons on 'idkfa'.
// note that each weapon must be unlocked by its own code entry
$('.weapon').konami(function(){
$(this).addClass('enabled');
}, {'code':[73, 68, 75, 70, 65]});
// listens on any element that can trigger a keyup event.
// unlocks all weapons at once
$(document).konami(function(){
$('.weapon').addClass('enabled');
}, {'code':[73, 68, 75, 70, 65]});
