Last active
April 19, 2019 17:06
-
-
Save michaelgira23/4e666662f3fe5d114fa9e7691428e741 to your computer and use it in GitHub Desktop.
Veracross Get Student Count
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
let emails = []; | |
$('.directory-Entry_FieldLink').each((i, elem) => { | |
const mailto = $(elem).attr('href'); | |
const parts = mailto.split(':'); | |
if (parts[0] === 'mailto' && parts[1].endsWith('@micds.org')) { | |
emails.push(parts[1]); | |
} | |
}); | |
console.log('[\'', emails.join('\', \''), '\']'); |
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
// Step 1: Go to directory, scroll down, and load pictures of all students from the grade | |
// Step 2: Run this in the JS console | |
$('.directory-Entry').length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment