Files
Surge/Modules/XboxParamCapturer.sgmodule
2026-04-02 22:05:52 +08:00

17 lines
1.3 KiB
Plaintext

#!name=Xbox Param Capturer
#!desc=抓取 Xbox 参数 (全区/防缓存/忽略大小写)
#!author=Ah Long
#!category=XBOX
[Script]
XboxProductList = type=http-response, pattern=(?i)^https://emerald\.xboxservices\.com/xboxcomfd/productActions/.*locale=en-us, requires-body=1, max-size=0, binary-body-mode=0, timeout=60, script-update-interval=0, script-path=https://dragonisheep:你的PAT@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/XboxProductList.js
Xbox_Auth_CartId = type=http-request, pattern=(?i)^https://cart\.production\.store-web\.dynamics\.com/v1\.0/cart/eligibilityCheck, requires-body=0, script-update-interval=0, script-path=https://dragonisheep:你的PAT@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/authorization%26cartId.js
Xbox_Mscv_MUID = type=http-request, pattern=(?i)^https://cart\.production\.store-web\.dynamics\.com/v1\.0/cart/loadCart, requires-body=0, script-update-interval=0, script-path=https://dragonisheep:你的PAT@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/CartParameter.js
[Header Rewrite]
^https://emerald\.xboxservices\.com/xboxcomfd/productActions/ header-del If-Modified-Since
^https://emerald\.xboxservices\.com/xboxcomfd/productActions/ header-del If-None-Match
[MITM]
hostname = %APPEND% emerald.xboxservices.com, *.dynamics.com