Skip to content

Instantly share code, notes, and snippets.

@xavadu
Last active May 25, 2018
Embed
What would you like to do?
MeetUp RSVP auto attendance
// RSVP auto attendance IA bot quantum processor compumundohipermegared
// Run the code in the main event page with the extension, when the RSVP be enabled you automatically will be mark as going
// https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija/related?hl=en
const rsvpBtn = document.getElementsByClassName('rsvpIndicator-rsvp-yesButton')[0];
const interval = setInterval(() => {
if (rsvpBtn.className.indexOf('disabled') == -1) {
rsvpBtn.click();
clearInterval(interval);
console.log('YAYYH!! RSVP Done!!');
} else {
// Refresh
console.log('Disabled RSVP refreshing..')
document.location.href = document.location.href;
}
}, 2000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment