Profiles/Quantumult/Rewrite/Block/YouTubeAds.conf

9 lines
454 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-08-19 16:24:54 +08:00
(^https?:\/\/(?!redirector)[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+)(ctier=L)(&.+) url 302 $1$4
^https?:\/\/[\w-]+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+(&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
2021-05-16 14:33:56 +08:00
^https?:\/\/\s.youtube.com/api/stats/qoe?.*adformat= url reject