Created
December 5, 2012 16:48
-
-
Save benfoxall/4217317 to your computer and use it in GitHub Desktop.
DOMNodeInserted
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
<script type="text/javascript"> | |
(function(){ | |
var insertCount = 0; | |
document.addEventListener("DOMNodeInserted", function(e) { | |
insertCount++; | |
console.log(insertCount); | |
}, false); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment