A simple Chrome extension that blocks tweets in specific languages (like Chinese, Arabic, Russian, etc.) from appearing in your Twitter/X timeline.
- Block Multiple Languages: Filter out tweets in Chinese, Arabic, Russian, Japanese, Korean
- Simple Interface: Easy-to-use checkbox selection for languages to block
- Automatic Settings: Settings save automatically when you toggle language options
- Real-time Filtering: Blocks tweets as you scroll without needing to refresh
- Lightweight: Minimal impact on browser performance
- Site-Specific: Only works on Twitter/X websites - doesn't affect any other sites
Since this extension is distributed via GitHub (not the Chrome Web Store), follow these steps to install it:
-
Download the ZIP file:
- Click the green "Code" button at the top of this repository
- Select "Download ZIP"
- Extract the ZIP file to a folder on your computer
-
Install in Chrome:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top-right corner
- Click "Load unpacked"
- Select the folder containing the extracted extension files
- Open Chrome and navigate to
# Clone the repository
git clone https://github.com/yourusername/twitter-lingo-blocker.git
# Then install in Chrome as described above- After installation, you'll see the extension icon in your Chrome toolbar
- Click the icon to open the extension popup
- Check the boxes next to languages you want to block
- Settings are saved automatically - no need to click a save button
- Browse Twitter/X - tweets in the selected languages will be hidden automatically
- Your settings will persist between browser sessions and page refreshes
The extension scans tweets on your timeline using Unicode character ranges to detect different languages. When a tweet contains text in one of your blocked languages, the extension hides that tweet.
- Uses MutationObserver to detect and process new tweets as they load
- Language detection via Unicode character ranges
- Settings stored in Chrome's sync storage for persistence across devices
- Automatically applies settings when Twitter/X pages load or refresh
- Compatible with both twitter.com and x.com domains
- Only runs on Twitter/X domains - other websites remain unaffected
This extension:
- Does NOT collect any personal data
- Does NOT send any information to external servers
- All processing happens locally in your browser
- Your language preferences are stored only in your browser's local storage
- Only activates on Twitter/X websites
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Add support for additional languages
- Improve the user interface
MIT License
- Thanks to everyone who contributed to this project!
- Icon created with SVG
