X/Twitter t.co Stripper

replace t.co links with direct destinations and outline cards on X/Twitter

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

יוצר
Spinfal
התקנות יומיות
1
סה"כ התקנות
7
דירוגים
0 0 0
גרסה
1.1
נוצר
23-11-2025
עודכן
23-11-2025
Size
3.15 קילו-בייט
רישיון
GPL-3.0-or-later
חל על

x/twitter t.co stripper

this userscript removes twitter’s tracking redirects by replacing every t.co link with its real destination. it pulls from multiple attributes like data-expanded-url, aria-label, and even visible text to recover the actual url. once replaced, links are turned green so you know they’ve been cleaned.

the script also highlights twitter “card” preview elements by outlining every [data-testid="card.wrapper"] node. this makes it easy to spot t.co embedded link cards and preview blocks that cannot be cleaned.

features

  • strips t.co tracking links and replaces them with the true destination
  • supports expanded urls, aria labels, and fallback text parsing
  • colors cleaned links for visual feedback
  • highlights impossible-to-clean link cards with a red border
  • extremely fast thanks to a mutation observer (no timers, no polling)
  • avoids reprocessing nodes using tiny data flags for performance

performance

the script never scans the whole page on an interval. instead, it listens for dom changes and only processes newly added nodes, making it lightweight even on twitter’s chaotic infinite-scroll feed.

safety

this script performs zero external requests and only modifies link href and element styles locally in your browser.

author

made by spinfal
https://spin.rip/