#!name=CSDN
#!desc=某些APP要清除缓存或者重新安装拦截广告才会生效！
#!author=奶思
#!homepage=https://github.com/fmz200/wool_scripts
#!icon=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/gif/naisi-01.gif
#!raw-url=https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/split/partC/CSDN.lpx
#!tg-group=https://t.me/lanjieguanggao
#!date=2025-08-21 22:37:00
#############################################

[Rule]
DOMAIN-SUFFIX, ad.csdn.net, REJECT
DOMAIN-SUFFIX, counter.csdn.net, REJECT
DOMAIN-SUFFIX, dc.csdn.net, REJECT
DOMAIN-SUFFIX, dc2.csdn.net, REJECT
DOMAIN-SUFFIX, medal.blog.csdn.net, REJECT


[Rewrite]
# 感谢【Jörgen Frecht】分享
^https?:\/\/app-gw\.csdn\.net\/silkroad-api\/api\/v\d\/assemble\/list\/pub\/channel\/app_open_screen_ad reject
^https?:\/\/app-gw\.csdn\.net\/abtesting\/v2\/getList? reject
^https?:\/\/gw\.csdn\.net\/cms-app\/v\d+\/home_page\/open_advertisement reject


[MITM]
hostname = app-gw.csdn.net, gw.csdn.net