GitHub-userscripts icon indicating copy to clipboard operation
GitHub-userscripts copied to clipboard

Reverse t.co search

Open Bluscream opened this issue 5 years ago • 2 comments

Hey, whenever I look through my traffic stats I find a few t.co links that I want know about [1] After searching for how to reverse lookup a t.co link I found this stackoverflow answer which suggests a google search. I tried it and got an actual result [2] That seems promising enough that it could be possible to make a userscript for that so basically whenever you're on the Domains / t.co tab in traffic stats it should add a link with https://www.google.com/search?q=site%3Atwitter.com+<resolved url from t.co link> to each entry. It would be great if someone here could realize this and maybe it will be expanded to more shorteners in the future :)

1 2

Bluscream avatar Feb 09 '19 16:02 Bluscream

Hi @Bluscream!

Hmm, it should be possible. I found a URL Shortener Unshortener userscript that would resolve the url, but then an extra step of changing (or adding) a reverse google search would need to be done.

Ideally, the script would also perform the google search and return the top match. Sadly, I'm really short on free time now :(... and I question how useful a script like this would be - I mean how often it would be used to warrant writing the script.

Mottie avatar Feb 12 '19 02:02 Mottie

Thanks for your response, im not in a hurry. Its more of a "nice to have" ^^

Bluscream avatar Feb 12 '19 03:02 Bluscream