X (Twitter) - Add Country Flags to Posts

By hhg · 7 months ago · 50+ installs

This tweek adds a country flag emoji next to user handles in X posts when a matching location is available. Flags are based on the location shown for that account.

Key Highlights

  • Adds flag emojis next to handles in X and Twitter posts
  • Uses the account's listed location to choose a matching flag
  • Shows flags inline in the post feed beside the handle
  • Applies to newly loaded posts as you browse

Details

This tweek adds country flag emojis next to user handles in posts on X and Twitter. When an account has a recognizable location, the handle in the post gets a matching flag so you can identify the country at a glance.

Flags appear directly beside the handle in the post feed and continue to be added as more posts load on the page. If a listed location does not match a supported place name, no flag is shown.

Runs on

2 sites

x.comtwitter.com

Developer

Tweek Code

267 lines ·

Related topics: x country flags, twitter handle flags, x post handle location flag, country flag emoji on x

More for X

Other modifications for the same site

X.com - Quick "Not Interested" Button
x.com

X.com - Quick "Not Interested" Button

Adds an X button next to share and bookmark buttons on X.com posts to quickly click "Not interested in this post"

View
X.com - Display Follower Count in Posts
x.com

X.com - Display Follower Count in Posts

Extracts follower count from hover overlays and displays it between username and post time

View
Universal AI Slop Finder
x.com

Universal AI Slop Finder

Detects likely AI-written comments and replies on X, Reddit, and YouTube using heuristics inspired by common AI writing patterns. Highlights suspicious comments with scored badges, inline visual marking, sensitivity controls, and live rescanning for dynamic feeds and comment threads. Useful for spotting ChatGPT-style writing, LLM slop, overly polished bot comments, synthetic engagement, and other machine-generated social content.

View
AI Slop Finder for X/Twitter
x.com

AI Slop Finder for X/Twitter

Detects likely AI-written replies, quote-post commentary, and thread responses on X using heuristics inspired by common AI writing patterns. Highlights suspicious X comments with scored badges, inline visual marking, sensitivity controls, and live rescanning for timelines, post pages, and dynamic threads. Useful for spotting ChatGPT-style writing, LLM slop, synthetic engagement, reply bots, and machine-generated social content directly on x.com and twitter.com.

View
Retheme X to Twitter
x.com

Retheme X to Twitter

Replace X logo with Twitter bird, remove all Grok elements, and restore Twitter branding

View
X (Twitter) Feed Personalization Panel
x.com

X (Twitter) Feed Personalization Panel

Add a Feed Personalization panel to filter posts by time, hide ads, and filter by engagement metrics - works on both main feed and individual posts!

View