-
Notifications
You must be signed in to change notification settings - Fork 78
/
notability.js
40 lines (34 loc) · 1.09 KB
/
notability.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
/*
QX 1.0.5+ :
[rewrite_local]
^https?:\/\/notability\.com\/subscriptions url script-response-body https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Crack/notability.js
[MITM]
hostname = notability.com
Surge 4.0 :
[Script]
notability = type=http-response,pattern=^https?:\/\/notability\.com\/subscriptions,requires-body=true,max-size=0,script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Crack/notability.js
[MITM]
hostname = notability.com
*/
let obj = JSON.parse($response.body);
obj = {
"data": {
"processAppleReceipt": {
"__typename": "SubscriptionResult",
"error": 0,
"subscription": {
"__typename": "AppStoreSubscription",
"status": "active",
"originalPurchaseDate": "2021-11-02T08:04:39.000Z",
"originalTransactionId": "7",
"expirationDate": "2099-09-09T09:04:39.000Z",
"productId": "com.gingerlabs.Notability.premium_subscription",
"tier": "premium",
"refundedDate": null,
"refundedReason": null,
"user": null
}
}
}
};
$done({body: JSON.stringify(obj)});