尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Press Start once and it clicks Unsubscribe for each sender on Gmail's Manage subscriptions page, up to 250 per run. No Gmail API, no OAuth, no server.
UnsubSweep is a Chrome extension (Manifest V3) that works through Gmail's Manage subscriptions page for you: it clicks Unsubscribe for each sender and confirms Gmail's dialog. It uses no Gmail API, no OAuth and no server; it clicks in the Gmail tab you already have open.
Status: preparing v1 for the Chrome Web Store. It is tested against a hand-written stand-in for Gmail's page, not yet on a live Gmail account. Until the listing is live, install it with Load unpacked. Website, docs and privacy policy: unsubsweep.vercel.app (source in web/).
The extension's own popup and loop, running in demo/ against the hand-written test fixture. This is not real Gmail.
There is no undo and no selection yet. A run goes through every sender on the page, and the extension cannot re-subscribe you. Only press Start when you want to leave every list shown.
git clone https://github.com/tahmidbintaslim/gmail-auto-unsubscribe.git
chrome://extensions, turn on Developer mode and click Load unpacked. Select the cloned folder.No npm install is needed to use it. To watch it run without Gmail, open the hosted demo or run npm run demo.
activeTab and scripting. No host permissions, so Chrome shows no site-access warning on install.sequenceDiagram
actor You
participant Popup as Popup (popup.html and popup.js)
participant Tab as Gmail tab (unsubscriber.js and content.js)
participant Gmail as Gmail page
You->>Popup: Click the icon (grants activeTab), press Start
Popup->>Popup: Check the tab is on mail.google.com
Popup->>Tab: chrome.scripting.executeScript: unsubscriber.js, then content.js
Popup->>Tab: START message
Tab->>Tab: Check the address is the subscriptions list
loop Each sender row, bottom up, at most 250
Tab->>Gmail: Click the row's Unsubscribe
Gmail-->>Tab: Dialog opens
Tab->>Gmail: Click Unsubscribe if one-click, else Cancel (or Go to website if allowed)
Tab-->>Popup: PROGRESS counts (dropped while the popup is closed)
end
popup.js checks the active tab and injects the two scripts only when you press Start. Nothing runs in Gmail before that.unsubscriber.js holds the loop: it finds sender rows and dialogs by their English labels, clicks, counts and enforces the limits.content.js passes Start, Stop and status messages between the popup and the loop.以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗