#!name= ZhiHu #!desc= Remove ZhiHu Ads (ZhiHu Version:6.45.0) #!system=ios [Rule] //SOME MCN INFO MAY BE USEFUL //URL-REGEX,https://www.zhihu.com/api/v4/mcn/,REJECT DOMAIN,appcloud2.zhihu.com,REJECT //DO NOT GET CDN-BASED IP DOMAIN,118.89.204.198,REJECT USER-AGENT,AVOS*,REJECT URL-REGEX,https://api.zhihu.com/(ad|drama|fringe|commercial|market/popover|search/(top|preset|tab)|.*featured-comment-ad),REJECT AND,((USER-AGENT,ZhihuHybrid*), (URL-REGEX,.*recommend)),REJECT [MITM] hostname = %APPEND% www.zhihu.com, api.zhihu.com, link.zhihu.com, 118.89.204.198 [Script] zhihu people = type=http-response,requires-body=1,max-size=0,pattern=https://api.zhihu.com/people/,script-path=https://cdn.jsdelivr.net/gh/fgprodigal/Surge-Rule@master/Script/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://cdn.jsdelivr.net/gh/fgprodigal/Surge-Rule@master/Script/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://cdn.jsdelivr.net/gh/fgprodigal/Surge-Rule@master/Script/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://cdn.jsdelivr.net/gh/fgprodigal/Surge-Rule@master/Script/surge%20zhihu%20answer.js zhihu link = type=http-request,pattern=https?://link.zhihu.com/\?target=,script-path=https://cdn.jsdelivr.net/gh/fgprodigal/Surge-Rule@master/Script/surge%20zhihu%20link.js