Update XboxCartWeb.sgmodule

This commit is contained in:
XXhaos
2026-04-02 22:01:17 +08:00
committed by GitHub
parent fc5d0e84f2
commit 22122c2d55

View File

@@ -4,13 +4,10 @@
#!category=XBOX #!category=XBOX
[Host] [Host]
# 核心:将 addtocart.com 解析到 Surge 内部 IP
# 这样手机发出的请求会被 Surge 直接截获,不会去公网找服务器
addtocart.com = 198.18.0.1 addtocart.com = 198.18.0.1
[Script] [Script]
# 正则匹配:支持 http 和 https域名为 addtocart.com xbox_web_runner = type=http-request, pattern=^https?://addtocart\.com/?.*, script-path=https://dragonisheep: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@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/NewAddToCart_Web.js, timeout=60
xbox_web_runner = type=http-request, pattern=^https?://addtocart\.com/?.*, script-path=https://raw.githubusercontent.com/XXhaos/Surge/refs/heads/main/Scripts/NewAddToCart_Web.js, timeout=60
[MITM] [MITM]
hostname = %APPEND% addtocart.com hostname = %APPEND% addtocart.com