Unshortcut links on twitter.com

replace musky t.co links with actual links to actual web sites

As of 2023-08-19. See the latest version.

Author
itsnotlupus
Ratings
0 0 0
Version
1.0
Created
2023-08-19
Updated
2023-08-19
Size
1.29 KB
License
MIT
Applies to

This small* script intercepts every GraphQL query on twitter.com and replaces all `t.co/` URLs in the response payloads with actual links to actual web sites.

That means any external link you see on twitter will point directly to the correct URL rather than being hidden being Twitter's t.co redirector.

The result is more visually pleasing.
It also robs Elon Musk of the ability to slow down access to sites he dislikes when linked from Twitter.

Which sounds ridiculous, but it's a real thing he was caught doing, because of course he was.


*: The bulk of the code is @require'd from my MiddleMan library, which I wrote because I needed it for this script, but has use cases that can go quite a bit further.