ShareShortcuts
Fork “View URL”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so canibeanartist gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
74K
Saved
4
Actions
15
Category
Utilities
Version
1.0
Language
EN

# 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.

What's New

Version 1.0

First release

Version History
1.0 Nov 7, 2018

First release

What it does

15 actions
  1. Comment
    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.) 🤷🏻‍♂️
  2. Dictionary
  3. URL
    …
  4. Expand URL
  5. Choose from Menu
    …
  6. Choose from Menu
    Copy
  7. Copy to Clipboard
  8. Choose from Menu
    Open in Alook
  9. Get Text from Input
  10. Replace Text
  11. URL
    …
  12. Open URLs
  13. Choose from Menu
    Open in Safari
  14. Open URLs
  15. Stop This Shortcut

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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()
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by canibeanartist

See All

You Might Also Like

See All
Advertisement