3 ms·
Yes, that's the browser extension that I was referring to when I said I'd rather do it (for all devices) via DNS. 1. Resolve shorterners to unshort.link se
by OJFord 7y ago
Yes, that's the browser extension that I was referring to when I said I'd rather do it (for all devices) via DNS.
1. Resolve shorterners to unshort.link server
2. Use `Host` header and path to redirect to unshortened page
- l1am0 7y agoWould be awesome if you build something like that! You can get the currently to unshort.link known short link providers in a nice json format from https://unshort.link/providers https://unshort.link/providers Maybe you can run a cronjob setting that urls in some firewall file or so. You can get the redirect info from unshort link also via its api without redirecting, just replace /d/ with /api/ in the GET request: e.g. https://unshort.link/api/https://tinyurl.com/unshortchromeextension https://unshort.link/api/https://tinyurl.com/unshortchromeex... If you build an DNS solution, please do not forget to add the documentation on how to do it via a pull request to the unshort.link repo, so everyone could profit from it