Last active
March 21, 2024 10:05
-
-
Save hieu-v/50f3035b60aeb10b0205726d95d0cb94 to your computer and use it in GitHub Desktop.
This file contains hidden or 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) { | |
| if (shExpMatch(host, "*.google.com")) return "SOCKS 127.0.0.1:1337"; | |
| if (shExpMatch(host, "*.amazonaws.com")) return "SOCKS 127.0.0.1:1337"; | |
| if (shExpMatch(host, "*.amazon.com")) return "SOCKS 127.0.0.1:1337"; | |
| if (shExpMatch(host, "*.gitlab.upft.jp")) return "SOCKS 127.0.0.1:1337"; | |
| if (shExpMatch(host, "gitlab.upft.jp")) return "SOCKS 127.0.0.1:1337"; | |
| if (shExpMatch(host, "upft.jp")) return "SOCKS 127.0.0.1:1337"; | |
| return "DIRECT"; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if (dnsDomainIs(host, ".google.com")) return "SOCKS 127.0.0.1:1337";