Hello everyone,

thanks for your reply! I think I have found a solution:


    function FindProxyForURL(url, host)
        {
            if (isPlainHostName(host))
                    return "DIRECT";

            if (shExpMatch( host, "*.effenberger")||
                            shExpMatch(host, "192.168.0.*"))
                    return "DIRECT";

            if (url.substring(0, 5) == "http:" ||
                            url.substring(0, 4) == "ftp:"||
                            url.substring(0, 6) == "https:")
                    return "PROXY nibbler.effenberger:3128";
        }


This seems to work.

Florian

Reply via email to