Profiles/Quantumult/Rewrite/Block/YouTubeAds.conf

8 lines
439 B
Plaintext
Raw Normal View History

2021-03-26 02:27:58 +08:00
hostname = *.googlevideo.com,www.youtube.com,s.youtube.com
2020-09-30 11:05:42 +08:00
2021-04-27 12:42:56 +08:00
(^https?:\/\/(?!redirector)[\w-]+\.googlevideo\.com\/((?!dclk_video_ads).)+)(ctier=L)(&.+) url 302 $1$3
^https?:\/\/[\w-]+\.googlevideo\.com\/((?!dclk_video_ads).)+&(oad|ctier) url reject
2021-03-26 02:27:58 +08:00
^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads url reject
^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) url reject
^https?:\/\/\s.youtube.com/api/stats/qoe?.*adformat= url reject