forked from SukkaW/Surge
-
Notifications
You must be signed in to change notification settings - Fork 2
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
14 changed files
with
74 additions
and
17 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
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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!name=Youtube (Music) Enhance | ||
#!desc=适用于 Youtube & Youtube Music (IOS >= 15) | ||
|
||
# > Feature | ||
# - 删除 Youtube (Music) 广告 | ||
# - 删除 Youtube 底部 上传 按钮 & Youtube Music 底部选段、升级按钮 | ||
# + 增加 Youtube 画中画(PIP) | ||
# + 增加 Youtube 字幕翻译 (Thanks @VirgilClyne) | ||
# + 增加 Youtube (Music) 后台播放 | ||
# + 增加 Youtube Music 歌词翻译 | ||
|
||
# > Note | ||
# Youtube 画中画和后台播放分别在客户端内关闭 | ||
# - 设置 -> 通用 -> 画中画 | ||
# - 设置 -> 后台播放和下载 -> 后台播放 | ||
# 该模块已足够全面,无需其他规则混用,防止重写规则被破坏 | ||
# 不支持 Mock 的客户端可以用 reject-200/reject-img 替代 | ||
|
||
# > Credit | ||
# @Choler & @DivineEngine & @app2smile | ||
|
||
[Rule] | ||
AND,((DOMAIN-SUFFIX,googlevideo.com), (PROTOCOL,UDP)),REJECT-NO-DROP | ||
|
||
[Script] | ||
youtube.request = type=http-request,pattern=^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence),requires-body=1,max-size=-1,binary-body-mode=1,script-path=https://fleet.fylsen.com/Script/youtube.request.beta.js | ||
youtube.response = type=http-response,pattern=^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting),requires-body=1,max-size=-1,binary-body-mode=1,script-path=https://fleet.fylsen.com/Script/youtube.response.beta.js | ||
|
||
[URL Rewrite] | ||
(^https?:\/\/[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+?)&ctier=L(&.+?),ctier,(.+) url 302 | ||
|
||
[Map Local] | ||
^https?:\/\/[\w-]+\.googlevideo\.com\/initplayback.+&oad data="https://fleet.fylsen.com/Mock/reject-200" | ||
|
||
[MITM] | ||
hostname = %APPEND% *.googlevideo.com, youtubei.googleapis.com |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
szshort.weixin.qq.com | ||
szextshort.weixin.qq.com | ||
szminorshort.weixin.qq.com | ||
mp.weixin.qq.com |
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