Run shortcut when a certain webpage is opened

Is there a way to do an action when a certain website is opened in safari? I need to turn on vpn when I go on certain websites. I tried some things, but

  1. it only runs one time when I open safari, not every time I go to a website
  2. I didn’t find a way to check for url, got errors like “no url specified”

Not the website itself when you manually type it in safari, but you can create a standalone shortcut that does this for a target URL.

So if you have a url you want to open, you could set this in a shortcut to turn VPN on and then open the url and add the shortcut to your Home Screen so whenever you want that webpage you just tap the icons on your home screen and it open in safari and starts the VPN.

You’d want to check out Surfed

I made a web trigger that should run on certain websites and do a shortcut, that sets my vpn. This worked but every time the web trigger is supposed to work is shows an alert “open this page in shortcuts”, which is annoying :frowning: