X-Posed: Account Location & Device Info

See where X users are located and what devices they use. Country flags & device icons next to every username. Optional geo-blocking.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.5.1 2025-11-26

    ### v1.5.1 - Multi-Language Support Fix
    - **FIXED: Language Support**: Block Countries menu now appears in all language versions
    - **Improved Navigation Detection**: Uses language-agnostic selectors to find sidebar navigation
    - **Better Logging**: Added console messages for easier debugging of sidebar injection

    ### v1.5.0 - VPN/Proxy Detection & Performance
    - **NEW: VPN/Proxy Indicator** 🔒: See when users may be masking their location
    - **Smart Detection**: Uses X's `location_accurate` field to identify VPN/proxy usage
    - **Extended Cache**: Increased from 24 to 48 hours to reduce API calls
    - **Better Debugging**: Enhanced debug() function shows cache stats, rate limits, and active requests
    - **API Request Logging**: See exactly when API calls are made in console
    - **Cache Persistence**: Cache survives extension reloads (stored in localStorage)

    ### v1.4.0 - Geo-Blocking Feature
    - **Geo-Blocking**: Block tweets from specific countries if desired
    - **Native UI**: Beautiful modal matching X's design system (dark theme, animations, search)
    - **Better Device Detection**: iPad now correctly shows as desktop 💻; improved fallback logic
    - **Shield Icon**: Professional shield icon for the blocker feature
    - **Performance**: Optimized to prevent duplicate API calls and respect rate limits
    - **Zero Rate Limits**: Cache-only operations when toggling blocks

    ### v1.3.0
    - **Windows Support**: Added automatic Twemoji image replacement for Windows users, fixing the "missing flag" issue on Chrome/Edge/Brave.
    - **Profile Header Support**: Now correctly displays flags in user profile headers (even for unverified accounts).
    - **Bug Fixes**: Fixed an issue where flags would only appear on the first tweet of a user and not subsequent ones.
    - **Performance**: Optimized DOM scanning to be much lighter on CPU by only processing new nodes.
    - **Accuracy**: Removed misleading fallback that showed your own device type when data was missing.

    ### v1.2.0
    - **Dual Mode**: Now available as both a standalone Browser Extension (Chrome/Firefox) and a Userscript.

  • v1.2.0 2025-11-24