Last active
October 20, 2021 16:09
-
-
Save mnmly/7b93a0b8326e3efe05d3b9451c7ac301 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
PROXY = "PROXY 127.0.0.1:1234"; | |
alert(url); | |
if (shExpMatch(host, "*.alp-official.jp") ) { | |
// if ( shExpMatch(url, "*/js/*") ) { | |
return PROXY; | |
// } | |
} | |
// Everything else directly! | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment