Twitter Region Viewer
View on Chrome Web StoreChrome will indicate if you already have this installed.
Overview
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.
Tags
Privacy Practices
🔐 Security Analysis
⏳ Security scan is queued. Check back soon.