Unshortcut links on twitter.com

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

2023-08-19 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
itsnotlupus
باھا نومۇرى
0 0 0
نەشرى
1.0
قۇرۇلغان ۋاقتى
2023-08-19
يېڭىلانغان ۋاقتى
2023-08-19
Size
1.3 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

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.