Created
February 11, 2009 14:03
-
-
Save poppen/62021 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
"" autoproxychanger.js | |
javascript <<EOM | |
liberator.globalVariables.autochanger_proxy_enabled = true; | |
liberator.globalVariables.autochanger_proxy_settings = [ | |
{ | |
name: 'disable', | |
usage: 'direct connection', | |
proxy: { type : 0 } | |
}, | |
{ | |
name: 'polipo', | |
usage: 'use polipo cache proxy', | |
proxy: { | |
type : 1, | |
http : 'localhost', | |
http_port: 8123, | |
socks : '', | |
socks_port : 0, | |
socks_remote_dns : false | |
} | |
}, | |
{ | |
name: 'socks', | |
usage: 'use socks proxy', | |
url: /http:\/\/\w+\.example\.local/, | |
proxy: { | |
type : 1, | |
http : '', | |
http_port: 0, | |
socks : 'localhost', | |
socks_port : 10080, | |
socks_remote_dns : true | |
} | |
} | |
]; | |
EOM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment