From cc62daa297e8fd61b9f507fc7fffce239ee4f726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=AA=E7=94=B1=E4=B8=8A=E7=BD=91?= Date: Tue, 6 Jun 2017 21:59:41 +0800 Subject: [PATCH] Delete pac11 --- pac11 | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 pac11 diff --git a/pac11 b/pac11 deleted file mode 100644 index 1651dbd..0000000 --- a/pac11 +++ /dev/null @@ -1,25 +0,0 @@ -var proxy = "HTTP 47.88.223.209:25; DIRECT"; - -var domains = { - "localhost": 1 -}; - -var direct = 'DIRECT;'; - -var hasOwnProperty = Object.hasOwnProperty; - -function FindProxyForURL(url, host) { - var suffix; - var pos = host.lastIndexOf('.'); - while(1) { - suffix = host.substring(pos + 1); - if (hasOwnProperty.call(domains, suffix)) { - return proxy; - } - if (pos <= 0) { - break; - } - pos = host.lastIndexOf('.', pos - 1); - } - return proxy; -}