X Comment Bot Blocker

Pick a bot template comment (or an abusive username), scan the current tweet's replies, and automatically block matching spam/bot accounts — three-way matching: text similarity, username rules, and comment keywords. Built-in high-frequency rule templates, whitelist, dry-run (mark-only) mode, block log with one-click unblock, full data export and Gist sync. ⚠ Heuristic rules may false-positive normal users: try dry-run mode first.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
WhyWhatHow
Daily installs
2
Total installs
20
Ratings
0 0 0
Version
0.14.5
Created
2026-08-09
Updated
2026-08-23
Size
96.7 KB
License
MIT
Applies to

📄 X Comment Bot Blocker — GreasyFork 附加信息

   Scan a tweet's reply section and auto-block spam/bot accounts by picking
   one bot template comment or a suspicious username.

   ▸ How it works
   - Three-way matching: text similarity / username rules / comment keywords
   - Blocks via X's own UI (menu → Block → confirm), no internal APIs
   - Built-in high-frequency spam rule templates (one-click load)
   - Whitelist, adjustable similarity threshold, per-block confirm
   - Rate limiting (configurable block interval)

   ▸ ⚠ Read before enabling auto-block
   Heuristic rules are NOT 100% accurate — normal users' nicknames or comments
   can be matched by mistake. Please:
   1. Run in "mark-only (dry-run)" mode first and review the hits
   2. Avoid overly broad keywords; prefer specific template comments
   3. Wrongly blocked someone? ⚙ Settings → Data → block log → open their
      profile to unblock, or add them to the whitelist
   4. Auto-blocking may violate X ToS; use at your own risk

   ▸ Data
   Everything stays local (GM storage). Export/import JSON; optional Gist sync.

   ▸ Recent changes
   - v0.14.5  Full English metadata (@description:en)
   - v0.14.4  Vendored into PowerToys4Browser; false-positive warnings
   - v0.14.3  Public stable gist as default remote data source
   - v0.14.0  Block log: record reason/time, one-click unblock + whitelist
   - v0.13.0  Keyword matching isolated from username list (fewer false hits)
   - v0.12.0  Three-way matching + settings panel

   Full changelog: https://github.com/WhyWhatHow/powertoys4browser/blob/master/doc/x-comment-bot-blocker.md

   Feedback & issues: https://github.com/WhyWhatHow/powertoys4browser/issues
   Source: https://github.com/WhyWhatHow/powertoys4browser