Skip to content

Instantly share code, notes, and snippets.

@nikhilw
Created March 12, 2015 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikhilw/b07c320e18160ee3d65f to your computer and use it in GitHub Desktop.
Save nikhilw/b07c320e18160ee3d65f to your computer and use it in GitHub Desktop.
List all event listeners on all elements in the currently loaded page.
jQuery("*").each(function(i, e) {var listeners = jQuery._data(e, "events"); if (listeners){console.log(e); console.log(listeners)}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment