forked from scomper/Surge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
#!name=YouTube | ||
#!desc=跳过片头广告 | ||
#!system=ios | ||
#!desc=YouTube videos removes ads. v20200602.01 | ||
|
||
[Rule] | ||
# 如果您是 YouTube Premium,请不要开启此模块。 | ||
URL-REGEX,^https?:\/\/[\w-]+\.googlevideo\.com\/.+&(oad|ctier),REJECT-TINYGIF | ||
URL-REGEX,https?:\/\/.+.googlevideo.com\/ptracking\?pltype=adhost,REJECT | ||
URL-REGEX,https?:\/\/.+.youtube.com\/api\/stats\/ads,REJECT | ||
URL-REGEX,https?:\/\/.+.youtube.com\/get_midroll_,REJECT | ||
URL-REGEX,https?:\/\/.+.youtube.com\/pagead\/,REJECT | ||
URL-REGEX,https?:\/\/.+.youtube.com\/ptracking\?,REJECT | ||
URL-REGEX,https?:\/\/.+.youtube.com\/_get_ads,REJECT | ||
URL-REGEX,https?:\/\/premiumyva.appspot.com\/vmclickstoadvertisersite,REJECT | ||
URL-REGEX,https?:\/\/s0.2mdn.net\/ads\/,REJECT | ||
URL-REGEX,https?:\/\/stats.tubemogul.com\/stats\/,REJECT | ||
URL-REGEX,https?:\/\/youtubei.googleapis.com\/.+ad_break,REJECT | ||
URL-REGEX,https?:\/\/youtubei.googleapis.com\/youtubei\/.+(ad|log),REJECT | ||
URL-REGEX,https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adformat,REJECT | ||
URL-REGEX,https?:\/\/[\w-]+\.googlevideo\.com\/.+&(oad|ctier),REJECT-TINYGIF | ||
|
||
[MITM] | ||
hostname = %INSERT% *.googlevideo.com | ||
hostname = %APPEND% *.googlevideo.com, *.youtube.com, youtubei.googleapis.com |