Codexsha
Index

N° 08 / sha 178e780

Browser Extension / X

PinnedMIT

X Country Withheld Viewer

Browser extension that shows country-withheld public posts and accounts on X in place, drawn by X's own interface like a normal post.

13 stars on GitHub

Group
Apps & extensions
Started
2026
License
MIT
Status
Version 0.1.8 on GitHub Releases as a ZIP and a userscript; not submitted to the Chrome Web Store, and so far run only on Windows.

Overview

When X returns a withheld notice instead of a post, the extension fills the gap from FxTwitter, with x.md as a fallback, before X's code reads the response, so X draws the post with its own components. A recovered post gets a faintly glowing edge and a small eye marker that names the country and the source.

What it does

  1. 01Opens withheld posts, replies, quotes and account profiles where they are
  2. 02Needs no VPN, paid API or extra account
  3. 03Asks for consent on first run; no request is sent until you accept
  4. 04Only post IDs, user IDs and public usernames leave the browser, never X cookies
  5. 05Also runs as a userscript in Tampermonkey or Violentmonkey

How it is built

Three scripts share the work: bridge.js finds the gaps in X's API responses, content.js relays the IDs and adds the markers, and background.js handles the cache, rate limits and the FxTwitter and x.md lookups. The same code is also built as a userscript.

Stack

Chrome Extension / TypeScript / esbuild / Vitest / Playwright