Created
April 29, 2011 08:08
-
-
Save seri/948022 to your computer and use it in GitHub Desktop.
Proxy auto-config rule to access Facebook through Tor
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) | |
{ | |
if (shExpMatch(host, "*.facebook.com") || | |
shExpMatch(host, "facebook.com") || | |
shExpMatch(host, "static.ak.fbcdn.net")) | |
return "SOCKS4 127.0.0.1:9050"; | |
else | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment