Skip to content

Instantly share code, notes, and snippets.

@chenyue404
Last active November 11, 2022 14:00
Show Gist options
  • Save chenyue404/8203bd201a6db11fee808f058d63c5b1 to your computer and use it in GitHub Desktop.
Save chenyue404/8203bd201a6db11fee808f058d63c5b1 to your computer and use it in GitHub Desktop.
adguard rules
! 微信
! 公众号文章
||mp.weixin.qq.com/mp/getappmsgad^
! 知乎
||api.zhihu.com/appview/api/*/recommendations^
||api.zhihu.com/fringe/ad$app=com.zhihu.android
||api.zhihu.com/*/questions^$replace=/"ad_info"/"ad_indo"/
||api.zhihu.com/moments^$replace=/"ad_list"/"ad_"/
||api.zhihu.com/moments^$replace=/"adjson"/"adjson2"/
||api.zhihu.com/commercial_api^
||api.zhihu.com/topstory/recommend^$replace=/"feed_advert"/"feed_2advert"/
||api.zhihu.com/topstory/recommend^$replace=/"market_card"/"market_2card"/
||api.zhihu.com/*/featured-comment-ad^
||www.zhihu.com/api/v4/answers/*/recommendations^
||api.zhihu.com/moments^$replace=/"moments_recommend_followed_group"/"moments_recommend_followed_group2"/
||api.zhihu.com/comment_v5/answers^$replace=/"ad_info":/"ad_info2":/
! 转转
||app.zhuanzhuan.com/zz/transfer/getConfigInfo^
! 微博国际版
||api.weibo.cn/2/statuses/*_timeline^$removeparam=uve_param|adss|aid
||api.weibo.cn/2/ad/weibointl^
! it之家App
||api.ithome.com/json/slide^$replace=/\{[^{]*?"isad": true\,[\s\S]*?\}\,//
||api.ithome.com/json^$replace=/\{{1}[^{]*?url{1}[^{]*?aid[\s\S]*?\}\,//
||api.ithome.com/json^$replace=/\,\s*\{{1}[^{]*?url{1}[^{]*?aid[\s\S]*?\}//
! 酷安
||*.coolapk.com/v6/feed/detail^$replace=/SponsorCard":/test":/
||*.coolapk.com/v6/main/init^$replace=/"entityTemplate":/"test":/
||*.coolapk.com/v6/main/indexV8?page^$replace=/:"apkImageCard"/:"test"/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment