Created
July 19, 2012 05:13
-
-
Save brucem/3140911 to your computer and use it in GitHub Desktop.
Bookmarklet to pick a random RSVP from a meetup.com event page (great for door prizes) Need to be on a meetup.com event page e.g. http://www.meetup.com/The-Brisbane-Web-Design-Meetup-Group/events/46890482/
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
javascript:(function(){var%20ele=$($("#rsvp-list li.rsvp-list").attr("style","")[Math.floor(Math.random()%20*%20$("#rsvp-list li.rsvp-list").length)]).attr("style","border:5px solid red;");jQuery(window).scrollTop(ele.offset().top-jQuery(window).height()/2)})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment