forked from LTribeSkyx/Script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocuments.js
More file actions
31 lines (22 loc) · 694 Bytes
/
Documents.js
File metadata and controls
31 lines (22 loc) · 694 Bytes
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
/*
Quantumult X
By LTribe:
Documents Download Link:http://t.cn/AiCd5Ac4
[rewrite_local]
# Documents 解锁内购年订阅
https:\/\/license\.pdfexpert\.com\/api\/1.0\/documents\/subscription\/(check|refresh) url script-response-body Documents.js
[mitm]
hostname = license.pdfexpert.com,
*/
let obj = JSON.parse($response.body);
obj = {
"isEligibleForIntroPeriod":true,
"originalTransactionId":"730000355073823",
"subscriptionExpirationDate":"02:33 19/08/2020",
"subscriptionState":"active",
"subscriptionReceiptId":"1559207582000",
"isDocuments6User":true,
"subscriptionAutoRenewStatus":"autoRenewOff",
"isInGracePeriod":true
};
$done({body: JSON.stringify(obj)});