Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
an0na opened this issue Jan 11, 2020 · 2 comments
Closed

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

an0na opened this issue Jan 11, 2020 · 2 comments

Comments

@an0na
Copy link

an0na commented Jan 11, 2020

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
Copy link

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

@yichahucha
Copy link
Owner

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,如果用了神机规则 脚本是没有执行的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants