init
This commit is contained in:
13
Surge-main/Modules/batch_approval.sgmodule
Normal file
13
Surge-main/Modules/batch_approval.sgmodule
Normal file
@@ -0,0 +1,13 @@
|
||||
#!name=Microsoft Family Batch Approve
|
||||
#!desc=自动抓取CartId并替换批量购买流程,购买完成后自动清理
|
||||
#!category=XBOX
|
||||
#!author=Ah Long
|
||||
|
||||
[Script]
|
||||
ApprovalCartId = type=http-request, pattern=^https:\/\/buynow\.production\.store-web\.dynamics\.com\/v1\.0\/cart\/updateCart.*, script-path=https://raw.githubusercontent.com/XXhaos/Surge/refs/heads/main/Scripts/ApprovalCartId.js, requires-body=0
|
||||
|
||||
batch_purchase_send = type=http-request, pattern=^https:\/\/buynow\.production\.store-web\.dynamics\.com\/v1\.0\/Cart\/purchase\?appId=BuyNow, script-path=https://raw.githubusercontent.com/XXhaos/Surge/refs/heads/main/Scripts/batch_purchase_send.js, requires-body=1, max-size=1048576, timeout=60, binary-body-mode=0, script-update-interval=0
|
||||
|
||||
ApprovalCartClean = type=http-request, pattern=^https:\/\/account\.microsoft\.com\/family\/api\/buy\/requests\/complete, script-path=https://raw.githubusercontent.com/XXhaos/Surge/refs/heads/main/Scripts/AutoClearApprovalCartId.js, requires-body=0
|
||||
[MITM]
|
||||
hostname = %APPEND% buynow.production.store-web.dynamics.com, production.store-web.dynamics.com, account.microsoft.com
|
||||
Reference in New Issue
Block a user