Skip to content

A simple Javascript blocker for X, and some list of accounts

License

Notifications You must be signed in to change notification settings

ammar-faifi/xblocker

Repository files navigation

X App Blocker

This script allows you to block multiple Twitter (X) accounts automatically. It can be used by pasting the script into the browser console or as a bookmarklet. The list of usernames to block is sourced from this pastebin by user @dmdmsuii.

Disclaimer

IMPORTANT: Use this script at your own risk. Blocking accounts in bulk may violate Twitter's Terms of Service or automated behavior policies. The author of this script is not responsible for any consequences resulting from its use, including but not limited to account suspension or termination. Please use responsibly and in accordance with Twitter's guidelines.

How to Use

  1. Open https://x.com/settings/blocked/all in your browser.
  2. Open the browser's developer console (usually F12 or right-click > Inspect > Console).
  3. Copy the following minified script and paste it into the console: Copy content of this file
  4. Press Enter to run the script.

In Mobile Devices

  1. Log in to X(Twitter) with a browser
  2. Copy the the same file above
  3. In the same page with X opened, type javascript:PASTE_FILE_CONTENT_HERE

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Credits

About

A simple Javascript blocker for X, and some list of accounts

Topics

Resources

License

Stars

Watchers

Forks