The country blacklist is the core feature of xBlockOrigin. When you add a country to your blacklist, the extension automatically mutes all users from that country and hides their posts with a blurred overlay.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chefnaphtha/xBlockOrigin/llms.txt
Use this file to discover all available pages before exploring further.
How it works
When you browse X.com, xBlockOrigin:- Scans pages for user profiles (timeline, search, profiles, post detail pages, notifications)
- Queries X.com’s AboutAccountQuery API to get each user’s originating country
- Checks if the country is in your blacklist
- Immediately overlays posts from blacklisted users with a 50% opacity background and 8px blur
- Automatically mutes the user via X.com’s API
Country detection is based on X.com’s geolocation data, which is updated every 30 days according to X.
Adding countries to your blacklist
Open the extension popup
Click the xBlockOrigin icon in your browser toolbar to open the popup interface.
Enter a country name
In the “Country Blacklist” section, type the full country name in the input field (e.g., “United States”, “Antarctica”, “Brazil”).
Removing countries from your blacklist
To remove a country from your blacklist:- Open the extension popup
- Find the country tag in the “Country Blacklist” section
- Click the × button next to the country name
Removing a country from your blacklist does not automatically unmute users from that country. Users who were already muted will remain muted on X.com unless you manually unmute them.
Blacklist storage
Your country blacklist is stored usingchrome.storage.sync, which means:
- It syncs across all your devices where you’re signed into the same browser account
- It persists even if you close your browser
- It’s stored locally and never sent to external servers
What happens after adding a country
Once you add a country to your blacklist:- Immediate effect: The extension starts scanning for users from that country as you browse X.com
- Post hiding: Posts from users in that country are hidden with a blurred overlay that adapts to your X.com theme (light, dim, or lights-out)
- Automatic muting: Users are muted via X.com’s API when first encountered
- Database tracking: Muted users are saved to a local database with their username, country, and mute timestamp
- Toast notifications: A notification appears when a user is muted
The extension uses persistent caching (24-hour TTL for country data) to minimize API requests and improve performance.