# xflags

> Shows country flags next to X (Twitter) usernames based on account location data.

Canonical page: [https://chrome-stats.com/d/xflags](https://chrome-stats.com/d/xflags)

## Overview

- **ID:** `xflags`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** bitlamas
- **Category:** feeds-news-blogging,appearance
- **Daily users:** 5
- **Version:** 1.1.0
- **Last updated:** 2026-01-25
- **First published:** 2025-11-29
- **Size:** 228 KB
- **Data as of:** 2026-09-06
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/xflags/)

## Description

This extension uses the country location now publicly available on X to add a country flag in the same style found on 4chan's /int/ and /pol/ boards. See the screenshot for an example of how it looks like.

It also features a VPN indicator for accounts with inaccurate location data; and a built-in console tab to track fetches, rate limiting status, etc

xflags uses X's internal API AboutAccountQuery GraphQL endpoint to retrieve user location data, then cache that for 30 days (configurable) to minimize API usage and avoid rate limiting. It uses smart caching to avoid redundant API calls, request queuing to process usernames sequentially and has a 5-minute cooldown after receiving a rate limit 429 error.

Source available at <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/b44b0b351d86cd8f5f9149a2aa95e264aa211367a67f16824720f7240bad8460/https%3A//github.com/bitlamas/xflags" rel="nofollow">https://github.com/bitlamas/xflags</a>.

## Rankings

- #45,168 — Overall
- #154 — flag

## Permissions and access

### Permissions

- `storage`

### Host permissions

- `https://x.com/*`
- `https://twitter.com/*`

### Content script matches

- `x.com`
- `twitter.com`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Injects scripts into web pages, which may alter or extract site contents, resulting in a substantial risk.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Location Flags for X (Twitter)](https://chrome-stats.com/d/location-flags-for-x-twitter) — 9 users
- [X Country Flag Extension](https://chrome-stats.com/d/x-country-flag-extension) — 1 users
- [flagX - country flags for X (twitter)](https://chrome-stats.com/d/flagx-country-flags-for-x) — 1 users
- [Twitter Flags](https://chrome-stats.com/d/twitter-flags-extension) — 1 users
- [X/Twitter Location Flags, Time & Blocker](https://chrome-stats.com/d/x-twitter-flags-blocker) — 330 users, 4.67 / 5
- [Twitch Flags](https://chrome-stats.com/d/twitch-flags) — 1 users
- [X - Geo Filter PRO](https://chrome-stats.com/d/x-geo-filter-pro) — 9 users
- [X CountryBadge](https://chrome-stats.com/d/x-countrybadge) — 72 users, 5.00 / 5
- [Geo Flags](https://chrome-stats.com/d/geoflags) — 2 users
- [Yet another flags](https://chrome-stats.com/d/yet-another-flags) — 39 users, 5.00 / 5
- [Flagged X](https://chrome-stats.com/d/flagged-x) — 11 users
- [X-Posed: Account Location & Device Info](https://chrome-stats.com/d/x-posed-account-location-devic) — 1,241 users, 4.11 / 5

---

Source: [Chrome-Stats](https://chrome-stats.com/d/xflags)
