Last active
April 30, 2017 05:24
-
-
Save spjpgrd/2fd25ae1565c1eff7d3343b99862ecc0 to your computer and use it in GitHub Desktop.
An easy script to say "Good to see you" to all attendees after a Meetup on Meetup.com (WITHOUT all the clicking)
This file contains hidden or 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
// Easily say "Good to see you" to all attendees after a meetup | |
// (WITHOUT all the clicking) | |
// Go to the Event page, and make sure you've loaded all the attendees | |
// by scrolling down and loading them all. | |
// Then paste this into your browser's console | |
var elems = document.getElementsByClassName("D_submit j-gtsy"); | |
for(var i=0; i<elems.length; i++) { | |
if( elems[i].tagName.toLowerCase() === "a" ) | |
elems[i].click(); | |
} | |
// Use this if you're on the post-survey page | |
// All that's different is it's looking for a different class name | |
var elems = document.getElementsByClassName("D_submit small"); | |
for(var i=0; i<elems.length; i++) { | |
if( elems[i].tagName.toLowerCase() === "a" ) | |
elems[i].click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment