Skip to content

Instantly share code, notes, and snippets.

@rohantmp
Last active August 7, 2019 07:59
Show Gist options
  • Save rohantmp/fa49567da16ea356305b4126bd60ed9b to your computer and use it in GitHub Desktop.
Save rohantmp/fa49567da16ea356305b4126bd60ed9b to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
// use proxy for specific domains
if (shExpMatch(host, "*.test.metalkube.org"))
return "SOCKS5 localhost:8053";
// by default use no proxy
return "DIRECT";
}
@rohantmp
Copy link
Author

rohantmp commented Aug 7, 2019

Put this file in ~/.mozilla/firefox/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment