# 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.
Nyheder
First release
Hvad den gør
15 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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()
Bedømmelser og anmeldelser
Skriv en anmeldelseIngen anmeldelser endnu. Vær den første!