The detection code fails for SS-Win < 4.1.9

https://github.com/iBug/pac/issues/7#issuecomment-577015641
This commit is contained in:
iBug 2020-01-22 13:36:36 +08:00
parent dfcd2f48a4
commit 7606661a8f

View File

@ -34,10 +34,6 @@ function isLan(host) {
var proxy = "__PROXY__";
var direct = "DIRECT";
// Attempt to catch Shadowsocks-Windows 4.1.9
if (typeof __PROXY__ !== "undefined") {
proxy = __PROXY__;
}
function FindProxyForURL(url, host) {
if (!isResolvable(host)) {