From 56c1452665f41d0b15c5021104a58d2fa7bc2d79 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Thu, 9 Jul 2020 19:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Global.conf | 5 ++++- Quantumult/Rewrite/Unlock/README.md | 1 + Quantumult/Rewrite/{ => Unlock}/Resso.conf | 0 .../Rewrite/{TikTok.conf => Unlock/TikTokJP.conf} | 0 Quantumult/Rewrite/Unlock/TikTokKR.conf | 6 ++++++ Quantumult/Rewrite/Unlock/TikTokTW.conf | 6 ++++++ Quantumult/Rewrite/Unlock/TikTokUS.conf | 6 ++++++ .../Advertising.sgmodule} | 0 .../SoftwareUpdate.sgmodule} | 2 +- .../YouTubeAds.sgmodule} | 4 ++-- Surge/Module/Unlock/README.md | 1 + Surge/Module/{ => Unlock}/Resso.sgmodule | 0 .../{TikTok.sgmodule => Unlock/TikTokJP.sgmodule} | 0 Surge/Module/Unlock/TikTokKR.sgmodule | 11 +++++++++++ Surge/Module/Unlock/TikTokTW.sgmodule | 11 +++++++++++ Surge/Module/Unlock/TikTokUS.sgmodule | 11 +++++++++++ 16 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 Quantumult/Rewrite/Unlock/README.md rename Quantumult/Rewrite/{ => Unlock}/Resso.conf (100%) rename Quantumult/Rewrite/{TikTok.conf => Unlock/TikTokJP.conf} (100%) create mode 100644 Quantumult/Rewrite/Unlock/TikTokKR.conf create mode 100644 Quantumult/Rewrite/Unlock/TikTokTW.conf create mode 100644 Quantumult/Rewrite/Unlock/TikTokUS.conf rename Surge/Module/{Block-Ads.sgmodule => Block/Advertising.sgmodule} (100%) rename Surge/Module/{Block-iOS-Update.sgmodule => Block/SoftwareUpdate.sgmodule} (71%) rename Surge/Module/{Block-YouTube-Ads.sgmodule => Block/YouTubeAds.sgmodule} (58%) create mode 100644 Surge/Module/Unlock/README.md rename Surge/Module/{ => Unlock}/Resso.sgmodule (100%) rename Surge/Module/{TikTok.sgmodule => Unlock/TikTokJP.sgmodule} (100%) create mode 100644 Surge/Module/Unlock/TikTokKR.sgmodule create mode 100644 Surge/Module/Unlock/TikTokTW.sgmodule create mode 100644 Surge/Module/Unlock/TikTokUS.sgmodule diff --git a/Quantumult/Global.conf b/Quantumult/Global.conf index 2b27249..a3601ae 100644 --- a/Quantumult/Global.conf +++ b/Quantumult/Global.conf @@ -149,7 +149,10 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrit https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/YouTube.conf, tag=🛡, enabled=false # TikTok -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/TikTok.conf, tag=🔓TikTok, enabled=false +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokJP.conf, tag=🔓TikTokJP(多选一不可共用), enabled=false +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokKR.conf, tag=🔓TikTokKR(多选一不可共用), enabled=false +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokTW.conf, tag=🔓TikTokTW(多选一不可共用), enabled=false +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokUS.conf, tag=🔓TikTokUS(多选一不可共用), enabled=false # Resso https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Resso.conf, tag=🔓Resso, enabled=false diff --git a/Quantumult/Rewrite/Unlock/README.md b/Quantumult/Rewrite/Unlock/README.md new file mode 100644 index 0000000..9c22253 --- /dev/null +++ b/Quantumult/Rewrite/Unlock/README.md @@ -0,0 +1 @@ +⚠️ 注意:TikTok 区域解锁重写一次只可启用一个,不可多个地区同时使用。 \ No newline at end of file diff --git a/Quantumult/Rewrite/Resso.conf b/Quantumult/Rewrite/Unlock/Resso.conf similarity index 100% rename from Quantumult/Rewrite/Resso.conf rename to Quantumult/Rewrite/Unlock/Resso.conf diff --git a/Quantumult/Rewrite/TikTok.conf b/Quantumult/Rewrite/Unlock/TikTokJP.conf similarity index 100% rename from Quantumult/Rewrite/TikTok.conf rename to Quantumult/Rewrite/Unlock/TikTokJP.conf diff --git a/Quantumult/Rewrite/Unlock/TikTokKR.conf b/Quantumult/Rewrite/Unlock/TikTokKR.conf new file mode 100644 index 0000000..b61b0cb --- /dev/null +++ b/Quantumult/Rewrite/Unlock/TikTokKR.conf @@ -0,0 +1,6 @@ +hostname = *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com + +# TikTok By wzw1997007 & Choler +(?<=_region=)CN(?=&) url 307 KR +(?<=&app_version=)16..(?=.?.?&) url 307 1 +(?<=\?version_code=)16..(?=.?.?&) url 307 1 \ No newline at end of file diff --git a/Quantumult/Rewrite/Unlock/TikTokTW.conf b/Quantumult/Rewrite/Unlock/TikTokTW.conf new file mode 100644 index 0000000..453ce22 --- /dev/null +++ b/Quantumult/Rewrite/Unlock/TikTokTW.conf @@ -0,0 +1,6 @@ +hostname = *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com + +# TikTok By wzw1997007 & Choler +(?<=_region=)CN(?=&) url 307 TW +(?<=&app_version=)16..(?=.?.?&) url 307 1 +(?<=\?version_code=)16..(?=.?.?&) url 307 1 \ No newline at end of file diff --git a/Quantumult/Rewrite/Unlock/TikTokUS.conf b/Quantumult/Rewrite/Unlock/TikTokUS.conf new file mode 100644 index 0000000..0f7c03e --- /dev/null +++ b/Quantumult/Rewrite/Unlock/TikTokUS.conf @@ -0,0 +1,6 @@ +hostname = *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com + +# TikTok By wzw1997007 & Choler +(?<=_region=)CN(?=&) url 307 US +(?<=&app_version=)16..(?=.?.?&) url 307 1 +(?<=\?version_code=)16..(?=.?.?&) url 307 1 \ No newline at end of file diff --git a/Surge/Module/Block-Ads.sgmodule b/Surge/Module/Block/Advertising.sgmodule similarity index 100% rename from Surge/Module/Block-Ads.sgmodule rename to Surge/Module/Block/Advertising.sgmodule diff --git a/Surge/Module/Block-iOS-Update.sgmodule b/Surge/Module/Block/SoftwareUpdate.sgmodule similarity index 71% rename from Surge/Module/Block-iOS-Update.sgmodule rename to Surge/Module/Block/SoftwareUpdate.sgmodule index f94858d..c803270 100644 --- a/Surge/Module/Block-iOS-Update.sgmodule +++ b/Surge/Module/Block/SoftwareUpdate.sgmodule @@ -1,4 +1,4 @@ -#!name=Block iOS Update +#!name=Block iOS Software Update #!desc=屏蔽 iOS 系统更新 #!system=ios diff --git a/Surge/Module/Block-YouTube-Ads.sgmodule b/Surge/Module/Block/YouTubeAds.sgmodule similarity index 58% rename from Surge/Module/Block-YouTube-Ads.sgmodule rename to Surge/Module/Block/YouTubeAds.sgmodule index e7ba507..f6219ad 100644 --- a/Surge/Module/Block-YouTube-Ads.sgmodule +++ b/Surge/Module/Block/YouTubeAds.sgmodule @@ -1,10 +1,10 @@ -#!name=YouTube Advertising Block +#!name=YouTube Advertising #!desc=跳过 YouTube 视频片头广告,YouTube Premium 勿使用否则遇片头广告卡黑屏。 #!system=ios [Script] # > By Choler -http-request ^https://[\s\S]*\.googlevideo\.com/.*&(oad|ctier) script-path=https://Choler.github.io/Surge/Script/YouTube.js +http-request ^https://[\s\S]*\.googlevideo\.com/.*&(oad|ctier) script-path=https://raw.githubusercontent.com/Choler/Surge/master/Script/YouTube.js [MITM] hostname = %APPEND% *.googlevideo.com \ No newline at end of file diff --git a/Surge/Module/Unlock/README.md b/Surge/Module/Unlock/README.md new file mode 100644 index 0000000..d976e43 --- /dev/null +++ b/Surge/Module/Unlock/README.md @@ -0,0 +1 @@ +⚠️ 注意:TikTok 区域解锁模块一次只可启用一个,不可多个地区同时使用。 \ No newline at end of file diff --git a/Surge/Module/Resso.sgmodule b/Surge/Module/Unlock/Resso.sgmodule similarity index 100% rename from Surge/Module/Resso.sgmodule rename to Surge/Module/Unlock/Resso.sgmodule diff --git a/Surge/Module/TikTok.sgmodule b/Surge/Module/Unlock/TikTokJP.sgmodule similarity index 100% rename from Surge/Module/TikTok.sgmodule rename to Surge/Module/Unlock/TikTokJP.sgmodule diff --git a/Surge/Module/Unlock/TikTokKR.sgmodule b/Surge/Module/Unlock/TikTokKR.sgmodule new file mode 100644 index 0000000..a09e143 --- /dev/null +++ b/Surge/Module/Unlock/TikTokKR.sgmodule @@ -0,0 +1,11 @@ +#!name=TikTok +#!desc=Unlock TikTok By wzw1997007 +#!system=ios + +[URL Rewrite] +(?<=_region=)CN(?=&) KR 307 +(?<=&app_version=)16..(?=.?.?&) 1 307 +(?<=\?version_code=)16..(?=.?.?&) 1 307 + +[MITM] +hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com \ No newline at end of file diff --git a/Surge/Module/Unlock/TikTokTW.sgmodule b/Surge/Module/Unlock/TikTokTW.sgmodule new file mode 100644 index 0000000..3e47576 --- /dev/null +++ b/Surge/Module/Unlock/TikTokTW.sgmodule @@ -0,0 +1,11 @@ +#!name=TikTok +#!desc=Unlock TikTok By wzw1997007 +#!system=ios + +[URL Rewrite] +(?<=_region=)CN(?=&) TW 307 +(?<=&app_version=)16..(?=.?.?&) 1 307 +(?<=\?version_code=)16..(?=.?.?&) 1 307 + +[MITM] +hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com \ No newline at end of file diff --git a/Surge/Module/Unlock/TikTokUS.sgmodule b/Surge/Module/Unlock/TikTokUS.sgmodule new file mode 100644 index 0000000..ec4b549 --- /dev/null +++ b/Surge/Module/Unlock/TikTokUS.sgmodule @@ -0,0 +1,11 @@ +#!name=TikTok +#!desc=Unlock TikTok By wzw1997007 +#!system=ios + +[URL Rewrite] +(?<=_region=)CN(?=&) US 307 +(?<=&app_version=)16..(?=.?.?&) 1 307 +(?<=\?version_code=)16..(?=.?.?&) 1 307 + +[MITM] +hostname = %INSERT% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com \ No newline at end of file