Files
wool_scripts/Surge/module/split/partX/Ctrip.sgmodule
2025-10-18 17:37:18 +08:00

24 lines
1017 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!name=携程
#!desc=某些APP要清除缓存或者重新安装拦截广告才会生效
#!author=奶思
#!category=奶思的模块
#!homepage=https://github.com/fmz200/wool_scripts
#!raw-url=https://github.com/fmz200/wool_scripts/raw/main/Surge/module/split/partX/Ctrip.sgmodule
#!tg-channel=https://t.me/inaisi
[URL Rewrite]
# 开屏去广告
^https?:\/\/ma-adx\.ctrip\.com\/_ma\.gif - reject
^https?:\/\/mbd\.baidu\.com\/newspage\/api\/getmobads\?page\=landingshare - reject
[Map Local]
# 更新弹窗 APP降级8.40.0版本搭配去开屏广告规则目前没有出现MITM失败等其他问题 如开启可自行添加主机名 m.ctrip.com
^https?:\/\/m\.ctrip\.com\/restapi\/soa2\/[0-9]{5}\/json\/getTimeZoneServerIpList\?__gw_os=IOS data-type=text data=" " status-code=200
# 8.47.0以上版本会有部分图片加载不出来
^https?:\/\/m\.ctrip\.com\/restapi\/soa2\/13916\/json\/tripAds data-type=text data=" " status-code=200
[MITM]
hostname = %APPEND% m.ctrip.com, ma-adx.ctrip.com, mbd.baidu.com