# View Link
Sometimes I want to view the URL of a link whether it be from curiosity, suspicion, to save for later, or any other reason you would ever need to see it for. Often, I can force-touch or long-tap on a link pointing somewhere and a share sheet or menu will appear showing me the URL with a couple actions. Other times, I get nothing. I end up force-touching/long-tapping, copying (if given the option), and then pasting whatever it is into the most accessible text field I can get. Too much work.
With this Shortcut, force-touch or long-tap on a link and share it to this. A menu will appear showing the destination URL and giving you the options of opening the link in Safari or copying it to the clipboard. If the URL had been shortened, this Shortcut will expand it to us original form.
Nouveautés
First release
Ce qu’il fait
15 actions-
CommentSometimes I'll come across a link in an app and I want to know where I'm going to end up if I click on it. I created this to make it easier for me. Enjoy! (Or don't enjoy. I'm not your mom.) 🤷🏻♂️
-
Dictionary
-
URL…
-
Expand URL
-
Choose from Menu…
-
Choose from MenuCopy
-
Copy to Clipboard
-
Choose from MenuOpen in Alook
-
Get Text from Input
-
Replace Text
-
URL…
-
Open URLs
-
Choose from MenuOpen in Safari
-
Open URLs
-
Stop This Shortcut
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#define color darkblue
#define glyph chainlink
// Sometimes I'll come across a link in an app and I want to know where I'm going to end up if I click on it. I created this to make it easier for me. Enjoy! (Or don't enjoy. I'm not your mom.) 🤷🏻♂️
url(ShortcutInput)
expandURL("")
menu {
item "Copy":
setClipboard(nil)
item "Open in Alook":
getText(nil)
replaceText("^(http:\/\/|https:\/\/)?", "alook://", "", false, true)
url()
openURL("")
item "Open in Safari":
openURL("")
}
stop()
Notes et avis
Écrire un avisAucun avis pour le moment. Sois le premier à partager ton avis !