Created
February 25, 2012 15:49
-
-
Save breezhang/1909184 to your computer and use it in GitHub Desktop.
switch proxy for mainland china :)
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
/*you need file */ | |
/* | |
You can visit http://autoproxy2pac.appspot.com/ | |
download http://autoproxy2pac.appspot.com/gfwtest.js append some stuff | |
e.g | |
function FindProxyForURL(url, host) { | |
if(isBlockedByGFW(url)) return "PROXY xxxxx;PROXY xxxxx"; | |
return "DIRECT"; | |
} | |
js function woking NG | |
i advice download plugin (Chrome firefox is good choice) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment