How to run a Shortcut from a web page in iOS I am trying to use the Shortcuts feature of iOS.
I want to run some simple JavaScript on a web page.
I made a new Shortcut, added &quot;Run JavaScript on Web Page&quot;.
The contents of the JavaScript are
alert(&quot;hello world&quot;);
completion();

I named the shortcut &quot;do hello world&quot;.
Now how do I trigger this to run on a web page?
I've googled and it seems that I should be able to click on the &quot;export&quot; button in Safari and run the shortcut from the panel that appears, but I do not see my shortcut in that list.
I needed to do 2 things,

Choose &quot;Shortcut Input&quot; as the value for &quot;Run Javascript on&quot;
Click the 3 dots on the top right and enable &quot;Show in Share Sheet&quot;

Also the alert causes it to timeout, no problem. It was just a test.