Twitter Region Viewer icon

Twitter Region Viewer

by JustMesut

v1.2 Updated Nov 27, 2025 13.38KiB
CWS
8
Users
β˜… 5.00
1 reviews
#107155
of 172.6K
functionality
#3624 of 6.4K

Description

A Chrome extension that reveals the "Account based in" and "Connected via" information for Twitter/X users directly on their posts. it's an open source extension you can see the source code here: https://github.com/masooddalman/Twitter-Region-Viewer Features: - Region Detection: Displays the country where the account is based (e.g., "United States πŸ‡ΊπŸ‡Έ"). - Connection Info: Shows the platform used to connect (e.g., "Android πŸ€–", "iPhone 🍎", "Web 🌐"). - Verification Status: Displays a green circle 🟒 if the account has a specific verified status icon (excluding generic info icons). - Hover Details: Hover over the region info to see a detailed tooltip with the full text (e.g., "USERNAME account based in COUNTRY (With VPN) Connecting via PLATFORM"). - Data Refresh: Includes a refresh button (πŸ”„) to re-fetch and update the region data if it has changed. - Rate Limit Protection: Uses a "Click-to-Load" (🌍) mechanism to prevent Twitter from blocking your browser due to excessive requests. - Caching: Saves fetched data locally so you don't have to reload it for the same user twice. How It Works - Activation: The extension runs on twitter.com and x.com. - UI Injection: It injects a small globe icon (🌍) next to user names on your feed. - Data Fetching: When you click the icon, the extension loads the user's /about page in a hidden, sandboxed iframe. - Bypassing Restrictions: It uses declarativeNetRequest rules to strip X-Frame-Options and Content-Security-Policy headers, allowing the iframe to load successfully. - Parsing: It parses the DOM of the hidden iframe to extract specific region and connection data. - Display: The extracted data is formatted with emojis and displayed next to the user's name.
Twitter Region Viewer screenshot 1

Reviews

Loading reviews...

Permissions (2)

Permissions

declarativeNetRequestβ„Ή Can block or redirect network requests storageβ„Ή Can store data locally in your browser

Details

Version 1.2
Updated Nov 27, 2025
Size 13.38KiB
First Seen Mar 26, 2026