-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathOffScreen.js
30 lines (26 loc) · 997 Bytes
/
OffScreen.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
/*
OffScreen:https://apps.apple.com/app/id1474340105
[rewrite_local]
^https?:\/\/api\.revenuecat\.com\/v1\/(subscribers\/[^\/]+$|receipts$) url script-response-body https://raw.githubusercontent.com/Guding88/Script/main/OffScreen.js
[MITM]
hostname = api.revenuecat.com
*/
var guding = JSON.parse($response.body);
guding.subscriber.entitlements = {
"Entitlement.Pro": {
"expires_date": "6666-06-06T06:06:06Z",
"product_identifier": "tech.miidii.offscreen.subscription.year.intro.first_year_discount",
"purchase_date": "2023-02-23T02:33:33Z"
}
};
guding.subscriber.original_purchase_date = "2023-02-23T03:33:33Z";
guding.subscriber.subscriptions = {
"tech.miidii.offscreen.subscription.year.intro.first_year_discount": {
"expires_date": "6666-06-06T06:06:06Z",
"original_purchase_date": "2023-02-23T02:33:33Z",
"purchase_date": "2023-02-23T02:33:33Z",
"ownership_type" : "PURCHASED",
"store" : "app_store"
}
};
$done({ body: JSON.stringify(guding) });