Created
May 20, 2022 13:57
-
-
Save oliveratgithub/b2557596887d9889268c978e84f37217 to your computer and use it in GitHub Desktop.
Decode outlook.com safelinks protection URLs using a Webbrowser bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:link=window.prompt("Enter URL (eur02.safelinks.protection.outlook.com/...)");for(url_parts=link.split("?")[1],params=url_parts.split("&"),x=0;x<params.length;x++)namval=params[x].split("="),"url"==namval[0]&&(target_url=namval[1]);decode_url=decodeURIComponent(target_url);navigator.clipboard.writeText(decode_url);window.location.href=decode_url; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment