I can make use of a. Pac to allow / immobilize my web proxy when browsing with Safari specific sites. It worked fine in Snow Leopard, although does not work in Lion.My pac looks like this:
Any tips on how to get Pac working again?Code:function FindProxyForURL(url, host) { // variable strings to return var proxy_yes = "PROXY my proxy.com:7128"; var proxy_no = "DIRECT"; if (shExpMatch(url, "https://proxy site.")) { return proxy_yes; } if (shExpMatch(url, "http:// ipaddress ")) { return proxy_yes; } // Proxy anything else return proxy_no; }
Bookmarks