mirror of
https://github.com/DivineEngine/Profiles.git
synced 2025-01-23 13:59:01 +08:00
14 lines
725 B
Plaintext
14 lines
725 B
Plaintext
#!name=Block YouTube(<=16.43.2) Advertising
|
|
#!desc=仅用于视频广告,不适用允许 UDP 转发的节点及 Premium
|
|
|
|
[URL Rewrite]
|
|
(^https?:\/\/[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+?)&ctier=L(&.+?),ctier,(.+) $1$2$3 header
|
|
^https?:\/\/[\w-]+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+&oad - reject
|
|
|
|
^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v\d\/player\/ad_break - reject
|
|
^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads - reject
|
|
^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) - reject
|
|
^https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adcontext - reject
|
|
|
|
[MITM]
|
|
hostname = %APPEND% -redirector*.googlevideo.com,*.googlevideo.com,www.youtube.com,s.youtube.com,youtubei.googleapis.com |