replace t.co links with direct destinations and outline cards on X/Twitter
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.
t.co tracking links and replaces them with the true destinationthe 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.
this script performs zero external requests and only modifies link href and element styles locally in your browser.
made by spinfal
https://spin.rip/