Skip to content

Instantly share code, notes, and snippets.

View patricksmms's full-sized avatar

Patrick Silva patricksmms

View GitHub Profile
// Important!
// In MacOS High Sierra Safari this this only works when the .pac file is placed
// on a web server, the file://localhost/etc/vpnconnect.pac only work for Chrome/Firefox
function FindProxyForURL(url, host) {
if (shExpMatch(host, "my.oracle.com") ||
shExpMatch(host, "login.oracle.com") ||
shExpMatch(host, "people.oracle.com") ||
shExpMatch(host, "aria.oracle.com") ||
shExpMatch(host, "*.us.oracle.com") ||