Files
Surge/Surge-main/Modules/BuyRequestReplace.sgmodule
2026-04-02 21:02:16 +08:00

13 lines
593 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!name=Xbox Buy Request Replace
#!desc=替换购买请求参数 (RequestParentalApproval)
#!category=XBOX
#!author=Ah Long
[Script]
# 替换购买请求参数
# 触发条件RequestParentalApproval 接口
BuyRequestReplace = type=http-request, pattern=^https://buynow\.production\.store-web\.dynamics\.com/v1\.0/Cart/RequestParentalApproval, script-path=https://raw.githubusercontent.com/XXhaos/Surge/refs/heads/main/Scripts/BuyRequestReplace.js, requires-body=1, max-size=0, binary-body-mode=0, script-update-interval=0
[MITM]
hostname = %APPEND% buynow.production.store-web.dynamics.com