-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mtxx.js
36 lines (24 loc) · 1.3 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
/*
by:https://iosgs.xyz/gzFile/quanX/mtxx.conf
【Quantumult_X】
[rewrite_local]
^https?://(api|h5).xiuxiu.meitu.com/(v1/user/show.json|v1/vip/vip_show.json|v1/vip/prompt/query.json|v1/h5/vip/sub_detail.json|v1/h5/user/self_show.json|v1/h5/vip/user_detail.json|v1/vip/prompt/query.json|v1/vip/prompt/query.json) 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]
美图秀秀 = requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/githubdulong/Script/master/Mtxx.js,type=http-response,pattern=^https?://(api|h5).xiuxiu.meitu.com/(v1/user/show.json|v1/vip/vip_show.json|v1/vip/prompt/query.json|v1/h5/vip/sub_detail.json|v1/h5/user/self_show.json|v1/h5/vip/user_detail.json|v1/vip/prompt/query.json|v1/vip/prompt/query.json)
[MITM]
hostname: api.xiuxiu.meitu.com, h5.xiuxiu.meitu.com
*/
var obj = JSON.parse($response.body);
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="已解锁";
$done({ body: JSON.stringify(obj) });