-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathgzm.js
41 lines (37 loc) · 936 Bytes
/
gzm.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
40
41
/*
* 歌者盟
* 解锁会员
* [主页]-[精品课程]未解锁 可以通过其他地方进入
[rewrite_local]
^https?:\/\/(?:h5\.|platform\.)?singerdream\.com\/(?!.*\.jpg).*$ url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/gzm.js
[mitm]
hostname = h5.singerdream.com, platform.singerdream.com, singerdream.com
*/
let a = $response.body;
let b = JSON.parse(a);
const c = {
hasAppointment: true,
freed: 2,
access: true,
free: true,
correct: true,
isVip: true,
endTime: 9828282899,
foreverVip: true,
everBoughtVip: true,
isUnlock: true
};
function d(e) {
for (let f in e) {
if (e.hasOwnProperty(f)) {
if (typeof e[f] === 'object' && e[f] !== null) {
d(e[f]);
} else if (c.hasOwnProperty(f)) {
e[f] = c[f];
}
}
}
}
d(b);
a = JSON.stringify(b);
$done({ body: a });