Skip to content

Instantly share code, notes, and snippets.

@spjpgrd
Last active April 30, 2017 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spjpgrd/2fd25ae1565c1eff7d3343b99862ecc0 to your computer and use it in GitHub Desktop.
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)
// 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