Advanced Privacy and security settings in Shortcuts on iPhone or iPad
Privacy and Security on a Web Page
Once you tap Allow, the shortcut runs on the specified web page. If you run the same shortcut on the same web page again, Shortcuts does not show the prompt again. This permission persists on a per-shortcut, per-web page basis.
If the shortcut is prevented from running, an explanatory error message is displayed.
Allow scripts to run from a shortcut
On your iOS or iPadOS device, go to Settings > Shortcuts > Advanced.
Turn on Allow Running Scripts.
WARNING: Running shortcuts with scripts could cause data loss.