Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Use a proxy.pac file with Panther' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Use a proxy.pac file with Panther
Authored by: taobang on Apr 01, '04 10:35:32AM

Hello,
i need helllppppp.
How could i set up proxy preferences thanks to ".pac" files ?
And then, is it possible to redirect the url of the browser thanks to the ".pac" file ...

an exemple would be something like that :

test.pac :

function FindProxyForURL(url, host)
{

if ((url.indexOf("test")>=0)) {
alert("myTest")
document.location.href="www.google.fr";
return "PROXY www.wanadoo.fr:8080; DIRECT";
}

}


Would someone be able to help me , please ?

@+ taobang



[ Reply to This | # ]