Skip to content

Instantly share code, notes, and snippets.

@poppen
Created February 11, 2009 14:03
Show Gist options
  • Save poppen/62021 to your computer and use it in GitHub Desktop.
Save poppen/62021 to your computer and use it in GitHub Desktop.
"" 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