From e1c5183f4d2300bd57837cad6443e68c757f099c Mon Sep 17 00:00:00 2001 From: Sheng Li <38060040+Mornwind@users.noreply.github.com> Date: Tue, 24 Apr 2018 20:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BF=AE=E6=94=B9Auto?= =?UTF-8?q?=E7=BB=84=E8=8A=82=E7=82=B9=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JSBox/Surge.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/JSBox/Surge.js b/JSBox/Surge.js index 915d102..e87a4b8 100644 --- a/JSBox/Surge.js +++ b/JSBox/Surge.js @@ -62,6 +62,10 @@ const fields = [{ name: 'hostname', text: 'MITM中的hostname' }, + { + name: 'AutoGroup', + text: '自定义Auto组所用节点,节点名称务必与前面保持一致,用英文逗号分隔(必填)' + }, { name: 'extProxyGroup', text: '自定义代理组' @@ -128,6 +132,7 @@ use-keyword-filter = false`, 'SSID': "", 'extProxy': "", 'hostname': "", + 'AutoGroup': `🇺🇸 US,🇭🇰 HK,🇯🇵 JP,🇸🇬 SG`, 'extProxyGroup': "", 'MITM': `skip-server-cert-verify = true tcp-connection = false @@ -165,7 +170,7 @@ ${config.extProxy} 🍂 Domestic = select, 🚀 Direct, 🍃 Proxy 🍎 Only = select, 🚀 Direct,${ProxyList} ☁️ Others = select,🚀 Direct,🍃 Proxy -🏃 Auto = url-test,${ProxyList},url = http://www.gstatic.com/generate_204, interval = 1200 +🏃 Auto = url-test,${config.AutoGroup},url = http://www.gstatic.com/generate_204, interval = 1200 # my extProxyGroup ${config.extProxyGroup} @@ -405,4 +410,4 @@ $ui.render({ } }] -}) \ No newline at end of file +})