// https://pac.mcplay.cn var proxy = "PROXY zrjvdiumpqsygrrh.tianti.io:25;"; 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; }