mirror of https://github.com/lhie1/Rules.git
Update
parent
303e5b640a
commit
ce000e289a
@ -0,0 +1,19 @@
|
||||
#!name=Bilibili
|
||||
#!desc=Bilibili app removes ads.
|
||||
#!system=ios
|
||||
|
||||
[Rule]
|
||||
URL-REGEX,https://app.bilibili.com/x/v2/(splash|search/(defaultword|square)),REJECT
|
||||
URL-REGEX,https://api.bilibili.com/x/v2/dm/ad,REJECT
|
||||
|
||||
[Script]
|
||||
bilibili space = type=http-response,requires-body=1,max-size=0,pattern=https://app.bilibili.com/x/v2/space\?access_key,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20space.js
|
||||
bilibili tab = type=http-response,requires-body=1,max-size=0,pattern=https://app.bilibili.com/x/resource/show/tab\?access_key,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20tab.js
|
||||
bilibili feed = type=http-response,requires-body=1,max-size=0,pattern=https://app.bilibili.com/x/v2/feed/index\?access_key,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20feed.js
|
||||
bilibili account = type=http-response,requires-body=1,max-size=0,pattern=https://app.bilibili.com/x/v2/account/mine\?access_key,debug=1,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20account.js
|
||||
bilibili view = type=http-response,requires-body=1,max-size=0,pattern=https://app.bilibili.com/x/v2/view\?access_key,debug=1,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20view%20relate.js
|
||||
bilibili reply = type=http-response,requires-body=1,max-size=0,pattern=https://api.bilibili.com/x/v2/reply/main\?access_key,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20reply.js
|
||||
bilibili live = type=http-response,requires-body=1,max-size=0,pattern=https://api.live.bilibili.com/xlive/app-room/v1/index/getInfoByRoom\?access_key,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20live.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% www.bilibili.com, api.bilibili.com, app.bilibili.com, api.live.bilibili.com
|
@ -1,10 +1,10 @@
|
||||
#!name=Bilibili
|
||||
#!name=Bilibili DailyBonus
|
||||
#!desc=When Bilibili Manga app is opened, click "My", If notification gets cookie success, you can use the check in script. because script will automatically judgment whether the cookie is updated, so you dont need to disable it manually.
|
||||
#!system=ios
|
||||
|
||||
[Script]
|
||||
Manga.js = type=http-request,pattern=https:\/\/manga\.bilibili\.com\/.*\.User\/GetWallet,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Bilibili-DailyBonus/Manga.js
|
||||
Manga.js = type=cron,cronexp="9 0 * * *",script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Bilibili-DailyBonus/Manga.js
|
||||
Manga = type=http-request,pattern=https:\/\/manga\.bilibili\.com\/.*\.User\/GetWallet,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Bilibili-DailyBonus/Manga.js
|
||||
Manga = type=cron,cronexp="9 0 * * *",script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Bilibili-DailyBonus/Manga.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% manga.bilibili.com
|
@ -1,8 +1,21 @@
|
||||
#!name=YouTube
|
||||
#!desc=YouTube videos removes ads.
|
||||
|
||||
[Rule]
|
||||
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?:\/\/m.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
|
||||
|
||||
[Script]
|
||||
YouTube.js = type=http-request,pattern=https://[\s\S]*\.googlevideo\.com/.*&(oad|ctier),script-path=https://Choler.github.io/Surge/Script/YouTube.js
|
||||
YouTube = type=http-request,pattern=https://[\s\S]*\.googlevideo\.com/.*&(oad|ctier),script-path=https://Choler.github.io/Surge/Script/YouTube.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% *.googlevideo.com
|
||||
hostname = %APPEND% *.googlevideo.com, *.youtube.com, youtubei.googleapis.com
|
@ -0,0 +1,18 @@
|
||||
#!name=Zhihu
|
||||
#!desc=Zhihu app removes ads.
|
||||
#!system=ios
|
||||
|
||||
[Rule]
|
||||
USER-AGENT,AVOS*,REJECT-TINYGIF
|
||||
URL-REGEX,https?://www.zhihu.com/api/v4/mcn/,REJECT
|
||||
URL-REGEX,https?://api.zhihu.com/(ab|adx|xen|club|fringe|zst|commercial|ad-style-service|market/popover|search/(top|tab|preset)|.*(guide|recommendations|extended|featured-comment-ad)),REJECT
|
||||
AND,((USER-AGENT,osee2*), (NOT,((DOMAIN-SUFFIX,zhihu.com))), (NOT,((DOMAIN-SUFFIX,zhimg.com)))),REJECT-TINYGIF
|
||||
|
||||
[Script]
|
||||
zhihu people = type=http-response,requires-body=1,max-size=0,pattern=https://api.zhihu.com/people/,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20people.js
|
||||
zhihu feed = type=http-response,requires-body=1,max-size=0,pattern=https://api.zhihu.com/moments/recommend,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20feed.js
|
||||
zhihu recommend = type=http-response,requires-body=1,max-size=0,pattern=https://api.zhihu.com/topstory/recommend,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20recommend.js
|
||||
zhihu answer = type=http-response,requires-body=1,max-size=0,pattern=https://api.zhihu.com/v4/questions,script-path=https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20answer.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% api.zhihu.com, www.zhihu.com
|
Loading…
Reference in New Issue