Open resolve-short-links in Script Kit
This is useful for removing tracking / other information from URLs before sharing with others.
Many short links embed user / tracking information in the URL on their end.
Every time you share this shortened URL, your information is passed along.
TikTok, for example, uses this to display your username on the page when others view the video you shared.
Additionally, many short links will append query parameters that include tracking information as well, such as Facebook's fbclid
.
This script resolves the short link by sending a HEAD
request to the URL.
Additionally, any unnecessary query parameters are stripped off
The result is a valid URL with the minimum amount of information needed to access the resource
|Site|Input|Resolved & Sanitized| |-|-|-| |Bitly|https://bit.ly/3IBRlRk?fbclid=csGcfbGQWeVOwKtolljwoSVhwcxZsnDungMTiiycUaTyBkgGlErwsLXEpaVOX|https://www.insider.com/private-caribbean-island-for-sale-photos-2022-8| |TikTok|https://www.tiktok.com/t/kZnATxcP/|https://www.tiktok.com/@the_tim_davidson/video/7148742306085063978| |Facebook Watch|https://fb.watch/ZLce_Hif0_/|https://www.facebook.com/watch/?v=752603792999748|