Skip to content

san650/meetup-draw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Meetup Draw

The easiest way to hold a drawing!

Example

  1. Go to the current meetup page
  2. Ensure that all attendees are loaded in the page
  3. Open the Javascript console
  4. 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');
  1. Repeat as many times as you need
  2. Done.

License

meetup-draw is licensed under the MIT license.

See LICENSE for the full license text.

About

The easiest way to hold a drawing!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published