Files
Surge/Modules/XboxWebController.sgmodule
2026-04-02 22:10:04 +08:00

20 lines
1.6 KiB
Plaintext

#!name=Xbox Web Controller
#!desc=通过访问虚拟域名触发脚本:\n1. 访问 https://addtocart.com -> 触发添加/购买脚本\n2. 访问 https://clearlist.com -> 清空本地 ProductList\n3. 访问 https://clearapprovalcartid.com -> 清空 ApproveCartId\n4. 访问 https://syncxbox.com -> 从云端同步数据并清理云端队列
#!author=Ah Long & XXhaos
#!category=XBOX
[Host]
addtocart.com = 198.18.0.1
clearlist.com = 198.18.0.1
clearapprovalcartid.com = 198.18.0.1
syncxbox.com = 198.18.0.1
[Script]
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_clear_web = type=http-request, pattern=^https?://clearlist\.com/?.*, script-path=https://dragonisheep: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@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/ClearXboxProductList_Web.js, timeout=10
clear_cart_id = type=http-request, pattern=^https?://clearapprovalcartid\.com/?.*, script-path=https://dragonisheep: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@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/ClearApprovalCartId.js, timeout=10
xbox_sync_cloud = type=http-request, pattern=^https?://syncxbox\.com/?.*, script-path=https://dragonisheep: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@raw.githubusercontent.com/dragonisheep/Surge/refs/heads/master/Scripts/SyncXboxCloud.js, timeout=30
[MITM]
hostname = %APPEND% addtocart.com, clearlist.com, clearapprovalcartid.com, syncxbox.com