mirror of
https://github.com/iBug/pac.git
synced 2025-07-13 21:02:16 +08:00
The detection code fails for SS-Win < 4.1.9
https://github.com/iBug/pac/issues/7#issuecomment-577015641
This commit is contained in:
parent
dfcd2f48a4
commit
7606661a8f
4
code.js
4
code.js
@ -34,10 +34,6 @@ function isLan(host) {
|
|||||||
|
|
||||||
var proxy = "__PROXY__";
|
var proxy = "__PROXY__";
|
||||||
var direct = "DIRECT";
|
var direct = "DIRECT";
|
||||||
// Attempt to catch Shadowsocks-Windows 4.1.9
|
|
||||||
if (typeof __PROXY__ !== "undefined") {
|
|
||||||
proxy = __PROXY__;
|
|
||||||
}
|
|
||||||
|
|
||||||
function FindProxyForURL(url, host) {
|
function FindProxyForURL(url, host) {
|
||||||
if (!isResolvable(host)) {
|
if (!isResolvable(host)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user