Saturday, July 9, 2011

Google chrome pac auto proxy file

don't use only exts. Swithy will broken on chrome 12. so use pac file is a good way.

[cc lang='javascript' ]
function FindProxyForURL(url, host)
{
var regexpr = /(google|googleusercontent|gmodules|chromium|linkedin|filesonic|hotfile|fbcdn|wp|scanlover|android|pusherapp|jqueryui|wordpress|tornadoweb|angrybirds|28tube|goo|fc2|youtube|twitter|facebook|ytimg).com$/;
if(regexpr.test(host))
return "SOCKS5 127.0.0.1:7070; DIRECT";
return "DIRECT";
}

[/cc]

start google chrome in command line [cci]google-chrome --proxy-pac-url=file:///home/fred/.proxy.pac[/cci]

work on debian linux.

3 comments:

  1. Good morning! call: - Kamagra better - Kamagra Oral Jelly usaa :.porn visit :::Kamagra 100mg dvd - kamagra from canadian supplier :.Cheap Kamagra fastest and free gay porn movies online - free amature porn communitys :.kamagra nervousness - Online Order for Kamagra free consultation - kamagra st review :.kamagra pussy ...Goodbye
    ===
    кредитная карта : - выгодный кредит ...!!!

    ReplyDelete
  2. I would like to thank you for the efforts
    you've put in writing this website. I really hope to see the same high-grade content by you in the future as well. In fact, your creative writing abilities has motivated me to get my own blog now ;)

    ReplyDelete
  3. simply click the up coming web site...

    Google chrome pac auto proxy file | Fred Chu...

    ReplyDelete