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
109 stars 7 forks source link

Add support for youtube-nocookie.com #7

Closed javabean closed 3 years ago

javabean commented 3 years ago

According to Google Support article, YouTube also uses the domain www.youtube-nocookie.com to serve videos (and ads!). We should add support for this domain in https://github.com/AdguardTeam/BlockYouTubeAdsShortcut/blob/2898c2a16fc1da1fb6667f45e0276a56e08cab66/index.js#L133-L146

ameshkov commented 3 years ago

The problem is that this domain is only used for embedding videos, you cannot visit it: https://www.youtube-nocookie.com/watch?v=T7lhGz6Bfik