Profiles/Surge/Module/Block/YouTubeAds.sgmodule

10 lines
290 B
Plaintext
Raw Normal View History

2020-09-01 15:48:32 +08:00
#!name=Block YouTube Advertising
2020-10-18 10:57:26 +08:00
#!desc=跳过 YouTube 视频片头广告Premium 勿用。
2020-09-01 15:48:32 +08:00
#!system=ios
[Script]
2020-10-18 10:57:26 +08:00
(^https?:\/\/[\w-]+\.googlevideo\.com\/.+)(ctier=L)(&.+) $1$3 302
^https?:\/\/[\w-]+\.googlevideo\.com\/.+&(oad|ctier) - reject
2020-09-01 15:48:32 +08:00
[MITM]
2020-10-18 10:57:26 +08:00
hostname = %APPEND% *.googlevideo.com