🤖 Block Bots
Detect and block bot/fake accounts on your follower list using heuristic analysis.
📋 What It Does
- Scrolls your followers page collecting profile data
- Analyzes each follower for bot indicators:
- Username has high digit ratio (e.g.,
user183749283) - Default/missing avatar
- Empty or very short bio
- Account created very recently
- Following count >> follower count
- Username has high digit ratio (e.g.,
- Assigns a bot-likelihood score
- Blocks detected bots (in non-dry-run mode)
- Exports detected bots as JSON
🌐 Browser Console Script
Steps:
- Go to your followers page (
x.com/yourusername/followers) - Set
dryRun: falsewhen ready to block - Open console (F12) and paste
src/blockBots.js
Configuration:
const CONFIG = {
scrollCycles: 15,
botScoreThreshold: 5,
delayBetweenBlocks: 2000,
dryRun: true,
};
📁 Files
src/blockBots.js— Bot detection and blockingsrc/auditFollowers.js— Full follower audit (companion)src/massBlock.js— Block a specific list of users
⚠️ Notes
- Always run with
dryRun: truefirst to review detected bots - The heuristic is not perfect — review the exported JSON before blocking
- Threshold of 5 is a good starting point; lower = more aggressive
- Blocked accounts can be unblocked later using
src/massUnblock.js
⚡ Ready to try Block Bots?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts