Last active
November 25, 2022 11:32
-
-
Save sven-hash/0af2f067f289a6a8e3555312ec62fa12 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) { | |
// use proxy for these hosts | |
if (shExpMatch(host, "metamask.io|infura.io|pokt.network|arbitrum.io|polygon-rpc.com|pastenym.ch")) | |
return "SOCKS5 proxy.notrustverify.ch:443"; | |
// by default use no proxy | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment