Bookmarklet to unsubscribe from Meetup emails

1 points by ajayjain ↗ HN
Hey Hacker News,

I got tired of receiving spam from meetup.com group members and groups. This has probably been done before, but here's a simple bookmarklet I just wrote to unsubscribe from a specific meetup if you are on their email settings page:

  javascript:$('.D_form').find('input[type=checkbox]').attr('checked', false); $('#rsvpConf').attr('checked', true); $('input[type=radio]').each(function(i) { if (i % 3 === 2) $(this).prop('checked', true); }); $('input.D_submit[type=submit]').trigger('click');
Formatted code:

  $('.D_form').find('input[type=checkbox]').attr('checked', false);
  $('#rsvpConf').attr('checked', true);
  $('input[type=radio]').each(function(i) {
    if (i % 3 === 2) $(this).prop('checked', true);
  });
  $('input.D_submit[type=submit]').trigger('click');
What would be better is if it navigated to each meetup itself, but I hope it's still useful.

0 comments

[ 3.0 ms ] story [ 7.7 ms ] thread

No comments yet.