About
What is X Spam Blocker?
X Spam Blocker is the shorter name people use for X Blocker, a free, open-source Chrome extension for X (formerly Twitter). X already has a Block button, but it is one account at a time, hidden behind the ⋯ menu, and it does nothing to help you find the accounts worth blocking. This extension fixes both halves of that problem: a single icon on every post for a one-click block on X, and a keyword scanner that gathers spam accounts into a list you can bulk block in one go.
As a Twitter spam blocker it matches your keywords and regular expressions against four fields — the post text, the display name, the handle and the bio — because the accounts flooding your replies usually give themselves away in their name long before they do in a sentence. Hits are marked with a red bar on the timeline and collected in a candidate list. Nothing is blocked until you press the button, and fully automatic mode ships switched off.
It also handles the trick that defeats ordinary filters. Spam replies on X routinely pad every character with invisible zero-width joiners, so a message that reads normally on screen is unmatchable as text. It strips those characters before matching and flags any post that is mostly invisible padding, which catches new wording as well as old. Read the guide on how to mass block accounts on Twitter, or the one on the invisible-character trick.
Because it acts on your own account, an X mass block tool has to be careful. This one blocks accounts one at a time with a 1.5 second gap plus random jitter, caps each run at 50, and backs off automatically when X rate limits it. Every action goes into a log with the rule that triggered it, so a block you regret takes one click to reverse. There is no server, no analytics and no shared blocklist: your filters and your log never leave your browser.