Created
January 7, 2018 17:57
-
-
Save BenFausch/73f4f6e0fab5806eb3b53f9697777a64 to your computer and use it in GitHub Desktop.
log all mouseover events, useful for finding elements to target
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
window.onmouseover=function(e) { | |
console.log(e.target.className); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment