I've just visited the webpage: Simple Autoconfig File for Using Proxy
found it very helpfull ! But I have one more question to ask ...

I use your basic script file and it works just fine, thx !
But I have a notebook with 2 pcmia ethernet cards.
And so, 2 Ip adresses !

Only one of the them is connected at any given time, but both have
settings, each for a different LAN network.

The problem is that using your script, the IP adress of the second
is never checked ! Even when Adapter one is not connected to a Network

How do I solve this problem ? How do I check both IP's before choosing
Proxy ?

Here's the currenct script :

function FindProxyForURL(url, host)


if (isInNet(myIpAddress(), "", ""))

return "PROXY firewall:80";


return "PROXY proxy.pandora.be:8080";


Thx in advance !