xBlockOrigin provides two key settings to customize how the extension works. Both settings are accessible from the extension popup.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.
Available settings
Show country flags on posts
Default: Disabled (unchecked) When enabled, this setting displays country flag emojis next to usernames on X.com posts, indicating each user’s originating country.This is a visual-only feature that helps you identify users’ countries at a glance. It doesn’t affect muting behavior.
Also mute users you are following
Default: Disabled (unchecked) By default, xBlockOrigin does not mute users you follow on X.com, even if they’re from a blacklisted country. This setting lets you override that protection. When disabled (default):- Users you follow are never muted, regardless of their country
- The extension checks your following status before muting (cached for 5 minutes)
- This protects accounts you’ve chosen to follow from being automatically muted
- Users you follow are muted if they’re from a blacklisted country
- Following status is ignored when making muting decisions
- Only whitelisted users are protected from muting
How settings are stored
Both settings are stored usingchrome.storage.sync, which means:
- They sync across all devices where you’re signed into the same browser account
- They persist even if you close your browser
- Changes take effect immediately across all open tabs
- They’re stored locally and never sent to external servers
Settings in the source code
The settings are defined inpackages/extension/src/Storage/settings.ts with the following structure:
Decision flow with settings
Here’s how xBlockOrigin processes a user with these settings:Following check (if muteFollowing is disabled)
Do you follow this user?
- Yes → Skip muting (done)
- No → Continue
Following status caching
When “Also mute users you are following” is disabled, the extension needs to check your following status for each user. To optimize performance:- Following status is fetched from X.com’s UserByScreenName API
- Results are cached for 5 minutes
- The cache uses the userId as the key
- This reduces API calls and improves browsing speed
Best practices
Keep 'Also mute users you are following' disabled (default)
Keep 'Also mute users you are following' disabled (default)
This prevents accidentally muting accounts you’ve chosen to follow. If you want to see someone’s posts regardless of their country, you probably follow them for a reason.
Use 'Show country flags' sparingly
Use 'Show country flags' sparingly
While helpful for identifying countries, enabling this setting may clutter your timeline. Enable it only if you actively want to see country information.
Combine with whitelist for granular control
Combine with whitelist for granular control
Use the whitelist to protect specific accounts permanently, and let following protection handle the rest automatically.