Settings & Privacy
Browser console scripts for managing X/Twitter account settings and privacy controls.
Script Selection
| Script | File | Purpose |
|---|---|---|
| Settings Manager | src/settingsManager.js | Account settings, privacy, content preferences |
| Muted Words | src/manageMutedWords.js | Bulk add, remove, and manage muted words/phrases |
| Mass Unblock | src/massUnblock.js | Clear blocked accounts |
| Mass Unmute | src/massUnmute.js | Clear muted accounts |
Settings Manager
File: src/settingsManager.js
Manages account settings: privacy controls, content filtering, notification preferences, and account configuration.
How to Use
- Navigate to
x.com/settings - Open DevTools (F12) -> Console
- Paste the script -> Enter
Muted Words Manager
File: src/manageMutedWords.js
Bulk add or remove muted words and phrases to filter unwanted content from timeline, notifications, and search.
How to Use
- Navigate to
x.com/settings/muted_keywords - Open DevTools (F12) -> Console
- Paste the script -> Enter
Configuration
const CONFIG = {
wordsToMute: ['spam', 'giveaway', 'follow for follow'],
duration: 'forever', // 'forever', '24h', '7d', '30d'
muteFrom: 'everyone', // 'everyone' or 'people_you_dont_follow'
};
DOM Selectors
| Element | Selector |
|---|---|
| Toggle switch | [data-testid="settingsSwitch"] |
| Protected toggle | [data-testid="protectedTweets"] |
| Settings nav | a[href="/settings"] |
| Muted keywords | a[href="/settings/muted_keywords"] |
| Confirmation dialog | [data-testid="confirmationSheetConfirm"] |
Settings Pages
| Setting | URL | Description |
|---|---|---|
| Protected tweets | /settings/audience_and_tagging | Only approved followers see posts |
| Muted words | /settings/muted_keywords | Filter content by keyword |
| Blocked accounts | /settings/blocked/all | View/manage blocked accounts |
| Muted accounts | /settings/muted/all | View/manage muted accounts |
| Content preferences | /settings/content_preferences | Sensitive content filters |
| Notifications | /settings/notifications | Notification filtering |
| Privacy and safety | /settings/privacy_and_safety | DM controls, discoverability |
| Account info | /settings/your_twitter_data/account | Email, phone, username |
| Download data | /settings/download_your_data | Request full data archive |
Strategy Guide
Locking down a new account
- Navigate to
/settings/audience_and_tagging-> enable Protected Tweets - Navigate to
/settings/privacy_and_safety-> adjust DM settings - Run
src/manageMutedWords.jsto add spam filters - Navigate to
/settings/notifications-> filter notifications from non-followers
Cleaning up after spam attack
- Run
src/massUnblock.jsto clear old blocks (make room for new ones) - Run
src/blockBots.json your followers page - Run
src/manageMutedWords.jswith spam keywords - Check
/settings/muted/alland/settings/blocked/allfor status
Content creator setup
- Keep Protected Tweets OFF (public account needed for growth)
- Mute common spam keywords: giveaway, airdrop, DM me, follow back
- Filter notifications to verified accounts or followers only
- Enable sensitive content warnings if posting edgy content
Notes
- Protected tweets: only approved followers can see posts
- Muted words filter content from timeline, notifications, and search
- Settings changes take effect immediately
- Some settings require password confirmation
- Download data request takes 24-48 hours to process
- Muted words support phrases, hashtags, and individual words