1 var g_ips = [ 2 dnsResolve('host1'), 3 dnsResolve('host2') 4 ]; 5 6 alert('Watsup'); 7 alert('Watsup2'); 8 9 function FindProxyForURL(url, host) { 10 // Note that host1 and host2 should not resolve using the same cache as was 11 // used for g_ips! 12 var ips = g_ips.concat([dnsResolve('host1'), dnsResolve('host2')]); 13 return 'PROXY ' + ips.join('-') + ':99'; 14 } 15