iOS URL scheme for disabling Shortcuts notifications

Did you know there's a prefs: URL1 that takes you the notifications settings for Shortcuts app on iOS, except that it only works some of the time? Fortunately there's a way to make it work every time.

Since the URL goes to the Shortcuts notifications settings via Screen Time settings and these pages aren't static, you need to let the content finish loading before moving on to the next path segment.

The solution is to open each segment separately with a 1 second pause between, like this:

Open  prefs:root=SCREEN_TIME
Wait 1 second
Open  prefs:root=SCREEN_TIME&path=SCREEN_TIME_SUMMARY
Wait 1 second
Open  prefs:root=SCREEN_TIME&path=SCREEN_TIME_SUMMARY/com.apple.shortcuts

Only works if there were any notifications in the last 7 days, though, but you can just run a Shortcut that shows a notification and the above URLs will work after a few seconds.

Note 1: for this URL to work to begin with, you need to have App & Website Activity turned on in Settings > Screen Time.

Note 2: notfications for Shortcuts app get enabled again every time you restart your device

You can download a shortcut with the above actions here.

1 "List of app URL schemes including detailed paths"—reddit.com