Script/Surge/JS/jibjab.js

28 lines
781 B
JavaScript
Raw Normal View History

2019-10-10 15:48:06 +08:00
/*
2021-07-04 16:32:52 +08:00
JibJab 解锁高级功能
2019-10-10 15:48:06 +08:00
2021-07-04 16:32:52 +08:00
***************************
QuantumultX:
2019-10-10 15:48:06 +08:00
2021-07-04 16:32:52 +08:00
[rewrite_local]
2019-10-10 15:48:06 +08:00
https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js
2021-07-04 16:32:52 +08:00
[mitm]
hostname = origin-prod-phoenix.jibjab.com
***************************
Surge4 or Loon:
[Script]
http-response https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js
[MITM]
hostname = origin-prod-phoenix.jibjab.com
**************************/
2019-10-10 15:48:06 +08:00
let obj = JSON.parse($response.body);
obj.data.attributes["is-paid"] = true;
obj.data.attributes["email"] = "禁止牟利,TG频道@NobyDa";
$done({body: JSON.stringify(obj)});