The easiest way to hold a drawing!
- Go to the current meetup page
- Ensure that all attendees are loaded in the page
- Open the Javascript console
- Paste and run the following snippet
var users = Array.prototype.slice.apply(document.querySelectorAll('.event-attendees .member-name')).map(function(elem) { return elem.innerText.replace(/(^\s+|\s+$)/g, ''); }); console.warn('Winner: \u2605', users[Math.floor(Math.random() * users.length)], '\u2605');
- Repeat as many times as you need
- Done.
meetup-draw is licensed under the MIT license.
See LICENSE for the full license text.