Update XboxCartWeb.sgmodule
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user