A Tampermonkey userscript that adds a one-click block button next to every username on X/Twitter.
- Block button on
@usernamehandles in followers, following, lists, search results, and profiles - Block button on tweet timestamps in timelines and replies
- Blocked users are automatically hidden from lists
- Blocked users persist across sessions
- Detects already-blocked users and hides them
- Skips your own profile
- Falls back to profile redirect when direct block isn't available
- SPA-aware: works with X's dynamic navigation
- Install Tampermonkey
- Create a new script and paste the contents of
one-click-x-block.user.js - Visit x.com
Clicking the block icon (⊘) triggers X's native block flow: opens the "More" menu, clicks "Block", and confirms.
If the "More" menu isn't available, the script redirects to the user's profile, blocks, and navigates back.
MIT