In the Shortcuts app Library , tap Create Shortcut.
Add any other actions you want to include in the shortcut.
Tap to open Settings, then turn on Show in Share Sheet.
A new row labeled “Accepted Types” appears. To ensure that the shortcut appears only in Safari, deselect all input types except “Safari webpages.”
For more information, see About input types in an Action Extension shortcut.
Tap Done to return to the shortcut editor, then tap Done again to save the shortcut to your Library.
In Safari, tap .
In the bottom row (the monochrome buttons), tap Shortcuts.
If the Shortcuts button is not immediately visible, swipe left.
Note: You can also run the shortcut in SFSafariViewController.