mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-27 19:08:26 +08:00
18 lines
586 B
JavaScript
18 lines
586 B
JavaScript
|
/*
|
|||
|
Remove the WeChat public account bottom ad
|
|||
|
|
|||
|
QX:
|
|||
|
^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js
|
|||
|
|
|||
|
Surge4:
|
|||
|
http-response ^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js
|
|||
|
|
|||
|
Surge & QX MITM = mp.weixin.qq.com,
|
|||
|
*/
|
|||
|
|
|||
|
var obj = JSON.parse($response.body);
|
|||
|
obj.advertisement_num = 0;
|
|||
|
obj.advertisement_info = [];
|
|||
|
$done({body: JSON.stringify(obj)});
|
|||
|
|
|||
|
//by Choler
|