Browse Source

Delete pac11

pull/380/head
自由上网 8 years ago
committed by GitHub
parent
commit
cc62daa297
  1. 25
      pac11

25
pac11

@ -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;
}
Loading…
Cancel
Save