🔇 Mute by Keywords & Manage Muted Words
Mute users who post specific keywords, and bulk-add words to your muted word list.
🔇 Mute Users by Keywords (src/muteByKeywords.js)
What It Does
- Scrolls the timeline collecting tweets
- Checks tweet text against your keyword list
- When a match is found, clicks the tweet's menu → Mute
- Tracks muted users to avoid duplicates
Steps
- Go to
x.com/home - Edit CONFIG with your keywords
- Open console (F12) and paste
src/muteByKeywords.js
const CONFIG = {
keywords: ['crypto scam', 'dm me', 'giveaway'],
scrollCycles: 10,
delayBetweenMutes: 2000,
};
📝 Manage Muted Words (src/manageMutedWords.js)
What It Does
- Navigates to Settings → Muted Words
- Adds each word from your list
- Configures duration and scope (Home timeline, Notifications, or both)
Steps
- Go to
x.com/settings/muted_keywords - Edit CONFIG with your words
- Open console (F12) and paste
src/manageMutedWords.js
const CONFIG = {
words: ['crypto scam', 'follow for follow', 'dm me'],
duration: 'forever', // 'forever', '24h', '7d', '30d'
scope: 'both', // 'home', 'notifications', 'both'
delayBetweenAdds: 2000,
};
📁 Files
src/muteByKeywords.js— Mute users by content keywordssrc/manageMutedWords.js— Bulk-add muted wordssrc/massUnmute.js— Unmute all users
⚠️ Notes
- Muting a user hides their tweets without unfollowing
- Muted words hide tweets containing those words from your timeline
- Duration options: forever, 24 hours, 7 days, 30 days
- Scope: applies to home timeline, notifications, or both
⚡ Ready to try Mute by Keywords & Manage Muted Words?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts