From 2cfb445da745698e17b43e2b6b25a3d974ec0942 Mon Sep 17 00:00:00 2001 From: zhiyi Date: Mon, 23 Sep 2024 23:48:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BC=9A=E5=AF=BC=E8=87=B4iO?= =?UTF-8?q?S=E5=A4=B1=E6=95=88=E7=9A=84alert=E8=B0=83=E8=AF=95=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pac-template | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pac-template b/pac-template index 0bc8393..83426cc 100644 --- a/pac-template +++ b/pac-template @@ -125,22 +125,18 @@ function FindProxyForURL(url, host) { || isPrivateIp(host) || isLocalTestDomain(host) || host === 'localhost') { - alert(`${host} MATCHES LOCAL, USING DIRECT`) return direct; } if (shExpMatch(url, "http:*")) { - alert(`${host} IS USING HTTP, USING DIRECT`) return direct; } if (!ipRegExp.test(host)) { if (isInDirectDomain(host)) { - alert(`${host} MATCHES DIRECT DOMAIN`) return direct } if (isInProxyDomain(host)) { - alert(`${host} MATCHES PROXY DOMAIN`) return proxy; } strIp = dnsResolve(host); @@ -154,10 +150,8 @@ function FindProxyForURL(url, host) { intIp = convertAddress(strIp); if (match(intIp)) { - alert(`${host} MATCHES CNIP`) return direct; } - alert(`${host} NO RULES WARE MATCHED, USING PROXY`) return proxy; } \ No newline at end of file