Created
November 8, 2014 04:20
-
-
Save krrishd/53b265732e2e431d6451 to your computer and use it in GitHub Desktop.
Get the # of CodeDay registrants by pasting this into your console on Clear
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
(function getRegistrants() { | |
NodeList.prototype.forEach = Array.prototype.forEach; | |
registrants = 0; | |
document.querySelectorAll('.registrants .number').forEach(function(d) { | |
registrants += Number(d.innerHTML) | |
}); | |
return registrants; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment