Add an action to run JavaScript inside a shortcut
FB12393275 iOS & iPadOS 19/6/23, 23:03:35 CEST (updated 28/9/23, 18:07:47 CEST) Basic Information Which area are you seeing an issue with? Shortcuts What type of feedback are you reporting? Suggestion Details Is this a shortcut issue with Siri or the Shortcuts app? Both What type of shortcut issue are you seeing? Something else not on this list What is the iCloud link to your shortcut? Description Please describe the issue and what steps we can take to reproduce it Shortcuts in iOS needs a scripting solution like the macOS version has AppleScript and shell scripts. Even with sandboxing the possibilities are huge. And it’s almost already there. Currently Shortcuts users can run JavaScript with some serious limitations by converting URLs to Rich Text or Webarchives (see for 20+ examples). But that’s not a real solution. Not only it’s very limited but the tiniest change can break a script (like the one in the submitted as an iCloud link, that works in 16.5 but not in 17 DB1). Please add an action that let’s users run asynchronous JavaScript. I’m sure even macOS users would appreciate having JS too. Messages Antonio Bueno (28/9/23, 18:07:47 CEST) Check what we have to do to run some JavaScript in Shortcuts 😭 New in iOS 17: now we can’t use the “#” character 🤪
