AdguardTeam / BlockYouTubeAdsShortcut

This repo contains the code for blocking YouTube ads that is supposed to be run by an iOS shortcut
GNU General Public License v3.0
105 stars 7 forks source link

Is automation possible? #4

Closed VGisHere closed 3 years ago

VGisHere commented 3 years ago

I ain’t that familiar with shortcuts and different options that we have but I was trying to run this particular shortcut with automation on condition as follows - On opening safari, if url contains “YouTube” run this shortcut else nothing. I failed at this likely because Im missing some concept here.

The error I got stated, No web page found, cant run shortcut. I tried many things around this, but couldn’t get through. Any ideas?

also, “with AdGuard” seems a bit too long, any shorter version will be appreciated. I changed it to “AG” for convenience in the script 😅

ameshkov commented 3 years ago

Unfortunately, I don't think that's possible. Anyways, if you come up with something viable, please let us know.