Skip to content

Instantly share code, notes, and snippets.

@danielepiccone
Created August 21, 2013 08:28
Show Gist options
  • Save danielepiccone/6291779 to your computer and use it in GitHub Desktop.
Save danielepiccone/6291779 to your computer and use it in GitHub Desktop.
list browser events
var i = '', out = [];
for (i in window) {
if ( /^on/.test(i)) { out[out.length] = i; }
}
console.log( out.join(', ') );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment