TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Bookmarklet to unsubscribe from Meetup emails

1 点作者 ajayjain超过 12 年前
Hey Hacker News,<p>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:<p><pre><code> 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'); </code></pre> Formatted code:<p><pre><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'); </code></pre> What would be better is if it navigated to each meetup itself, but I hope it's still useful.

暂无评论

暂无评论