Fast block button on X profile + bulk blocking helper for list pages.
What is this?
X Auto Block / Fast Block is a helper userscript for X (formerly Twitter) that makes blocking accounts a bit less tedious.
It provides:
• A red Fast Block button next to the “…” (more / userActions) and “Follow” buttons on profile pages
• A bulk blocking controller for pluto0x0.github.io/X_based_china, opening one profile every ~30 seconds and auto-blocking it
• A small UI with multi-language support (English / Japanese / Korean / Traditional Chinese / Simplified Chinese)
• Optional SweetAlert2 dialogs; if CSP prevents loading it, the script falls back to the native alert / confirm / prompt
⸻
Features
1. Profile “Fast Block” button
On any user profile page, the script:
• Finds the userActions (three-dots) and Follow buttons
• Clones the layout of the Follow button and adds a red Fast Block button next to it
• When you click Fast Block, it automatically:
1. Checks whether the user is already blocked (if so, highlights and exits)
2. If not blocked: opens the user actions menu → finds the “Block” menu item → clicks it → clicks the confirmation button
The script never blocks anyone by itself in the background – it only runs the flow when you press the button.
⸻
2. Bulk blocking from list pages
On https://pluto0x0.github.io/X_based_china/ user list pages, the script shows a small control panel in the top-right corner:
• Displays total accounts on this page, how many are done, and how many remain
• Every ~30 seconds it opens a new tab for the next user’s X profile and runs the same Fast Block logic
• Child tabs send blocked / alreadyBlocked reports back via postMessage; only confirmed IDs are recorded
• Processed Twitter IDs are stored in localStorage so they can be skipped on future visits to the same list
• The panel lets you:
• Start / Pause the bulk process
• Reset the processed ID list
• Export processed IDs as a JSON file
• Copy processed IDs JSON to the clipboard
• Import processed IDs from JSON (either replacing or merging with the current list)
There is a Language dropdown in the panel; the choice is saved in localStorage and reused next time.