Created
October 16, 2012 13:45
-
-
Save gregersrygg/3899381 to your computer and use it in GitHub Desktop.
One-liner to random pick a meetup.com attendee from the RSVP list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copy-paste into console | |
alert(Array.prototype.slice.call(document.querySelectorAll("#rsvp-list h5 a"),0).sort(function () { return Math.random() -0.5; })[0].innerText); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment