Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Meetup.com attendee list position finder
// 1 - Find your profile ID
// 2 - Replace it with PLACE_YOUR_PROFILE_ID_HERE in the code
// 3 - Open the the attendee list you'd like to check (Going, Not Going or Waitlist)
// 4 - Paste it to your developer console and press enter
// 5 - Voila???
//
// FAQ
// Q: Why?
// A: Why not?
((profileID) => {
let list = document.getElementsByClassName("attendees-list")[0].children;
let position = null;
for (let index=0; index < list.length; index++) {
if(list[index].getElementsByTagName("a")[0].toString().includes("/" + profileID + "/")){
position = list.length - index;
console.log("Your position in the list is: " + position);
break;
}
}
if (!position){
console.log("Can't find you in this list! Are you sure you're looking to the right one?");
}
})("PLACE_YOUR_PROFILE_ID_HERE")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment