-
Notifications
You must be signed in to change notification settings - Fork 78
/
Mtxx.js
39 lines (28 loc) · 1.13 KB
/
Mtxx.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
by:https://iosgs.xyz/gzFile/quanX/mtxx.conf
【Quantumult_X】
[rewrite_local]
^https?://(api|h5).xiuxiu.meitu.com/(?!(v\d/feed/|v\d/search/|v\d/channel/)) url script-response-body https://raw.githubusercontent.com/githubdulong/Script/master/Mtxx.js
[MITM]
hostname: api.xiuxiu.meitu.com, h5.xiuxiu.meitu.com
************************************************
【Surge】
[Script]
美图秀秀 = type=http-response,requires-body=1,max-size=0,pattern=^https?://(api|h5).xiuxiu.meitu.com/(?!(v\d/feed/|v\d/search/|v\d/channel/)),script-path=https://raw.githubusercontent.com/githubdulong/Script/master/Mtxx.js
[MITM]
hostname: api.xiuxiu.meitu.com, h5.xiuxiu.meitu.com
*/
var obj = JSON.parse($response.body);
if (obj && obj.data) {
obj.data.vip_type = 1;
obj.data.expire_days = -9999999999;
obj.data.is_expire = 0;
obj.data.in_valid_time = 5576488923;
obj.data.is_valid_user = 1;
obj.data.valid_time = 5576488923;
obj.data.home_prompt = "粉钻会员 2100年1月1日到期";
obj.data.home_btn_prompt = "已解锁";
} else {
console.log("obj or obj.data is undefined");
}
$done({ body: JSON.stringify(obj) });