function FindProxyForURL(url, host) {
if (host.indexOf('bpms.')!=-1) {
if(/\/(cas|data|spreadsheet)\//.test(url)){
return "PROXY 192.168.1.213:8081";
}
return "DIRECT";
} else if (host.indexOf('.google.')!=-1||host.indexOf('.org')!=-1||host.indexOf('.jetbrains.')!=-1||host.indexOf('glbproxy')!=-1) {
return "PROXY 192.168.1.200:1080";
}
return "DIRECT";
}google