yichahucha / surge

Some useful scripts.
GNU General Public License v3.0
2.5k stars 481 forks source link

微博的启动广告无效(QuantumultX) #29

Closed an0na closed 4 years ago

an0na commented 4 years ago

QuantumultX上,wb_lunch.js不起作用了; if (url.indexOf(path2) != -1) { var obj = JSON.parse(body); if (obj.cached_ad && obj.cached_ad.ads) obj.cached_ad.ads = []; body = JSON.stringify(obj); } 上面匹配成功后,直接返回的是200 OK,没有body了。

lichenxxx commented 4 years ago

微博的启动开屏广告好像在也失效了,使用的surge的脚本

yichahucha commented 4 years ago

QuantumultX上,wb_lunch.js不起作用了; if (url.indexOf(path2) != -1) { var obj = JSON.parse(body); if (obj.cached_ad && obj.cached_ad.ads) obj.cached_ad.ads = []; body = JSON.stringify(obj); } 上面匹配成功后,直接返回的是200 OK,没有body了。

与神机的复写规则冲突,神机是直接 reject-200,如果用了神机规则 脚本是没有执行的