_executeJS
DescriptionLatest Release NotesFeedbackThere's a cool pattern I've seen in other shortcuts to offload more complex operations to javascript. It works by essentially making a simple webpage to run js code that does stuff, then outputs the result as text on the main document. The page source is base64 encoded to a URL in shortcuts, which can then be executed, and the contents retrieved as plain text.I wrapped this functionality in a little utility shortcut.Example:Here's a shortcut that makes use