間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

Navigator Proxy Auto-Config File Format

proxy自動設定ファイルフォーマット
http://en.wikipedia.org/wiki/Proxy_auto-config
http://web.archive.org/web/20020803000242/wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html

Again, use of DNS in the above can be minimized by adding redundant rules in the beginning: 
    function FindProxyForURL(url, host)
    {
        if (isPlainHostName(host) ||
            dnsDomainIs(host, ".mydomain.com") ||
            isInNet(host, "198.95.0.0", "255.255.0.0"))
            return "DIRECT";
        else
            return "PROXY proxy.mydomain.com:8080";
    }

めも

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。