How to use j.proxy method in Appium Base Driver

Best JavaScript code snippet using appium-base-driver

proxy.pac

Source:proxy.pac Github

copy

Full Screen

1// Proxy Auto-Config file generated by autoproxy2pac, 2015-07-29 13:01:262function FindProxyForURL(url, host) {3 var autoproxy = 'PROXY GOAGENT_LISTEN';4 var blackhole = 'PROXY PAC_LISTEN';5 if (dnsDomainIs(host, '.google.com') ||6 dnsDomainIs(host, '.google.com.hk') ||7 dnsDomainIs(host, '.google-analytics.com') ||8 dnsDomainIs(host, '.googleapis.com') ||9 dnsDomainIs(host, '.googlecode.com') ||10 dnsDomainIs(host, '.googlevideo.com') ||11 dnsDomainIs(host, '.googleusercontent.com') ||12 dnsDomainIs(host, '.ggpht.com') ||13 dnsDomainIs(host, '.wikipedia.org') ||14 dnsDomainIs(host, '.sf.net') ||15 dnsDomainIs(host, '.sourceforge.net') ||16 host == 'cdnjs.cloudflare.com' ||17 host == 'wp.me' ||18 host == 'ow.ly' ||19 host == 'po.st' ||20 host == 'goo.gl')21 {22 return autoproxy;23 }24 if (host == 'pagead2.googlesyndication.com' ||25 host == 'p.tanx.com' ||26 host == 'a.alimama.cn' ||27 FindProxyForURLByAdblock(url, host) != 'DIRECT')28 {29 return blackhole;30 } else {31 return FindProxyForURLByAutoProxy(url, host);32 }33}3435// AUTO-GENERATED RULES, DO NOT MODIFY!36function FindProxyForURLByAdblock(url, host) {return "DIRECT";}3738function FindProxyForURLByAutoProxy(url, host) {39 if (url.indexOf("http://ime.baidu.jp") == 0) return "DIRECT";40 if (url.indexOf("https://autoproxy.org") == 0) return "DIRECT";41 if (dnsDomainIs(host, ".zhongsou.com") || host == "zhongsou.com") return "DIRECT";42 if (dnsDomainIs(host, ".youdao.com") || host == "youdao.com") return "DIRECT";43 if (dnsDomainIs(host, ".yahoo.cn") || host == "yahoo.cn") return "DIRECT";44 if (dnsDomainIs(host, ".soso.com") || host == "soso.com") return "DIRECT";45 if (dnsDomainIs(host, ".so.com") || host == "so.com") return "DIRECT";46 if (dnsDomainIs(host, ".sogou.com") || host == "sogou.com") return "DIRECT";47 if (dnsDomainIs(host, ".sina.com.cn") || host == "sina.com.cn") return "DIRECT";48 if (dnsDomainIs(host, ".sina.cn") || host == "sina.cn") return "DIRECT";49 if (dnsDomainIs(host, ".qq.com") || host == "qq.com") return "DIRECT";50 if (dnsDomainIs(host, ".http2.golang.org") || host == "http2.golang.org") return "DIRECT";51 if (url.indexOf("http://www.google.cn/maps") == 0) return "DIRECT";52 if (url.indexOf("http://translate.google.cn") == 0) return "DIRECT";53 if (dnsDomainIs(host, ".jike.com") || host == "jike.com") return "DIRECT";54 if (dnsDomainIs(host, ".haosou.com") || host == "haosou.com") return "DIRECT";55 if (dnsDomainIs(host, ".fonts.gstatic.com") || host == "fonts.gstatic.com") return "DIRECT";56 if (dnsDomainIs(host, ".csi.gstatic.com") || host == "csi.gstatic.com") return "DIRECT";57 if (dnsDomainIs(host, ".fonts.googleapis.com") || host == "fonts.googleapis.com") return "DIRECT";58 if (dnsDomainIs(host, ".chinaso.com") || host == "chinaso.com") return "DIRECT";59 if (dnsDomainIs(host, ".baidu.com") || host == "baidu.com") return "DIRECT";60 if (dnsDomainIs(host, ".aliyun.com") || host == "aliyun.com") return "DIRECT";61 if (dnsDomainIs(host, ".taitung-house.gov.tw") || host == "taitung-house.gov.tw") return "DIRECT";62 if (dnsDomainIs(host, ".cromotc.nat.gov.tw") || host == "cromotc.nat.gov.tw") return "DIRECT";63 if (dnsDomainIs(host, ".nici.nat.gov.tw") || host == "nici.nat.gov.tw") return "DIRECT";64 if (dnsDomainIs(host, ".klsio.gov.tw") || host == "klsio.gov.tw") return "DIRECT";65 if (dnsDomainIs(host, ".4pppc.gov.tw") || host == "4pppc.gov.tw") return "DIRECT";66 if (dnsDomainIs(host, ".ncdr.nat.gov.tw") || host == "ncdr.nat.gov.tw") return "DIRECT";67 if (dnsDomainIs(host, ".921.gov.tw") || host == "921.gov.tw") return "DIRECT";68 if (dnsDomainIs(host, ".hsinchu-cc.gov.tw") || host == "hsinchu-cc.gov.tw") return "DIRECT";69 if (dnsDomainIs(host, ".hengchuen.gov.tw") || host == "hengchuen.gov.tw") return "DIRECT";70 if (dnsDomainIs(host, ".chccc.gov.tw") || host == "chccc.gov.tw") return "DIRECT";71 if (dnsDomainIs(host, ".dmtip.gov.tw") || host == "dmtip.gov.tw") return "DIRECT";72 if (dnsDomainIs(host, ".arte.gov.tw") || host == "arte.gov.tw") return "DIRECT";73 if (dnsDomainIs(host, ".imagesblog.gio.gov.tw") || host == "imagesblog.gio.gov.tw") return "DIRECT";74 if (dnsDomainIs(host, ".tcsac.gov.tw") || host == "tcsac.gov.tw") return "DIRECT";75 if (dnsDomainIs(host, ".bdhr.gov.tw") || host == "bdhr.gov.tw") return "DIRECT";76 if (dnsDomainIs(host, ".stag.gov.tw") || host == "stag.gov.tw") return "DIRECT";77 if (dnsDomainIs(host, ".etraining.gov.tw") || host == "etraining.gov.tw") return "DIRECT";78 if (dnsDomainIs(host, ".vghtpe.gov.tw") || host == "vghtpe.gov.tw") return "DIRECT";79 if (dnsDomainIs(host, ".cp-house.gov.tw") || host == "cp-house.gov.tw") return "DIRECT";80 if (dnsDomainIs(host, ".gysd.nyc.gov.tw") || host == "gysd.nyc.gov.tw") return "DIRECT";81 if (dnsDomainIs(host, ".chukuang.gov.tw") || host == "chukuang.gov.tw") return "DIRECT";82 if (dnsDomainIs(host, ".cycab.gov.tw") || host == "cycab.gov.tw") return "DIRECT";83 if (dnsDomainIs(host, ".nertt.gov.tw") || host == "nertt.gov.tw") return "DIRECT";84 if (dnsDomainIs(host, ".kmseh.gov.tw") || host == "kmseh.gov.tw") return "DIRECT";85 if (dnsDomainIs(host, ".nerch.gov.tw") || host == "nerch.gov.tw") return "DIRECT";86 if (dnsDomainIs(host, ".patehr.gov.tw") || host == "patehr.gov.tw") return "DIRECT";87 if (dnsDomainIs(host, ".kmh.gov.tw") || host == "kmh.gov.tw") return "DIRECT";88 if (dnsDomainIs(host, ".nmvttc.gov.tw") || host == "nmvttc.gov.tw") return "DIRECT";89 if (dnsDomainIs(host, ".nvri.gov.tw") || host == "nvri.gov.tw") return "DIRECT";90 if (dnsDomainIs(host, ".hcc.gov.tw") || host == "hcc.gov.tw") return "DIRECT";91 if (dnsDomainIs(host, ".taoyuan.gov.tw") || host == "taoyuan.gov.tw") return "DIRECT";92 if (dnsDomainIs(host, ".lungtanhr.gov.tw") || host == "lungtanhr.gov.tw") return "DIRECT";93 if (dnsDomainIs(host, ".klra.gov.tw") || host == "klra.gov.tw") return "DIRECT";94 if (dnsDomainIs(host, ".aftygh.gov.tw") || host == "aftygh.gov.tw") return "DIRECT";95 if (dnsDomainIs(host, ".yvtc.gov.tw") || host == "yvtc.gov.tw") return "DIRECT";96 if (dnsDomainIs(host, ".klccab.gov.tw") || host == "klccab.gov.tw") return "DIRECT";97 if (dnsDomainIs(host, ".comnews.gio.gov.tw") || host == "comnews.gio.gov.tw") return "DIRECT";98 if (dnsDomainIs(host, ".comnews.gio.gov.tw") || host == "comnews.gio.gov.tw") return "DIRECT";99 if (dnsDomainIs(host, ".thbstc.gov.tw") || host == "thbstc.gov.tw") return "DIRECT";100 if (dnsDomainIs(host, ".kk.gov.tw") || host == "kk.gov.tw") return "DIRECT";101 if (dnsDomainIs(host, ".gsn-cert.nat.gov.tw") || host == "gsn-cert.nat.gov.tw") return "DIRECT";102 if (dnsDomainIs(host, ".womenbusiness.nyc.gov.tw") || host == "womenbusiness.nyc.gov.tw") return "DIRECT";103 if (dnsDomainIs(host, ".df.gov.tw") || host == "df.gov.tw") return "DIRECT";104 if (dnsDomainIs(host, ".itrc.gov.tw") || host == "itrc.gov.tw") return "DIRECT";105 if (dnsDomainIs(host, ".pabp.gov.tw") || host == "pabp.gov.tw") return "DIRECT";106 if (dnsDomainIs(host, ".tchb.gov.tw") || host == "tchb.gov.tw") return "DIRECT";107 if (dnsDomainIs(host, ".vghks.gov.tw") || host == "vghks.gov.tw") return "DIRECT";108 if (dnsDomainIs(host, ".ncree.gov.tw") || host == "ncree.gov.tw") return "DIRECT";109 if (dnsDomainIs(host, ".aide.gov.tw") || host == "aide.gov.tw") return "DIRECT";110 if (dnsDomainIs(host, ".nspo.gov.tw") || host == "nspo.gov.tw") return "DIRECT";111 if (dnsDomainIs(host, ".tncsec.gov.tw") || host == "tncsec.gov.tw") return "DIRECT";112 if (dnsDomainIs(host, ".iner.gov.tw") || host == "iner.gov.tw") return "DIRECT";113 if (dnsDomainIs(host, ".tphcc.gov.tw") || host == "tphcc.gov.tw") return "DIRECT";114 if (dnsDomainIs(host, ".nmp.gov.tw") || host == "nmp.gov.tw") return "DIRECT";115 if (dnsDomainIs(host, ".nmh.gov.tw") || host == "nmh.gov.tw") return "DIRECT";116 if (dnsDomainIs(host, ".arte.gov.tw") || host == "arte.gov.tw") return "DIRECT";117 if (dnsDomainIs(host, ".nict.gov.tw") || host == "nict.gov.tw") return "DIRECT";118 if (dnsDomainIs(host, ".wanfang.gov.tw") || host == "wanfang.gov.tw") return "DIRECT";119 if (dnsDomainIs(host, ".khms.gov.tw") || host == "khms.gov.tw") return "DIRECT";120 if (dnsDomainIs(host, ".nmmba.gov.tw") || host == "nmmba.gov.tw") return "DIRECT";121 if (dnsDomainIs(host, ".khcc.gov.tw") || host == "khcc.gov.tw") return "DIRECT";122 if (dnsDomainIs(host, ".pet.gov.tw") || host == "pet.gov.tw") return "DIRECT";123 if (dnsDomainIs(host, ".ntl.gov.tw") || host == "ntl.gov.tw") return "DIRECT";124 if (dnsDomainIs(host, ".nmtl.gov.tw") || host == "nmtl.gov.tw") return "DIRECT";125 if (dnsDomainIs(host, ".ner.gov.tw") || host == "ner.gov.tw") return "DIRECT";126 if (dnsDomainIs(host, ".ntsec.gov.tw") || host == "ntsec.gov.tw") return "DIRECT";127 if (dnsDomainIs(host, ".nstm.gov.tw") || host == "nstm.gov.tw") return "DIRECT";128 if (dnsDomainIs(host, ".nhri.gov.tw") || host == "nhri.gov.tw") return "DIRECT";129 if (dnsDomainIs(host, ".ntuh.gov.tw") || host == "ntuh.gov.tw") return "DIRECT";130 if (dnsDomainIs(host, ".hchcc.gov.tw") || host == "hchcc.gov.tw") return "DIRECT";131 if (dnsDomainIs(host, ".aide.gov.tw") || host == "aide.gov.tw") return "DIRECT";132 if (dnsDomainIs(host, ".vghtc.gov.tw") || host == "vghtc.gov.tw") return "DIRECT";133 if (dnsDomainIs(host, ".dapu-house.gov.tw") || host == "dapu-house.gov.tw") return "DIRECT";134 if (dnsDomainIs(host, ".nerhl.gov.tw") || host == "nerhl.gov.tw") return "DIRECT";135 if (dnsDomainIs(host, ".matsu-news.gov.tw") || host == "matsu-news.gov.tw") return "DIRECT";136 if (dnsDomainIs(host, ".tpde.aide.gov.tw") || host == "tpde.aide.gov.tw") return "DIRECT";137 if (dnsDomainIs(host, ".grb.gov.tw") || host == "grb.gov.tw") return "DIRECT";138 if (dnsDomainIs(host, ".ntdmh.gov.tw") || host == "ntdmh.gov.tw") return "DIRECT";139 if (dnsDomainIs(host, ".nmmba.gov.tw") || host == "nmmba.gov.tw") return "DIRECT";140 if (dnsDomainIs(host, ".stdtime.gov.tw") || host == "stdtime.gov.tw") return "DIRECT";141 if (dnsDomainIs(host, ".mvdis.gov.tw") || host == "mvdis.gov.tw") return "DIRECT";142 if (dnsDomainIs(host, ".aec.gov.tw") || host == "aec.gov.tw") return "DIRECT";143 if (dnsDomainIs(host, ".yatsen.gov.tw") || host == "yatsen.gov.tw") return "DIRECT";144 if (dnsDomainIs(host, ".npm.gov.tw") || host == "npm.gov.tw") return "DIRECT";145 if (dnsDomainIs(host, ".cwb.gov.tw") || host == "cwb.gov.tw") return "DIRECT";146 if (dnsDomainIs(host, ".moe.gov.tw") || host == "moe.gov.tw") return "DIRECT";147 if (dnsDomainIs(host, ".tax.nat.gov.tw") || host == "tax.nat.gov.tw") return "DIRECT";148 if (dnsDomainIs(host, ".static.typepad.com") || host == "static.typepad.com") return "DIRECT";149 if (dnsDomainIs(host, ".www.typepad.com") || host == "www.typepad.com") return "DIRECT";150 if (dnsDomainIs(host, ".www.tripod.com") || host == "www.tripod.com") return "DIRECT";151 if (dnsDomainIs(host, ".static.soup.io") || host == "static.soup.io") return "DIRECT";152 if (dnsDomainIs(host, ".simplecd.me") || host == "simplecd.me") return "DIRECT";153 if (dnsDomainIs(host, ".www.kodingen.com") || host == "www.kodingen.com") return "DIRECT";154 if (dnsDomainIs(host, ".music.jwmusic.org") || host == "music.jwmusic.org") return "DIRECT";155 if (dnsDomainIs(host, ".myvlog.im.tv") || host == "myvlog.im.tv") return "DIRECT";156 if (dnsDomainIs(host, ".f.cl.ly") || host == "f.cl.ly") return "DIRECT";157 if (dnsDomainIs(host, ".haygo.com") || host == "haygo.com") return "DIRECT";158 if (dnsDomainIs(host, ".download.syniumsoftware.com") || host == "download.syniumsoftware.com") return "DIRECT";159 if (dnsDomainIs(host, ".site.locql.com") || host == "site.locql.com") return "DIRECT";160 if (dnsDomainIs(host, ".*v6.facebook.com") || host == "*v6.facebook.com") return "DIRECT";161 if (dnsDomainIs(host, ".www.exblog.jp") || host == "www.exblog.jp") return "DIRECT";162 if (host.indexOf(".lsxszzg.com") >= 0) return "PROXY GOAGENT_LISTEN";163 if (dnsDomainIs(host, ".altrec.com") || host == "altrec.com") return "PROXY GOAGENT_LISTEN";164 if (dnsDomainIs(host, ".azubu.tv") || host == "azubu.tv") return "PROXY GOAGENT_LISTEN";165 if (dnsDomainIs(host, ".beeg.com") || host == "beeg.com") return "PROXY GOAGENT_LISTEN";166 if (dnsDomainIs(host, ".darpa.mil") || host == "darpa.mil") return "PROXY GOAGENT_LISTEN";167 if (dnsDomainIs(host, ".fastpic.ru") || host == "fastpic.ru") return "PROXY GOAGENT_LISTEN";168 if (dnsDomainIs(host, ".fxnetworks.com") || host == "fxnetworks.com") return "PROXY GOAGENT_LISTEN";169 if (host.indexOf("hulu.com") >= 0) return "PROXY GOAGENT_LISTEN";170 if (host.indexOf("huluim.com") >= 0) return "PROXY GOAGENT_LISTEN";171 if (url.indexOf("http://www.ilovelongtoes.com/") == 0) return "PROXY GOAGENT_LISTEN";172 if (dnsDomainIs(host, ".metarthunter.com") || host == "metarthunter.com") return "PROXY GOAGENT_LISTEN";173 if (dnsDomainIs(host, ".muzu.tv") || host == "muzu.tv") return "PROXY GOAGENT_LISTEN";174 if (url.indexOf("http://www.nbc.com/live") == 0) return "PROXY GOAGENT_LISTEN";175 if (dnsDomainIs(host, ".netflix.com") || host == "netflix.com") return "PROXY GOAGENT_LISTEN";176 if (dnsDomainIs(host, ".pandora.com") || host == "pandora.com") return "PROXY GOAGENT_LISTEN";177 if (host.indexOf(".pandora.tv") >= 0) return "PROXY GOAGENT_LISTEN";178 if (url.indexOf("http://www.parkansky.com") == 0) return "PROXY GOAGENT_LISTEN";179 if (url.indexOf("http://*.pimg.tw/") == 0) return "PROXY GOAGENT_LISTEN";180 if (dnsDomainIs(host, ".pure18.com") || host == "pure18.com") return "PROXY GOAGENT_LISTEN";181 if (dnsDomainIs(host, ".rdio.com") || host == "rdio.com") return "PROXY GOAGENT_LISTEN";182 if (url.indexOf("http://cdn*.search.xxx/") == 0) return "PROXY GOAGENT_LISTEN";183 if (dnsDomainIs(host, ".slacker.com") || host == "slacker.com") return "PROXY GOAGENT_LISTEN";184 if (dnsDomainIs(host, ".spotify.com") || host == "spotify.com") return "PROXY GOAGENT_LISTEN";185 if (dnsDomainIs(host, ".springboardplatform.com") || host == "springboardplatform.com") return "PROXY GOAGENT_LISTEN";186 if (dnsDomainIs(host, ".target.com") || host == "target.com") return "PROXY GOAGENT_LISTEN";187 if (dnsDomainIs(host, ".turntable.fm") || host == "turntable.fm") return "PROXY GOAGENT_LISTEN";188 if (dnsDomainIs(host, ".vevo.com") || host == "vevo.com") return "PROXY GOAGENT_LISTEN";189 if (dnsDomainIs(host, ".zattoo.com") || host == "zattoo.com") return "PROXY GOAGENT_LISTEN";190 if (dnsDomainIs(host, ".qq.co.za") || host == "qq.co.za") return "PROXY GOAGENT_LISTEN";191 if (dnsDomainIs(host, ".zozotown.com") || host == "zozotown.com") return "PROXY GOAGENT_LISTEN";192 if (host.indexOf(".0rz.tw") >= 0) return "PROXY GOAGENT_LISTEN";193 if (url.indexOf("http://0rz.tw") == 0) return "PROXY GOAGENT_LISTEN";194 if (dnsDomainIs(host, ".0to255.com") || host == "0to255.com") return "PROXY GOAGENT_LISTEN";195 if (dnsDomainIs(host, ".1-apple.com.tw") || host == "1-apple.com.tw") return "PROXY GOAGENT_LISTEN";196 if (host.indexOf(".10conditionsoflove.com") >= 0) return "PROXY GOAGENT_LISTEN";197 if (dnsDomainIs(host, ".10musume.com") || host == "10musume.com") return "PROXY GOAGENT_LISTEN";198 if (host.indexOf("123rf.com") >= 0) return "PROXY GOAGENT_LISTEN";199 if (dnsDomainIs(host, ".12bet.com") || host == "12bet.com") return "PROXY GOAGENT_LISTEN";200 if (dnsDomainIs(host, ".12vpn.com") || host == "12vpn.com") return "PROXY GOAGENT_LISTEN";201 if (url.indexOf("141hongkong.com/forum") >= 0) return "PROXY GOAGENT_LISTEN";202 if (host.indexOf(".17t17p.com") >= 0) return "PROXY GOAGENT_LISTEN";203 if (dnsDomainIs(host, ".173ng.com") || host == "173ng.com") return "PROXY GOAGENT_LISTEN";204 if (dnsDomainIs(host, ".1984bbs.com") || host == "1984bbs.com") return "PROXY GOAGENT_LISTEN";205 if (dnsDomainIs(host, ".1984bbs.org") || host == "1984bbs.org") return "PROXY GOAGENT_LISTEN";206 if (host.indexOf(".1bao.org") >= 0) return "PROXY GOAGENT_LISTEN";207 if (url.indexOf("http://1bao.org") == 0) return "PROXY GOAGENT_LISTEN";208 if (dnsDomainIs(host, ".1pondo.tv") || host == "1pondo.tv") return "PROXY GOAGENT_LISTEN";209 if (host.indexOf(".1eew.com") >= 0) return "PROXY GOAGENT_LISTEN";210 if (host.indexOf(".2-hand.info") >= 0) return "PROXY GOAGENT_LISTEN";211 if (url.indexOf(".2000fun.com/bbs") >= 0) return "PROXY GOAGENT_LISTEN";212 if (dnsDomainIs(host, ".2008xianzhang.info") || host == "2008xianzhang.info") return "PROXY GOAGENT_LISTEN";213 if (host.indexOf(".213.so") >= 0) return "PROXY GOAGENT_LISTEN";214 if (url.indexOf("21andy.com/blog") >= 0) return "PROXY GOAGENT_LISTEN";215 if (host.indexOf("24smile.org") >= 0) return "PROXY GOAGENT_LISTEN";216 if (host.indexOf(".2shared.com") >= 0) return "PROXY GOAGENT_LISTEN";217 if (host.indexOf(".315lz.com") >= 0) return "PROXY GOAGENT_LISTEN";218 if (dnsDomainIs(host, ".32red.com") || host == "32red.com") return "PROXY GOAGENT_LISTEN";219 if (dnsDomainIs(host, ".36rain.com") || host == "36rain.com") return "PROXY GOAGENT_LISTEN";220 if (host.indexOf(".3boys2girls.com") >= 0) return "PROXY GOAGENT_LISTEN";221 if (dnsDomainIs(host, ".4bluestones.biz") || host == "4bluestones.biz") return "PROXY GOAGENT_LISTEN";222 if (dnsDomainIs(host, ".4chan.org") || host == "4chan.org") return "PROXY GOAGENT_LISTEN";223 if (dnsDomainIs(host, ".4shared.com") || host == "4shared.com") return "PROXY GOAGENT_LISTEN";224 if (host.indexOf("5i01.com") >= 0) return "PROXY GOAGENT_LISTEN";225 if (host.indexOf("taiwannation.50webs.com") >= 0) return "PROXY GOAGENT_LISTEN";226 if (dnsDomainIs(host, ".51.ca") || host == "51.ca") return "PROXY GOAGENT_LISTEN";227 if (host.indexOf(".5maodang.com") >= 0) return "PROXY GOAGENT_LISTEN";228 if (host.indexOf("64memo") >= 0) return "PROXY GOAGENT_LISTEN";229 if (host.indexOf("64tianwang.com") >= 0) return "PROXY GOAGENT_LISTEN";230 if (host.indexOf("64wiki.com") >= 0) return "PROXY GOAGENT_LISTEN";231 if (host.indexOf("666kb.com") >= 0) return "PROXY GOAGENT_LISTEN";232 if (dnsDomainIs(host, ".6park.com") || host == "6park.com") return "PROXY GOAGENT_LISTEN";233 if (dnsDomainIs(host, ".www.6v6dota.com") || host == "www.6v6dota.com") return "PROXY GOAGENT_LISTEN";234 if (dnsDomainIs(host, ".7capture.com") || host == "7capture.com") return "PROXY GOAGENT_LISTEN";235 if (url.indexOf(".881903.com/page/zh-tw/") >= 0) return "PROXY GOAGENT_LISTEN";236 if (host.indexOf(".888.com") >= 0) return "PROXY GOAGENT_LISTEN";237 if (dnsDomainIs(host, ".881903.com") || host == "881903.com") return "PROXY GOAGENT_LISTEN";238 if (dnsDomainIs(host, ".89-64.org") || host == "89-64.org") return "PROXY GOAGENT_LISTEN";239 if (host.indexOf(".9001700.com") >= 0) return "PROXY GOAGENT_LISTEN";240 if (url.indexOf("http://908taiwan.org/") == 0) return "PROXY GOAGENT_LISTEN";241 if (url.indexOf("http://91porn.com") == 0) return "PROXY GOAGENT_LISTEN";242 if (host.indexOf(".92ccav.com") >= 0) return "PROXY GOAGENT_LISTEN";243 if (dnsDomainIs(host, ".9bis.com") || host == "9bis.com") return "PROXY GOAGENT_LISTEN";244 if (dnsDomainIs(host, ".9bis.net") || host == "9bis.net") return "PROXY GOAGENT_LISTEN";245 if (dnsDomainIs(host, ".a-normal-day.com") || host == "a-normal-day.com") return "PROXY GOAGENT_LISTEN";246 if (host.indexOf("a5.com.ru") >= 0) return "PROXY GOAGENT_LISTEN";247 if (url.indexOf("http://aamacau.com") == 0) return "PROXY GOAGENT_LISTEN";248 if (url.indexOf("http://cdn*.abc.com/") == 0) return "PROXY GOAGENT_LISTEN";249 if (host.indexOf(".ablwang.com") >= 0) return "PROXY GOAGENT_LISTEN";250 if (dnsDomainIs(host, ".aboluowang.com") || host == "aboluowang.com") return "PROXY GOAGENT_LISTEN";251 if (host.indexOf(".aboutgfw.com") >= 0) return "PROXY GOAGENT_LISTEN";252 if (dnsDomainIs(host, ".acgkj.com") || host == "acgkj.com") return "PROXY GOAGENT_LISTEN";253 if (host.indexOf("actimes.com.au") >= 0) return "PROXY GOAGENT_LISTEN";254 if (dnsDomainIs(host, ".aculo.us") || host == "aculo.us") return "PROXY GOAGENT_LISTEN";255 if (dnsDomainIs(host, ".addictedtocoffee.de") || host == "addictedtocoffee.de") return "PROXY GOAGENT_LISTEN";256 if (host.indexOf("adultfriendfinder.com") >= 0) return "PROXY GOAGENT_LISTEN";257 if (url.indexOf("adultkeep.net/peepshow/members/main.htm") >= 0) return "PROXY GOAGENT_LISTEN";258 if (dnsDomainIs(host, ".advanscene.com") || host == "advanscene.com") return "PROXY GOAGENT_LISTEN";259 if (dnsDomainIs(host, ".advertfan.com") || host == "advertfan.com") return "PROXY GOAGENT_LISTEN";260 if (dnsDomainIs(host, ".aenhancers.com") || host == "aenhancers.com") return "PROXY GOAGENT_LISTEN";261 if (dnsDomainIs(host, ".af.mil") || host == "af.mil") return "PROXY GOAGENT_LISTEN";262 if (dnsDomainIs(host, ".aiph.net") || host == "aiph.net") return "PROXY GOAGENT_LISTEN";263 if (host.indexOf(".aisex.com") >= 0) return "PROXY GOAGENT_LISTEN";264 if (dnsDomainIs(host, ".ait.org.tw") || host == "ait.org.tw") return "PROXY GOAGENT_LISTEN";265 if (url.indexOf("http://aiweiwei.com") == 0) return "PROXY GOAGENT_LISTEN";266 if (dnsDomainIs(host, ".aiweiweiblog.com") || host == "aiweiweiblog.com") return "PROXY GOAGENT_LISTEN";267 if (dnsDomainIs(host, ".www.ajsands.com") || host == "www.ajsands.com") return "PROXY GOAGENT_LISTEN";268 if (url.indexOf("https://fbcdn*.akamaihd.net/") == 0) return "PROXY GOAGENT_LISTEN";269 if (dnsDomainIs(host, ".akiba-online.com") || host == "akiba-online.com") return "PROXY GOAGENT_LISTEN";270 if (dnsDomainIs(host, ".al-qimmah.net") || host == "al-qimmah.net") return "PROXY GOAGENT_LISTEN";271 if (dnsDomainIs(host, ".alabout.com") || host == "alabout.com") return "PROXY GOAGENT_LISTEN";272 if (dnsDomainIs(host, ".alasbarricadas.org") || host == "alasbarricadas.org") return "PROXY GOAGENT_LISTEN";273 if (host.indexOf("alexlur.org") >= 0) return "PROXY GOAGENT_LISTEN";274 if (host.indexOf("aliengu.com") >= 0) return "PROXY GOAGENT_LISTEN";275 if (dnsDomainIs(host, ".alkasir.com") || host == "alkasir.com") return "PROXY GOAGENT_LISTEN";276 if (host.indexOf("allgirlsallowed.org") >= 0) return "PROXY GOAGENT_LISTEN";277 if (host.indexOf("alliance.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";278 if (host.indexOf(".allinfa.com") >= 0) return "PROXY GOAGENT_LISTEN";279 if (url.indexOf("http://allinfa.com") == 0) return "PROXY GOAGENT_LISTEN";280 if (dnsDomainIs(host, ".allmovie.com") || host == "allmovie.com") return "PROXY GOAGENT_LISTEN";281 if (dnsDomainIs(host, ".alternate-tools.com") || host == "alternate-tools.com") return "PROXY GOAGENT_LISTEN";282 if (host.indexOf("alvinalexander.com") >= 0) return "PROXY GOAGENT_LISTEN";283 if (dnsDomainIs(host, ".alwaysdata.com") || host == "alwaysdata.com") return "PROXY GOAGENT_LISTEN";284 if (dnsDomainIs(host, ".alwaysdata.net") || host == "alwaysdata.net") return "PROXY GOAGENT_LISTEN";285 if (dnsDomainIs(host, ".am730.com.hk") || host == "am730.com.hk") return "PROXY GOAGENT_LISTEN";286 if (url.indexOf("amazon.com/Prisoner-State-Secret-Journal-Premier") >= 0) return "PROXY GOAGENT_LISTEN";287 if (dnsDomainIs(host, ".ameblo.jp") || host == "ameblo.jp") return "PROXY GOAGENT_LISTEN";288 if (dnsDomainIs(host, ".americangreencard.com") || host == "americangreencard.com") return "PROXY GOAGENT_LISTEN";289 if (dnsDomainIs(host, ".amiblockedornot.com") || host == "amiblockedornot.com") return "PROXY GOAGENT_LISTEN";290 if (dnsDomainIs(host, ".amnesty.org") || host == "amnesty.org") return "PROXY GOAGENT_LISTEN";291 if (dnsDomainIs(host, ".amnestyusa.org") || host == "amnestyusa.org") return "PROXY GOAGENT_LISTEN";292 if (host.indexOf(".amoiist.com") >= 0) return "PROXY GOAGENT_LISTEN";293 if (host.indexOf("analyze-v.com") >= 0) return "PROXY GOAGENT_LISTEN";294 if (dnsDomainIs(host, ".anchorfree.com") || host == "anchorfree.com") return "PROXY GOAGENT_LISTEN";295 if (dnsDomainIs(host, ".ancsconf.org") || host == "ancsconf.org") return "PROXY GOAGENT_LISTEN";296 if (dnsDomainIs(host, ".andfaraway.net") || host == "andfaraway.net") return "PROXY GOAGENT_LISTEN";297 if (dnsDomainIs(host, ".android.com") || host == "android.com") return "PROXY GOAGENT_LISTEN";298 if (dnsDomainIs(host, ".angularjs.org") || host == "angularjs.org") return "PROXY GOAGENT_LISTEN";299 if (host.indexOf("animecrazy.net") >= 0) return "PROXY GOAGENT_LISTEN";300 if (dnsDomainIs(host, ".anobii.com") || host == "anobii.com") return "PROXY GOAGENT_LISTEN";301 if (host.indexOf(".anonymizer.com") >= 0) return "PROXY GOAGENT_LISTEN";302 if (host.indexOf("anontext.com") >= 0) return "PROXY GOAGENT_LISTEN";303 if (host.indexOf(".answering-islam.org") >= 0) return "PROXY GOAGENT_LISTEN";304 if (url.indexOf("http://www.antd.org") == 0) return "PROXY GOAGENT_LISTEN";305 if (dnsDomainIs(host, ".anthonycalzadilla.com") || host == "anthonycalzadilla.com") return "PROXY GOAGENT_LISTEN";306 if (host.indexOf(".antiwave.net") >= 0) return "PROXY GOAGENT_LISTEN";307 if (url.indexOf("http://antiwave.net") == 0) return "PROXY GOAGENT_LISTEN";308 if (dnsDomainIs(host, ".aobo.com.au") || host == "aobo.com.au") return "PROXY GOAGENT_LISTEN";309 if (dnsDomainIs(host, ".aolchannels.aol.com") || host == "aolchannels.aol.com") return "PROXY GOAGENT_LISTEN";310 if (url.indexOf("video.aol.ca/video-detail") >= 0) return "PROXY GOAGENT_LISTEN";311 if (url.indexOf("video.aol.co.uk/video-detail") >= 0) return "PROXY GOAGENT_LISTEN";312 if (dnsDomainIs(host, ".video.aol.com") || host == "video.aol.com") return "PROXY GOAGENT_LISTEN";313 if (host.indexOf("www.aolnews.com") >= 0) return "PROXY GOAGENT_LISTEN";314 if (dnsDomainIs(host, ".aomiwang.com") || host == "aomiwang.com") return "PROXY GOAGENT_LISTEN";315 if (host.indexOf("video.ap.org") >= 0) return "PROXY GOAGENT_LISTEN";316 if (host.indexOf(".apetube.com") >= 0) return "PROXY GOAGENT_LISTEN";317 if (dnsDomainIs(host, ".apiary.io") || host == "apiary.io") return "PROXY GOAGENT_LISTEN";318 if (dnsDomainIs(host, ".apigee.com") || host == "apigee.com") return "PROXY GOAGENT_LISTEN";319 if (host.indexOf("appledaily.com") >= 0) return "PROXY GOAGENT_LISTEN";320 if (host.indexOf("archive.is") >= 0) return "PROXY GOAGENT_LISTEN";321 if (dnsDomainIs(host, ".archive.org") || host == "archive.org") return "PROXY GOAGENT_LISTEN";322 if (host.indexOf(".arctosia.com") >= 0) return "PROXY GOAGENT_LISTEN";323 if (url.indexOf("http://arctosia.com") == 0) return "PROXY GOAGENT_LISTEN";324 if (dnsDomainIs(host, ".areca-backup.org") || host == "areca-backup.org") return "PROXY GOAGENT_LISTEN";325 if (dnsDomainIs(host, ".army.mil") || host == "army.mil") return "PROXY GOAGENT_LISTEN";326 if (host.indexOf("artsy.net") >= 0) return "PROXY GOAGENT_LISTEN";327 if (dnsDomainIs(host, ".asahichinese.com") || host == "asahichinese.com") return "PROXY GOAGENT_LISTEN";328 if (url.indexOf("asdfg.jp/dabr") >= 0) return "PROXY GOAGENT_LISTEN";329 if (url.indexOf("http://japanfirst.asianfreeforum.com/") == 0) return "PROXY GOAGENT_LISTEN";330 if (dnsDomainIs(host, ".asiaharvest.org") || host == "asiaharvest.org") return "PROXY GOAGENT_LISTEN";331 if (host.indexOf("asianews.it") >= 0) return "PROXY GOAGENT_LISTEN";332 if (dnsDomainIs(host, ".asianwomensfilm.de") || host == "asianwomensfilm.de") return "PROXY GOAGENT_LISTEN";333 if (dnsDomainIs(host, ".askstudent.com") || host == "askstudent.com") return "PROXY GOAGENT_LISTEN";334 if (dnsDomainIs(host, ".askynz.net") || host == "askynz.net") return "PROXY GOAGENT_LISTEN";335 if (dnsDomainIs(host, ".assembla.com") || host == "assembla.com") return "PROXY GOAGENT_LISTEN";336 if (dnsDomainIs(host, ".astonmartinnews.com") || host == "astonmartinnews.com") return "PROXY GOAGENT_LISTEN";337 if (dnsDomainIs(host, ".astrill.com") || host == "astrill.com") return "PROXY GOAGENT_LISTEN";338 if (dnsDomainIs(host, ".atc.org.au") || host == "atc.org.au") return "PROXY GOAGENT_LISTEN";339 if (host.indexOf(".atchinese.com") >= 0) return "PROXY GOAGENT_LISTEN";340 if (url.indexOf("http://atchinese.com") == 0) return "PROXY GOAGENT_LISTEN";341 if (host.indexOf("atgfw.org") >= 0) return "PROXY GOAGENT_LISTEN";342 if (dnsDomainIs(host, ".atj.org.tw") || host == "atj.org.tw") return "PROXY GOAGENT_LISTEN";343 if (dnsDomainIs(host, ".atlaspost.com") || host == "atlaspost.com") return "PROXY GOAGENT_LISTEN";344 if (dnsDomainIs(host, ".atnext.com") || host == "atnext.com") return "PROXY GOAGENT_LISTEN";345 if (dnsDomainIs(host, ".avaaz.org") || host == "avaaz.org") return "PROXY GOAGENT_LISTEN";346 if (dnsDomainIs(host, ".avast.com") || host == "avast.com") return "PROXY GOAGENT_LISTEN";347 if (dnsDomainIs(host, ".avdb.in") || host == "avdb.in") return "PROXY GOAGENT_LISTEN";348 if (dnsDomainIs(host, ".avdb.tv") || host == "avdb.tv") return "PROXY GOAGENT_LISTEN";349 if (dnsDomainIs(host, ".avidemux.org") || host == "avidemux.org") return "PROXY GOAGENT_LISTEN";350 if (dnsDomainIs(host, ".avoision.com") || host == "avoision.com") return "PROXY GOAGENT_LISTEN";351 if (dnsDomainIs(host, ".axureformac.com") || host == "axureformac.com") return "PROXY GOAGENT_LISTEN";352 if (host.indexOf("forum.baby-kingdom.com") >= 0) return "PROXY GOAGENT_LISTEN";353 if (host.indexOf("babynet.com.hk") >= 0) return "PROXY GOAGENT_LISTEN";354 if (dnsDomainIs(host, ".backchina.com") || host == "backchina.com") return "PROXY GOAGENT_LISTEN";355 if (url.indexOf(".backpackers.com.tw/forum") >= 0) return "PROXY GOAGENT_LISTEN";356 if (host.indexOf("backtotiananmen.com") >= 0) return "PROXY GOAGENT_LISTEN";357 if (host.indexOf("badoo.com") >= 0) return "PROXY GOAGENT_LISTEN";358 if (url.indexOf("http://*2.bahamut.com.tw") == 0) return "PROXY GOAGENT_LISTEN";359 if (dnsDomainIs(host, ".baidu.jp") || host == "baidu.jp") return "PROXY GOAGENT_LISTEN";360 if (dnsDomainIs(host, ".baixing.me") || host == "baixing.me") return "PROXY GOAGENT_LISTEN";361 if (host.indexOf("hen.bao.li") >= 0) return "PROXY GOAGENT_LISTEN";362 if (dnsDomainIs(host, ".bannedbook.org") || host == "bannedbook.org") return "PROXY GOAGENT_LISTEN";363 if (host.indexOf(".barenakedislam.com") >= 0) return "PROXY GOAGENT_LISTEN";364 if (dnsDomainIs(host, ".barnabu.co.uk") || host == "barnabu.co.uk") return "PROXY GOAGENT_LISTEN";365 if (dnsDomainIs(host, ".bayvoice.net") || host == "bayvoice.net") return "PROXY GOAGENT_LISTEN";366 if (host.indexOf("dajusha.baywords.com") >= 0) return "PROXY GOAGENT_LISTEN";367 if (shExpMatch(url, "*.bbc.co.uk*chinese*")) return "PROXY GOAGENT_LISTEN";368 if (url.indexOf(".bbc.co.uk/tv") >= 0) return "PROXY GOAGENT_LISTEN";369 if (shExpMatch(url, "*.bbc.co.uk*zhongwen*")) return "PROXY GOAGENT_LISTEN";370 if (shExpMatch(url, "*news.bbc.co.uk/onthisday*newsid_2496000/2496277*")) return "PROXY GOAGENT_LISTEN";371 if (host.indexOf("newsforums.bbc.co.uk") >= 0) return "PROXY GOAGENT_LISTEN";372 if (dnsDomainIs(host, ".bbcchinese.com") || host == "bbcchinese.com") return "PROXY GOAGENT_LISTEN";373 if (url.indexOf("http://bbc.in") == 0) return "PROXY GOAGENT_LISTEN";374 if (host.indexOf(".bbg.gov") >= 0) return "PROXY GOAGENT_LISTEN";375 if (dnsDomainIs(host, ".bbsfeed.com") || host == "bbsfeed.com") return "PROXY GOAGENT_LISTEN";376 if (host.indexOf("bbsland.com") >= 0) return "PROXY GOAGENT_LISTEN";377 if (url.indexOf(".bcc.com.tw/board") >= 0) return "PROXY GOAGENT_LISTEN";378 if (host.indexOf(".bcchinese.net") >= 0) return "PROXY GOAGENT_LISTEN";379 if (dnsDomainIs(host, ".bebo.com") || host == "bebo.com") return "PROXY GOAGENT_LISTEN";380 if (dnsDomainIs(host, ".beijing1989.com") || host == "beijing1989.com") return "PROXY GOAGENT_LISTEN";381 if (dnsDomainIs(host, ".beijingspring.com") || host == "beijingspring.com") return "PROXY GOAGENT_LISTEN";382 if (dnsDomainIs(host, ".berlintwitterwall.com") || host == "berlintwitterwall.com") return "PROXY GOAGENT_LISTEN";383 if (dnsDomainIs(host, ".bestforchina.org") || host == "bestforchina.org") return "PROXY GOAGENT_LISTEN";384 if (host.indexOf(".bestvpnservice.com") >= 0) return "PROXY GOAGENT_LISTEN";385 if (dnsDomainIs(host, ".bet365.com") || host == "bet365.com") return "PROXY GOAGENT_LISTEN";386 if (host.indexOf(".betfair.com") >= 0) return "PROXY GOAGENT_LISTEN";387 if (dnsDomainIs(host, ".bettween.com") || host == "bettween.com") return "PROXY GOAGENT_LISTEN";388 if (dnsDomainIs(host, ".betvictor.com") || host == "betvictor.com") return "PROXY GOAGENT_LISTEN";389 if (host.indexOf(".bewww.net") >= 0) return "PROXY GOAGENT_LISTEN";390 if (host.indexOf(".beyondfirewall.com") >= 0) return "PROXY GOAGENT_LISTEN";391 if (dnsDomainIs(host, ".bfnn.org") || host == "bfnn.org") return "PROXY GOAGENT_LISTEN";392 if (dnsDomainIs(host, ".bfsh.hk/") || host == "bfsh.hk/") return "PROXY GOAGENT_LISTEN";393 if (host.indexOf("biantailajiao.com") >= 0) return "PROXY GOAGENT_LISTEN";394 if (host.indexOf("biantailajiao.in") >= 0) return "PROXY GOAGENT_LISTEN";395 if (host.indexOf(".bic2011.org") >= 0) return "PROXY GOAGENT_LISTEN";396 if (host.indexOf("bigfools.com") >= 0) return "PROXY GOAGENT_LISTEN";397 if (dnsDomainIs(host, ".bignews.org") || host == "bignews.org") return "PROXY GOAGENT_LISTEN";398 if (url.indexOf(".bigsound.org/portnoy") >= 0) return "PROXY GOAGENT_LISTEN";399 if (dnsDomainIs(host, ".bill2-software.com") || host == "bill2-software.com") return "PROXY GOAGENT_LISTEN";400 if (url.indexOf("billypan.com/wiki/%E9%A6%96%E9%A0%81") >= 0) return "PROXY GOAGENT_LISTEN";401 if (dnsDomainIs(host, ".billywr.com") || host == "billywr.com") return "PROXY GOAGENT_LISTEN";402 if (host.indexOf("bipic.net") >= 0) return "PROXY GOAGENT_LISTEN";403 if (host.indexOf(".bit.ly") >= 0) return "PROXY GOAGENT_LISTEN";404 if (url.indexOf("http://bit.ly") == 0) return "PROXY GOAGENT_LISTEN";405 if (dnsDomainIs(host, ".bitcointalk.org") || host == "bitcointalk.org") return "PROXY GOAGENT_LISTEN";406 if (dnsDomainIs(host, ".bitshare.com") || host == "bitshare.com") return "PROXY GOAGENT_LISTEN";407 if (host.indexOf("bjzc.org") >= 0) return "PROXY GOAGENT_LISTEN";408 if (dnsDomainIs(host, ".bjzc.org/") || host == "bjzc.org/") return "PROXY GOAGENT_LISTEN";409 if (host.indexOf("tor.blingblingsquad.net") >= 0) return "PROXY GOAGENT_LISTEN";410 if (dnsDomainIs(host, ".blinkx.com") || host == "blinkx.com") return "PROXY GOAGENT_LISTEN";411 if (host.indexOf("blinw.com") >= 0) return "PROXY GOAGENT_LISTEN";412 if (host.indexOf(".blip.tv") >= 0) return "PROXY GOAGENT_LISTEN";413 if (dnsDomainIs(host, ".blip.tv/") || host == "blip.tv/") return "PROXY GOAGENT_LISTEN";414 if (dnsDomainIs(host, ".blockcn.com") || host == "blockcn.com") return "PROXY GOAGENT_LISTEN";415 if (dnsDomainIs(host, ".blog.de") || host == "blog.de") return "PROXY GOAGENT_LISTEN";416 if (dnsDomainIs(host, ".blogblog.com") || host == "blogblog.com") return "PROXY GOAGENT_LISTEN";417 if (dnsDomainIs(host, ".blogcatalog.com") || host == "blogcatalog.com") return "PROXY GOAGENT_LISTEN";418 if (dnsDomainIs(host, ".blogger.com") || host == "blogger.com") return "PROXY GOAGENT_LISTEN";419 if (host.indexOf("blogimg.jp") >= 0) return "PROXY GOAGENT_LISTEN";420 if (dnsDomainIs(host, ".blog.kangye.org") || host == "blog.kangye.org") return "PROXY GOAGENT_LISTEN";421 if (dnsDomainIs(host, ".bloglines.com") || host == "bloglines.com") return "PROXY GOAGENT_LISTEN";422 if (dnsDomainIs(host, ".bloglovin.com") || host == "bloglovin.com") return "PROXY GOAGENT_LISTEN";423 if (host.indexOf("rconversation.blogs.com") >= 0) return "PROXY GOAGENT_LISTEN";424 if (/^https?:\/\/[^\/]+blogspot\.(.*)/i.test(url)) return "PROXY GOAGENT_LISTEN";425 if (host.indexOf("blogtd.net") >= 0) return "PROXY GOAGENT_LISTEN";426 if (host.indexOf(".blogtd.org") >= 0) return "PROXY GOAGENT_LISTEN";427 if (url.indexOf("http://blogtd.org") == 0) return "PROXY GOAGENT_LISTEN";428 if (dnsDomainIs(host, ".bloodshed.net") || host == "bloodshed.net") return "PROXY GOAGENT_LISTEN";429 if (dnsDomainIs(host, ".bloomberg.cn") || host == "bloomberg.cn") return "PROXY GOAGENT_LISTEN";430 if (dnsDomainIs(host, ".bloomberg.com") || host == "bloomberg.com") return "PROXY GOAGENT_LISTEN";431 if (dnsDomainIs(host, ".bloomberg.de") || host == "bloomberg.de") return "PROXY GOAGENT_LISTEN";432 if (dnsDomainIs(host, ".bloomfortune.com") || host == "bloomfortune.com") return "PROXY GOAGENT_LISTEN";433 if (dnsDomainIs(host, ".bnrmetal.com") || host == "bnrmetal.com") return "PROXY GOAGENT_LISTEN";434 if (url.indexOf("boardreader.com/thread") >= 0) return "PROXY GOAGENT_LISTEN";435 if (dnsDomainIs(host, ".boardreader.com") || host == "boardreader.com") return "PROXY GOAGENT_LISTEN";436 if (host.indexOf("bonbonme.com") >= 0) return "PROXY GOAGENT_LISTEN";437 if (dnsDomainIs(host, ".boobstagram.com") || host == "boobstagram.com") return "PROXY GOAGENT_LISTEN";438 if (dnsDomainIs(host, ".book.com.tw") || host == "book.com.tw") return "PROXY GOAGENT_LISTEN";439 if (dnsDomainIs(host, ".books.com.tw") || host == "books.com.tw") return "PROXY GOAGENT_LISTEN";440 if (dnsDomainIs(host, ".botanwang.com") || host == "botanwang.com") return "PROXY GOAGENT_LISTEN";441 if (host.indexOf(".bot.nu") >= 0) return "PROXY GOAGENT_LISTEN";442 if (dnsDomainIs(host, ".bowenpress.com") || host == "bowenpress.com") return "PROXY GOAGENT_LISTEN";443 if (dnsDomainIs(host, ".dl.box.net") || host == "dl.box.net") return "PROXY GOAGENT_LISTEN";444 if (dnsDomainIs(host, ".boxun.com") || host == "boxun.com") return "PROXY GOAGENT_LISTEN";445 if (dnsDomainIs(host, ".boxun.tv") || host == "boxun.tv") return "PROXY GOAGENT_LISTEN";446 if (dnsDomainIs(host, ".boxunblog.com") || host == "boxunblog.com") return "PROXY GOAGENT_LISTEN";447 if (host.indexOf(".boxunclub.com") >= 0) return "PROXY GOAGENT_LISTEN";448 if (dnsDomainIs(host, ".br.st") || host == "br.st") return "PROXY GOAGENT_LISTEN";449 if (dnsDomainIs(host, ".brandonhutchinson.com") || host == "brandonhutchinson.com") return "PROXY GOAGENT_LISTEN";450 if (dnsDomainIs(host, ".braumeister.org") || host == "braumeister.org") return "PROXY GOAGENT_LISTEN";451 if (dnsDomainIs(host, ".break.com") || host == "break.com") return "PROXY GOAGENT_LISTEN";452 if (dnsDomainIs(host, ".breakingtweets.com") || host == "breakingtweets.com") return "PROXY GOAGENT_LISTEN";453 if (dnsDomainIs(host, ".breakwall.net") || host == "breakwall.net") return "PROXY GOAGENT_LISTEN";454 if (url.indexOf(".briefdream.com/%E7%B4%A0%E6%A3%BA") >= 0) return "PROXY GOAGENT_LISTEN";455 if (dnsDomainIs(host, ".brightkite.com") || host == "brightkite.com") return "PROXY GOAGENT_LISTEN";456 if (dnsDomainIs(host, ".brizzly.com") || host == "brizzly.com") return "PROXY GOAGENT_LISTEN";457 if (host.indexOf("broadbook.com") >= 0) return "PROXY GOAGENT_LISTEN";458 if (host.indexOf("ibros.org") >= 0) return "PROXY GOAGENT_LISTEN";459 if (host.indexOf("brucewang.net") >= 0) return "PROXY GOAGENT_LISTEN";460 if (dnsDomainIs(host, ".bt95.com") || host == "bt95.com") return "PROXY GOAGENT_LISTEN";461 if (url.indexOf("http://btdigg.org") == 0) return "PROXY GOAGENT_LISTEN";462 if (dnsDomainIs(host, ".budaedu.org") || host == "budaedu.org") return "PROXY GOAGENT_LISTEN";463 if (dnsDomainIs(host, ".bullog.org") || host == "bullog.org") return "PROXY GOAGENT_LISTEN";464 if (dnsDomainIs(host, ".bullogger.com") || host == "bullogger.com") return "PROXY GOAGENT_LISTEN";465 if (url.indexOf("http://www.businessinsider.com.au/*") == 0) return "PROXY GOAGENT_LISTEN";466 if (url.indexOf("http://static*.businessinsider.com/") == 0) return "PROXY GOAGENT_LISTEN";467 if (host.indexOf(".businessweek.com") >= 0) return "PROXY GOAGENT_LISTEN";468 if (host.indexOf(".businesstimes.com.cn") >= 0) return "PROXY GOAGENT_LISTEN";469 if (url.indexOf("http://businesstimes.com.cn") == 0) return "PROXY GOAGENT_LISTEN";470 if (dnsDomainIs(host, ".bugclub.org") || host == "bugclub.org") return "PROXY GOAGENT_LISTEN";471 if (dnsDomainIs(host, ".buugaa.com") || host == "buugaa.com") return "PROXY GOAGENT_LISTEN";472 if (host.indexOf(".buzzhand.com") >= 0) return "PROXY GOAGENT_LISTEN";473 if (host.indexOf("buzzurl.jp") >= 0) return "PROXY GOAGENT_LISTEN";474 if (host.indexOf("bwsj.hk") >= 0) return "PROXY GOAGENT_LISTEN";475 if (dnsDomainIs(host, ".bx.tl") || host == "bx.tl") return "PROXY GOAGENT_LISTEN";476 if (host.indexOf("holz.byethost8.com") >= 0) return "PROXY GOAGENT_LISTEN";477 if (dnsDomainIs(host, ".c-spanvideo.org") || host == "c-spanvideo.org") return "PROXY GOAGENT_LISTEN";478 if (dnsDomainIs(host, ".c-est-simple.com") || host == "c-est-simple.com") return "PROXY GOAGENT_LISTEN";479 if (host.indexOf(".cacnw.com") >= 0) return "PROXY GOAGENT_LISTEN";480 if (dnsDomainIs(host, ".cactusvpn.com") || host == "cactusvpn.com") return "PROXY GOAGENT_LISTEN";481 if (host.indexOf(".cafepress.com") >= 0) return "PROXY GOAGENT_LISTEN";482 if (host.indexOf(".cahr.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";483 if (url.indexOf(".calameo.com/books") >= 0) return "PROXY GOAGENT_LISTEN";484 if (host.indexOf("cn.calameo.com") >= 0) return "PROXY GOAGENT_LISTEN";485 if (url.indexOf("http://cn.calameo.com") == 0) return "PROXY GOAGENT_LISTEN";486 if (dnsDomainIs(host, ".cams.com") || host == "cams.com") return "PROXY GOAGENT_LISTEN";487 if (host.indexOf(".cams.org.sg") >= 0) return "PROXY GOAGENT_LISTEN";488 if (host.indexOf("canadameet.com") >= 0) return "PROXY GOAGENT_LISTEN";489 if (url.indexOf("http://bbs.cantonese.asia/") == 0) return "PROXY GOAGENT_LISTEN";490 if (host.indexOf(".canyu.org") >= 0) return "PROXY GOAGENT_LISTEN";491 if (host.indexOf(".cao.im") >= 0) return "PROXY GOAGENT_LISTEN";492 if (dnsDomainIs(host, ".caobian.info") || host == "caobian.info") return "PROXY GOAGENT_LISTEN";493 if (url.indexOf("http://catcatbox.com/forum.php*") == 0) return "PROXY GOAGENT_LISTEN";494 if (dnsDomainIs(host, ".caochangqing.com") || host == "caochangqing.com") return "PROXY GOAGENT_LISTEN";495 if (host.indexOf("cari.com.my") >= 0) return "PROXY GOAGENT_LISTEN";496 if (dnsDomainIs(host, ".catch22.net") || host == "catch22.net") return "PROXY GOAGENT_LISTEN";497 if (dnsDomainIs(host, ".catfightpayperview.xxx") || host == "catfightpayperview.xxx") return "PROXY GOAGENT_LISTEN";498 if (dnsDomainIs(host, ".catholic.org.hk") || host == "catholic.org.hk") return "PROXY GOAGENT_LISTEN";499 if (dnsDomainIs(host, ".catholic.org.tw") || host == "catholic.org.tw") return "PROXY GOAGENT_LISTEN";500 if (dnsDomainIs(host, ".cattt.com") || host == "cattt.com") return "PROXY GOAGENT_LISTEN";501 if (url.indexOf(".cbsnews.com/video") >= 0) return "PROXY GOAGENT_LISTEN";502 if (dnsDomainIs(host, ".ccavtop10.com") || host == "ccavtop10.com") return "PROXY GOAGENT_LISTEN";503 if (dnsDomainIs(host, ".ccdtr.org") || host == "ccdtr.org") return "PROXY GOAGENT_LISTEN";504 if (host.indexOf(".ccim.org") >= 0) return "PROXY GOAGENT_LISTEN";505 if (host.indexOf("cclife.org") >= 0) return "PROXY GOAGENT_LISTEN";506 if (host.indexOf(".ccthere.com") >= 0) return "PROXY GOAGENT_LISTEN";507 if (url.indexOf(".cctongbao.com/article/2078732") >= 0) return "PROXY GOAGENT_LISTEN";508 if (host.indexOf("ccue.ca") >= 0) return "PROXY GOAGENT_LISTEN";509 if (host.indexOf("ccue.com") >= 0) return "PROXY GOAGENT_LISTEN";510 if (host.indexOf(".cgdepot.org") >= 0) return "PROXY GOAGENT_LISTEN";511 if (url.indexOf("http://cgdepot.org") == 0) return "PROXY GOAGENT_LISTEN";512 if (dnsDomainIs(host, ".cdig.info") || host == "cdig.info") return "PROXY GOAGENT_LISTEN";513 if (host.indexOf("cdjp.org") >= 0) return "PROXY GOAGENT_LISTEN";514 if (dnsDomainIs(host, ".cdjp.org/") || host == "cdjp.org/") return "PROXY GOAGENT_LISTEN";515 if (host.indexOf(".cdnews.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";516 if (dnsDomainIs(host, ".cdp1998.org") || host == "cdp1998.org") return "PROXY GOAGENT_LISTEN";517 if (dnsDomainIs(host, ".cdp2006.org") || host == "cdp2006.org") return "PROXY GOAGENT_LISTEN";518 if (host.indexOf(".cdpa.url.tw") >= 0) return "PROXY GOAGENT_LISTEN";519 if (host.indexOf("cdpusa.org") >= 0) return "PROXY GOAGENT_LISTEN";520 if (dnsDomainIs(host, ".cdpweb.org") || host == "cdpweb.org") return "PROXY GOAGENT_LISTEN";521 if (dnsDomainIs(host, ".cdpwu.org") || host == "cdpwu.org") return "PROXY GOAGENT_LISTEN";522 if (dnsDomainIs(host, ".cdw.com") || host == "cdw.com") return "PROXY GOAGENT_LISTEN";523 if (dnsDomainIs(host, ".cecc.gov") || host == "cecc.gov") return "PROXY GOAGENT_LISTEN";524 if (dnsDomainIs(host, ".cellulo.info") || host == "cellulo.info") return "PROXY GOAGENT_LISTEN";525 if (dnsDomainIs(host, ".cenci.tk") || host == "cenci.tk") return "PROXY GOAGENT_LISTEN";526 if (dnsDomainIs(host, ".cenews.eu") || host == "cenews.eu") return "PROXY GOAGENT_LISTEN";527 if (dnsDomainIs(host, ".centralnation.com") || host == "centralnation.com") return "PROXY GOAGENT_LISTEN";528 if (host.indexOf(".centurys.net") >= 0) return "PROXY GOAGENT_LISTEN";529 if (url.indexOf("http://centurys.net") == 0) return "PROXY GOAGENT_LISTEN";530 if (host.indexOf(".cfhks.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";531 if (host.indexOf(".cftfc.com") >= 0) return "PROXY GOAGENT_LISTEN";532 if (dnsDomainIs(host, ".chandoo.org") || host == "chandoo.org") return "PROXY GOAGENT_LISTEN";533 if (host.indexOf(".change.org") >= 0) return "PROXY GOAGENT_LISTEN";534 if (url.indexOf("http://change.org") == 0) return "PROXY GOAGENT_LISTEN";535 if (dnsDomainIs(host, ".changp.com") || host == "changp.com") return "PROXY GOAGENT_LISTEN";536 if (host.indexOf(".chapm25.com") >= 0) return "PROXY GOAGENT_LISTEN";537 if (host.indexOf(".chaturbate.com") >= 0) return "PROXY GOAGENT_LISTEN";538 if (host.indexOf("chengmingmag.com") >= 0) return "PROXY GOAGENT_LISTEN";539 if (dnsDomainIs(host, ".chenguangcheng.com") || host == "chenguangcheng.com") return "PROXY GOAGENT_LISTEN";540 if (host.indexOf("chenpokong.com") >= 0) return "PROXY GOAGENT_LISTEN";541 if (dnsDomainIs(host, ".cherrysave.com") || host == "cherrysave.com") return "PROXY GOAGENT_LISTEN";542 if (host.indexOf(".chhongbi.org") >= 0) return "PROXY GOAGENT_LISTEN";543 if (url.indexOf("http://chicagoncmtv.com") == 0) return "PROXY GOAGENT_LISTEN";544 if (host.indexOf(".china-week.com") >= 0) return "PROXY GOAGENT_LISTEN";545 if (dnsDomainIs(host, ".china101.com") || host == "china101.com") return "PROXY GOAGENT_LISTEN";546 if (dnsDomainIs(host, ".china21.com") || host == "china21.com") return "PROXY GOAGENT_LISTEN";547 if (dnsDomainIs(host, ".china21.org") || host == "china21.org") return "PROXY GOAGENT_LISTEN";548 if (host.indexOf(".china5000.us") >= 0) return "PROXY GOAGENT_LISTEN";549 if (dnsDomainIs(host, ".chinaaffairs.org") || host == "chinaaffairs.org") return "PROXY GOAGENT_LISTEN";550 if (dnsDomainIs(host, ".chinaaid.me") || host == "chinaaid.me") return "PROXY GOAGENT_LISTEN";551 if (host.indexOf("chinaaid.us") >= 0) return "PROXY GOAGENT_LISTEN";552 if (host.indexOf("chinaaid.org") >= 0) return "PROXY GOAGENT_LISTEN";553 if (host.indexOf("chinaaid.net") >= 0) return "PROXY GOAGENT_LISTEN";554 if (dnsDomainIs(host, ".chinacomments.org") || host == "chinacomments.org") return "PROXY GOAGENT_LISTEN";555 if (host.indexOf("chinachange.org") >= 0) return "PROXY GOAGENT_LISTEN";556 if (dnsDomainIs(host, ".chinachannel.hk") || host == "chinachannel.hk") return "PROXY GOAGENT_LISTEN";557 if (dnsDomainIs(host, ".chinadigitaltimes.net") || host == "chinadigitaltimes.net") return "PROXY GOAGENT_LISTEN";558 if (dnsDomainIs(host, ".chinaeweekly.com") || host == "chinaeweekly.com") return "PROXY GOAGENT_LISTEN";559 if (dnsDomainIs(host, ".chinafreepress.org") || host == "chinafreepress.org") return "PROXY GOAGENT_LISTEN";560 if (host.indexOf(".chinagate.com") >= 0) return "PROXY GOAGENT_LISTEN";561 if (host.indexOf("chinageeks.org") >= 0) return "PROXY GOAGENT_LISTEN";562 if (dnsDomainIs(host, ".chinagfw.org") || host == "chinagfw.org") return "PROXY GOAGENT_LISTEN";563 if (dnsDomainIs(host, ".chinagreenparty.org") || host == "chinagreenparty.org") return "PROXY GOAGENT_LISTEN";564 if (host.indexOf(".chinahush.com") >= 0) return "PROXY GOAGENT_LISTEN";565 if (host.indexOf("chinalawtranslate.com") >= 0) return "PROXY GOAGENT_LISTEN";566 if (url.indexOf("chinaxchina.com/howto") >= 0) return "PROXY GOAGENT_LISTEN";567 if (host.indexOf(".chinainperspective.com") >= 0) return "PROXY GOAGENT_LISTEN";568 if (url.indexOf("chinainperspective.net/ArtShow.aspx?") >= 0) return "PROXY GOAGENT_LISTEN";569 if (dnsDomainIs(host, ".chinainperspective.net") || host == "chinainperspective.net") return "PROXY GOAGENT_LISTEN";570 if (dnsDomainIs(host, ".chinainperspective.org") || host == "chinainperspective.org") return "PROXY GOAGENT_LISTEN";571 if (dnsDomainIs(host, ".chinainterimgov.org") || host == "chinainterimgov.org") return "PROXY GOAGENT_LISTEN";572 if (host.indexOf("chinalawandpolicy.com") >= 0) return "PROXY GOAGENT_LISTEN";573 if (dnsDomainIs(host, ".chinamule.com") || host == "chinamule.com") return "PROXY GOAGENT_LISTEN";574 if (host.indexOf("chinamz.org") >= 0) return "PROXY GOAGENT_LISTEN";575 if (host.indexOf(".chinarightsia.org") >= 0) return "PROXY GOAGENT_LISTEN";576 if (dnsDomainIs(host, ".chinasocialdemocraticparty.com") || host == "chinasocialdemocraticparty.com") return "PROXY GOAGENT_LISTEN";577 if (dnsDomainIs(host, ".chinasoul.org") || host == "chinasoul.org") return "PROXY GOAGENT_LISTEN";578 if (host.indexOf("chinatimes.com") >= 0) return "PROXY GOAGENT_LISTEN";579 if (host.indexOf("chinatweeps.com") >= 0) return "PROXY GOAGENT_LISTEN";580 if (host.indexOf("chinaway.org") >= 0) return "PROXY GOAGENT_LISTEN";581 if (dnsDomainIs(host, ".chinaworker.info") || host == "chinaworker.info") return "PROXY GOAGENT_LISTEN";582 if (host.indexOf("chinayouth.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";583 if (dnsDomainIs(host, ".chinayuanmin.org") || host == "chinayuanmin.org") return "PROXY GOAGENT_LISTEN";584 if (host.indexOf(".chinese-hermit.net") >= 0) return "PROXY GOAGENT_LISTEN";585 if (host.indexOf("chinese-memorial.org") >= 0) return "PROXY GOAGENT_LISTEN";586 if (dnsDomainIs(host, ".chinesedailynews.com") || host == "chinesedailynews.com") return "PROXY GOAGENT_LISTEN";587 if (dnsDomainIs(host, ".chinesen.de") || host == "chinesen.de") return "PROXY GOAGENT_LISTEN";588 if (host.indexOf("chinesenewsnet.com") >= 0) return "PROXY GOAGENT_LISTEN";589 if (host.indexOf(".chinesepen.org") >= 0) return "PROXY GOAGENT_LISTEN";590 if (url.indexOf(".chinesetalks.net/ch") >= 0) return "PROXY GOAGENT_LISTEN";591 if (dnsDomainIs(host, ".chingcheong.com") || host == "chingcheong.com") return "PROXY GOAGENT_LISTEN";592 if (host.indexOf("chn.chosun.com") >= 0) return "PROXY GOAGENT_LISTEN";593 if (dnsDomainIs(host, ".christianstudy.com") || host == "christianstudy.com") return "PROXY GOAGENT_LISTEN";594 if (url.indexOf("christusrex.org/www1/sdc") >= 0) return "PROXY GOAGENT_LISTEN";595 if (dnsDomainIs(host, ".chrlcg-hk.org") || host == "chrlcg-hk.org") return "PROXY GOAGENT_LISTEN";596 if (dnsDomainIs(host, ".chrome.com") || host == "chrome.com") return "PROXY GOAGENT_LISTEN";597 if (dnsDomainIs(host, ".chromeadblock.com") || host == "chromeadblock.com") return "PROXY GOAGENT_LISTEN";598 if (dnsDomainIs(host, ".chromium.org") || host == "chromium.org") return "PROXY GOAGENT_LISTEN";599 if (host.indexOf("chubun.com") >= 0) return "PROXY GOAGENT_LISTEN";600 if (dnsDomainIs(host, ".chuizi.net") || host == "chuizi.net") return "PROXY GOAGENT_LISTEN";601 if (dnsDomainIs(host, ".christiantimes.org.hk") || host == "christiantimes.org.hk") return "PROXY GOAGENT_LISTEN";602 if (host.indexOf(".chrlawyers.hk") >= 0) return "PROXY GOAGENT_LISTEN";603 if (dnsDomainIs(host, ".allaboutalpha.com") || host == "allaboutalpha.com") return "PROXY GOAGENT_LISTEN";604 if (host.indexOf(".circlethebayfortibet.org") >= 0) return "PROXY GOAGENT_LISTEN";605 if (host.indexOf(".citizenlab.org") >= 0) return "PROXY GOAGENT_LISTEN";606 if (host.indexOf("citizensradio.org") >= 0) return "PROXY GOAGENT_LISTEN";607 if (host.indexOf("city9x.com") >= 0) return "PROXY GOAGENT_LISTEN";608 if (dnsDomainIs(host, ".civicparty.hk") || host == "civicparty.hk") return "PROXY GOAGENT_LISTEN";609 if (dnsDomainIs(host, ".civilhrfront.org") || host == "civilhrfront.org") return "PROXY GOAGENT_LISTEN";610 if (host.indexOf(".civilmedia.tw") >= 0) return "PROXY GOAGENT_LISTEN";611 if (host.indexOf("psiphon.civisec.org") >= 0) return "PROXY GOAGENT_LISTEN";612 if (dnsDomainIs(host, ".cjb.net") || host == "cjb.net") return "PROXY GOAGENT_LISTEN";613 if (dnsDomainIs(host, ".ck101.com") || host == "ck101.com") return "PROXY GOAGENT_LISTEN";614 if (dnsDomainIs(host, ".classicalguitarblog.net") || host == "classicalguitarblog.net") return "PROXY GOAGENT_LISTEN";615 if (host.indexOf(".clb.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";616 if (host.indexOf(".clipfish.de") >= 0) return "PROXY GOAGENT_LISTEN";617 if (url.indexOf("http://www.cmoinc.org") == 0) return "PROXY GOAGENT_LISTEN";618 if (dnsDomainIs(host, ".cms.gov") || host == "cms.gov") return "PROXY GOAGENT_LISTEN";619 if (dnsDomainIs(host, ".cna.com.tw") || host == "cna.com.tw") return "PROXY GOAGENT_LISTEN";620 if (url.indexOf(".cnavista.com.tw/shop/stores_app") >= 0) return "PROXY GOAGENT_LISTEN";621 if (host.indexOf(".cnd.org") >= 0) return "PROXY GOAGENT_LISTEN";622 if (dnsDomainIs(host, ".cnd.org/") || host == "cnd.org/") return "PROXY GOAGENT_LISTEN";623 if (host.indexOf("wiki.cnitter.com") >= 0) return "PROXY GOAGENT_LISTEN";624 if (url.indexOf(".cnn.com/video") >= 0) return "PROXY GOAGENT_LISTEN";625 if (host.indexOf("news.cnyes.com") >= 0) return "PROXY GOAGENT_LISTEN";626 if (dnsDomainIs(host, ".cochina.co") || host == "cochina.co") return "PROXY GOAGENT_LISTEN";627 if (dnsDomainIs(host, ".cochina.org") || host == "cochina.org") return "PROXY GOAGENT_LISTEN";628 if (url.indexOf(".code1984.com/64") >= 0) return "PROXY GOAGENT_LISTEN";629 if (dnsDomainIs(host, ".codeshare.io") || host == "codeshare.io") return "PROXY GOAGENT_LISTEN";630 if (url.indexOf("http://tosh.comedycentral.com") == 0) return "PROXY GOAGENT_LISTEN";631 if (dnsDomainIs(host, ".comefromchina.com") || host == "comefromchina.com") return "PROXY GOAGENT_LISTEN";632 if (dnsDomainIs(host, ".compileheart.com") || host == "compileheart.com") return "PROXY GOAGENT_LISTEN";633 if (dnsDomainIs(host, ".conoyo.com") || host == "conoyo.com") return "PROXY GOAGENT_LISTEN";634 if (host.indexOf(".contactmagazine.net") >= 0) return "PROXY GOAGENT_LISTEN";635 if (host.indexOf(".convio.net") >= 0) return "PROXY GOAGENT_LISTEN";636 if (url.indexOf("http://www.cool18.com/bbs*/") == 0) return "PROXY GOAGENT_LISTEN";637 if (dnsDomainIs(host, ".coolaler.com") || host == "coolaler.com") return "PROXY GOAGENT_LISTEN";638 if (dnsDomainIs(host, ".coolder.com") || host == "coolder.com") return "PROXY GOAGENT_LISTEN";639 if (dnsDomainIs(host, ".coolloud.org.tw") || host == "coolloud.org.tw") return "PROXY GOAGENT_LISTEN";640 if (host.indexOf("corumcollege.com") >= 0) return "PROXY GOAGENT_LISTEN";641 if (dnsDomainIs(host, ".couchdbwiki.com") || host == "couchdbwiki.com") return "PROXY GOAGENT_LISTEN";642 if (dnsDomainIs(host, ".cotweet.com") || host == "cotweet.com") return "PROXY GOAGENT_LISTEN";643 if (host.indexOf("cpj.org") >= 0) return "PROXY GOAGENT_LISTEN";644 if (dnsDomainIs(host, ".cpj.org/") || host == "cpj.org/") return "PROXY GOAGENT_LISTEN";645 if (dnsDomainIs(host, ".crackle.com") || host == "crackle.com") return "PROXY GOAGENT_LISTEN";646 if (host.indexOf("crd-net.org") >= 0) return "PROXY GOAGENT_LISTEN";647 if (dnsDomainIs(host, ".creaders.net") || host == "creaders.net") return "PROXY GOAGENT_LISTEN";648 if (dnsDomainIs(host, ".crossthewall.net") || host == "crossthewall.net") return "PROXY GOAGENT_LISTEN";649 if (dnsDomainIs(host, ".csdparty.com") || host == "csdparty.com") return "PROXY GOAGENT_LISTEN";650 if (dnsDomainIs(host, ".csuchen.de") || host == "csuchen.de") return "PROXY GOAGENT_LISTEN";651 if (host.indexOf(".ctfriend.net") >= 0) return "PROXY GOAGENT_LISTEN";652 if (host.indexOf("cts.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";653 if (url.indexOf("http://library.usc.cuhk.edu.hk/Default.aspx?url=dflms%2fsub%2f%2f1%2fdict%2f50") == 0) return "PROXY GOAGENT_LISTEN";654 if (url.indexOf("http://mjlsh.usc.cuhk.edu.hk") == 0) return "PROXY GOAGENT_LISTEN";655 if (url.indexOf(".cuhkacs.org/~benng") >= 0) return "PROXY GOAGENT_LISTEN";656 if (dnsDomainIs(host, ".cuihua.org") || host == "cuihua.org") return "PROXY GOAGENT_LISTEN";657 if (dnsDomainIs(host, ".cuiweiping.net") || host == "cuiweiping.net") return "PROXY GOAGENT_LISTEN";658 if (dnsDomainIs(host, ".curvefish.com") || host == "curvefish.com") return "PROXY GOAGENT_LISTEN";659 if (dnsDomainIs(host, ".culture.tw") || host == "culture.tw") return "PROXY GOAGENT_LISTEN";660 if (host.indexOf(".cw.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";661 if (url.indexOf("http://forum.cyberctm.com") == 0) return "PROXY GOAGENT_LISTEN";662 if (dnsDomainIs(host, ".cyberghostvpn.com") || host == "cyberghostvpn.com") return "PROXY GOAGENT_LISTEN";663 if (dnsDomainIs(host, ".cynscribe.com") || host == "cynscribe.com") return "PROXY GOAGENT_LISTEN";664 if (host.indexOf("cytode.us") >= 0) return "PROXY GOAGENT_LISTEN";665 if (dnsDomainIs(host, ".ifan.cz.cc") || host == "ifan.cz.cc") return "PROXY GOAGENT_LISTEN";666 if (dnsDomainIs(host, ".mike.cz.cc") || host == "mike.cz.cc") return "PROXY GOAGENT_LISTEN";667 if (dnsDomainIs(host, ".nic.cz.cc") || host == "nic.cz.cc") return "PROXY GOAGENT_LISTEN";668 if (host.indexOf("cl.d0z.net") >= 0) return "PROXY GOAGENT_LISTEN";669 if (dnsDomainIs(host, ".dabr.co.uk") || host == "dabr.co.uk") return "PROXY GOAGENT_LISTEN";670 if (dnsDomainIs(host, ".dabr.mobi") || host == "dabr.mobi") return "PROXY GOAGENT_LISTEN";671 if (dnsDomainIs(host, ".dabr.me") || host == "dabr.me") return "PROXY GOAGENT_LISTEN";672 if (dnsDomainIs(host, ".dadazim.com") || host == "dadazim.com") return "PROXY GOAGENT_LISTEN";673 if (host.indexOf(".dadi360.com") >= 0) return "PROXY GOAGENT_LISTEN";674 if (host.indexOf("dafagood.com") >= 0) return "PROXY GOAGENT_LISTEN";675 if (host.indexOf("dafahao.com") >= 0) return "PROXY GOAGENT_LISTEN";676 if (dnsDomainIs(host, ".dalailama.ru") || host == "dalailama.ru") return "PROXY GOAGENT_LISTEN";677 if (dnsDomainIs(host, ".dailidaili.com") || host == "dailidaili.com") return "PROXY GOAGENT_LISTEN";678 if (host.indexOf(".dailymotion.com") >= 0) return "PROXY GOAGENT_LISTEN";679 if (host.indexOf(".dajiyuan.com") >= 0) return "PROXY GOAGENT_LISTEN";680 if (host.indexOf(".dajiyuan.eu") >= 0) return "PROXY GOAGENT_LISTEN";681 if (host.indexOf("dalailama.com") >= 0) return "PROXY GOAGENT_LISTEN";682 if (dnsDomainIs(host, ".dalailamaworld.com") || host == "dalailamaworld.com") return "PROXY GOAGENT_LISTEN";683 if (dnsDomainIs(host, ".dalianmeng.org") || host == "dalianmeng.org") return "PROXY GOAGENT_LISTEN";684 if (dnsDomainIs(host, ".danke4china.net") || host == "danke4china.net") return "PROXY GOAGENT_LISTEN";685 if (host.indexOf(".danwei.org") >= 0) return "PROXY GOAGENT_LISTEN";686 if (host.indexOf("daolan.net") >= 0) return "PROXY GOAGENT_LISTEN";687 if (host.indexOf("daxa.cn") >= 0) return "PROXY GOAGENT_LISTEN";688 if (dnsDomainIs(host, ".daxa.cn/") || host == "daxa.cn/") return "PROXY GOAGENT_LISTEN";689 if (host.indexOf("cn.dayabook.com") >= 0) return "PROXY GOAGENT_LISTEN";690 if (url.indexOf(".daylife.com/topic/dalai_lama") >= 0) return "PROXY GOAGENT_LISTEN";691 if (host.indexOf(".ddc.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";692 if (dnsDomainIs(host, ".de-sci.org") || host == "de-sci.org") return "PROXY GOAGENT_LISTEN";693 if (host.indexOf(".de-sci.org") >= 0) return "PROXY GOAGENT_LISTEN";694 if (host.indexOf("lists.debian.org") >= 0) return "PROXY GOAGENT_LISTEN";695 if (url.indexOf("packages.debian.org/zh-cn/lenny/gpass") >= 0) return "PROXY GOAGENT_LISTEN";696 if (dnsDomainIs(host, ".delcamp.net") || host == "delcamp.net") return "PROXY GOAGENT_LISTEN";697 if (url.indexOf("delicious.com/GFWbookmark") >= 0) return "PROXY GOAGENT_LISTEN";698 if (dnsDomainIs(host, ".democrats.org") || host == "democrats.org") return "PROXY GOAGENT_LISTEN";699 if (dnsDomainIs(host, ".desc.se/") || host == "desc.se/") return "PROXY GOAGENT_LISTEN";700 if (host.indexOf(".destroy-china.jp") >= 0) return "PROXY GOAGENT_LISTEN";701 if (dnsDomainIs(host, ".deutsche-welle.de") || host == "deutsche-welle.de") return "PROXY GOAGENT_LISTEN";702 if (dnsDomainIs(host, ".dev102.com") || host == "dev102.com") return "PROXY GOAGENT_LISTEN";703 if (dnsDomainIs(host, ".deviantart.com") || host == "deviantart.com") return "PROXY GOAGENT_LISTEN";704 if (dnsDomainIs(host, ".deviantart.net") || host == "deviantart.net") return "PROXY GOAGENT_LISTEN";705 if (dnsDomainIs(host, ".devio.us") || host == "devio.us") return "PROXY GOAGENT_LISTEN";706 if (dnsDomainIs(host, ".devpn.com") || host == "devpn.com") return "PROXY GOAGENT_LISTEN";707 if (url.indexOf("http://www.dfanning.com") == 0) return "PROXY GOAGENT_LISTEN";708 if (dnsDomainIs(host, ".dfas.mil") || host == "dfas.mil") return "PROXY GOAGENT_LISTEN";709 if (dnsDomainIs(host, ".diaoyuislands.org") || host == "diaoyuislands.org") return "PROXY GOAGENT_LISTEN";710 if (host.indexOf("static.digg.com") >= 0) return "PROXY GOAGENT_LISTEN";711 if (url.indexOf("http://digiland.tw/") == 0) return "PROXY GOAGENT_LISTEN";712 if (dnsDomainIs(host, ".digitalnomadsproject.org") || host == "digitalnomadsproject.org") return "PROXY GOAGENT_LISTEN";713 if (dnsDomainIs(host, ".diigo.com") || host == "diigo.com") return "PROXY GOAGENT_LISTEN";714 if (dnsDomainIs(host, ".furl.net") || host == "furl.net") return "PROXY GOAGENT_LISTEN";715 if (host.indexOf(".dipity.com") >= 0) return "PROXY GOAGENT_LISTEN";716 if (dnsDomainIs(host, ".directcreative.com") || host == "directcreative.com") return "PROXY GOAGENT_LISTEN";717 if (url.indexOf("http://www.discogs.com/") == 0) return "PROXY GOAGENT_LISTEN";718 if (dnsDomainIs(host, ".discuss.com.hk") || host == "discuss.com.hk") return "PROXY GOAGENT_LISTEN";719 if (host.indexOf("disp.cc") >= 0) return "PROXY GOAGENT_LISTEN";720 if (dnsDomainIs(host, ".dit-inc.us") || host == "dit-inc.us") return "PROXY GOAGENT_LISTEN";721 if (host.indexOf(".dizhidizhi.com") >= 0) return "PROXY GOAGENT_LISTEN";722 if (host.indexOf("djangosnippets.org") >= 0) return "PROXY GOAGENT_LISTEN";723 if (dnsDomainIs(host, ".dl-laby.jp") || host == "dl-laby.jp") return "PROXY GOAGENT_LISTEN";724 if (dnsDomainIs(host, ".dlsite.com") || host == "dlsite.com") return "PROXY GOAGENT_LISTEN";725 if (dnsDomainIs(host, ".dmcdn.net") || host == "dmcdn.net") return "PROXY GOAGENT_LISTEN";726 if (dnsDomainIs(host, ".dnscrypt.org") || host == "dnscrypt.org") return "PROXY GOAGENT_LISTEN";727 if (dnsDomainIs(host, ".dns2go.com") || host == "dns2go.com") return "PROXY GOAGENT_LISTEN";728 if (dnsDomainIs(host, ".dnssec.net") || host == "dnssec.net") return "PROXY GOAGENT_LISTEN";729 if (host.indexOf(".dojin.com") >= 0) return "PROXY GOAGENT_LISTEN";730 if (host.indexOf(".dok-forum.net") >= 0) return "PROXY GOAGENT_LISTEN";731 if (dnsDomainIs(host, ".dolc.de") || host == "dolc.de") return "PROXY GOAGENT_LISTEN";732 if (dnsDomainIs(host, ".dollf.com") || host == "dollf.com") return "PROXY GOAGENT_LISTEN";733 if (host.indexOf(".domain.club.tw") >= 0) return "PROXY GOAGENT_LISTEN";734 if (host.indexOf("dongde.com") >= 0) return "PROXY GOAGENT_LISTEN";735 if (dnsDomainIs(host, ".dongtaiwang.com") || host == "dongtaiwang.com") return "PROXY GOAGENT_LISTEN";736 if (dnsDomainIs(host, ".dongtaiwang.net") || host == "dongtaiwang.net") return "PROXY GOAGENT_LISTEN";737 if (host.indexOf(".dongyangjing.com") >= 0) return "PROXY GOAGENT_LISTEN";738 if (host.indexOf(".dontfilter.us") >= 0) return "PROXY GOAGENT_LISTEN";739 if (dnsDomainIs(host, ".dontmovetochina.com") || host == "dontmovetochina.com") return "PROXY GOAGENT_LISTEN";740 if (dnsDomainIs(host, ".dotplane.com") || host == "dotplane.com") return "PROXY GOAGENT_LISTEN";741 if (dnsDomainIs(host, ".dotsub.com") || host == "dotsub.com") return "PROXY GOAGENT_LISTEN";742 if (host.indexOf("doubleaf.com") >= 0) return "PROXY GOAGENT_LISTEN";743 if (dnsDomainIs(host, ".dougscripts.com") || host == "dougscripts.com") return "PROXY GOAGENT_LISTEN";744 if (host.indexOf("dowei.org") >= 0) return "PROXY GOAGENT_LISTEN";745 if (dnsDomainIs(host, ".doxygen.org") || host == "doxygen.org") return "PROXY GOAGENT_LISTEN";746 if (host.indexOf("dphk.org") >= 0) return "PROXY GOAGENT_LISTEN";747 if (dnsDomainIs(host, ".dpp.org.tw") || host == "dpp.org.tw") return "PROXY GOAGENT_LISTEN";748 if (dnsDomainIs(host, ".weigegebyc.dreamhosters.com") || host == "weigegebyc.dreamhosters.com") return "PROXY GOAGENT_LISTEN";749 if (dnsDomainIs(host, ".drgan.net") || host == "drgan.net") return "PROXY GOAGENT_LISTEN";750 if (dnsDomainIs(host, ".dropbox.com") || host == "dropbox.com") return "PROXY GOAGENT_LISTEN";751 if (dnsDomainIs(host, ".dropboxusercontent.com") || host == "dropboxusercontent.com") return "PROXY GOAGENT_LISTEN";752 if (host.indexOf("drsunacademy.com") >= 0) return "PROXY GOAGENT_LISTEN";753 if (host.indexOf(".drtuber.com") >= 0) return "PROXY GOAGENT_LISTEN";754 if (host.indexOf(".dscn.info") >= 0) return "PROXY GOAGENT_LISTEN";755 if (dnsDomainIs(host, ".dtiblog.com") || host == "dtiblog.com") return "PROXY GOAGENT_LISTEN";756 if (dnsDomainIs(host, ".dtic.mil") || host == "dtic.mil") return "PROXY GOAGENT_LISTEN";757 if (host.indexOf("dtiserv2.com") >= 0) return "PROXY GOAGENT_LISTEN";758 if (dnsDomainIs(host, ".duckduckgo.com") || host == "duckduckgo.com") return "PROXY GOAGENT_LISTEN";759 if (url.indexOf(".duckload.com/download") >= 0) return "PROXY GOAGENT_LISTEN";760 if (dnsDomainIs(host, ".duckmylife.com") || host == "duckmylife.com") return "PROXY GOAGENT_LISTEN";761 if (dnsDomainIs(host, ".duihua.org") || host == "duihua.org") return "PROXY GOAGENT_LISTEN";762 if (dnsDomainIs(host, ".duihuahrjournal.org") || host == "duihuahrjournal.org") return "PROXY GOAGENT_LISTEN";763 if (dnsDomainIs(host, ".duoweitimes.com") || host == "duoweitimes.com") return "PROXY GOAGENT_LISTEN";764 if (host.indexOf("duping.net") >= 0) return "PROXY GOAGENT_LISTEN";765 if (dnsDomainIs(host, ".duplicati.com") || host == "duplicati.com") return "PROXY GOAGENT_LISTEN";766 if (host.indexOf("dupola.com") >= 0) return "PROXY GOAGENT_LISTEN";767 if (host.indexOf("dupola.net") >= 0) return "PROXY GOAGENT_LISTEN";768 if (dnsDomainIs(host, ".dvorak.org") || host == "dvorak.org") return "PROXY GOAGENT_LISTEN";769 if (host.indexOf(".dw.de") >= 0) return "PROXY GOAGENT_LISTEN";770 if (url.indexOf("http://dw.de") == 0) return "PROXY GOAGENT_LISTEN";771 if (dnsDomainIs(host, ".dw-world.com") || host == "dw-world.com") return "PROXY GOAGENT_LISTEN";772 if (host.indexOf(".dw-world.de") >= 0) return "PROXY GOAGENT_LISTEN";773 if (url.indexOf("http://dw-world.de") >= 0) return "PROXY GOAGENT_LISTEN";774 if (host.indexOf("www.dwheeler.com") >= 0) return "PROXY GOAGENT_LISTEN";775 if (dnsDomainIs(host, ".dwnews.com") || host == "dwnews.com") return "PROXY GOAGENT_LISTEN";776 if (dnsDomainIs(host, ".dwnews.net") || host == "dwnews.net") return "PROXY GOAGENT_LISTEN";777 if (host.indexOf("xys.dxiong.com") >= 0) return "PROXY GOAGENT_LISTEN";778 if (host.indexOf("dy24k.info") >= 0) return "PROXY GOAGENT_LISTEN";779 if (dnsDomainIs(host, ".dynawebinc.com") || host == "dynawebinc.com") return "PROXY GOAGENT_LISTEN";780 if (host.indexOf(".dyndns.org") >= 0) return "PROXY GOAGENT_LISTEN";781 if (host.indexOf(".dzze.com") >= 0) return "PROXY GOAGENT_LISTEN";782 if (dnsDomainIs(host, ".e-gold.com") || host == "e-gold.com") return "PROXY GOAGENT_LISTEN";783 if (host.indexOf(".e-gold.com") >= 0) return "PROXY GOAGENT_LISTEN";784 if (url.indexOf("http://g.e-hentai.org/") == 0) return "PROXY GOAGENT_LISTEN";785 if (host.indexOf("e-info.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";786 if (url.indexOf(".e-traderland.net/board") >= 0) return "PROXY GOAGENT_LISTEN";787 if (host.indexOf(".e123.hk") >= 0) return "PROXY GOAGENT_LISTEN";788 if (host.indexOf(".eastturkestan.com") >= 0) return "PROXY GOAGENT_LISTEN";789 if (host.indexOf(".eastturkistan-gov.org") >= 0) return "PROXY GOAGENT_LISTEN";790 if (host.indexOf(".eastturkistangovernmentinexile.us") >= 0) return "PROXY GOAGENT_LISTEN";791 if (host.indexOf("hkjp.easyweb.hk") >= 0) return "PROXY GOAGENT_LISTEN";792 if (host.indexOf("ebookbrowse.com") >= 0) return "PROXY GOAGENT_LISTEN";793 if (host.indexOf("ebookee.com") >= 0) return "PROXY GOAGENT_LISTEN";794 if (host.indexOf("ecministry.net") >= 0) return "PROXY GOAGENT_LISTEN";795 if (host.indexOf("bbs.ecstart.com") >= 0) return "PROXY GOAGENT_LISTEN";796 if (dnsDomainIs(host, ".edgecastcdn.net") || host == "edgecastcdn.net") return "PROXY GOAGENT_LISTEN";797 if (url.indexOf("twimg\.edgesuite\.net\/\/?appledaily") >= 0) return "PROXY GOAGENT_LISTEN";798 if (host.indexOf("edicypages.com") >= 0) return "PROXY GOAGENT_LISTEN";799 if (host.indexOf("edoors.com") >= 0) return "PROXY GOAGENT_LISTEN";800 if (dnsDomainIs(host, ".edubridge.com") || host == "edubridge.com") return "PROXY GOAGENT_LISTEN";801 if (dnsDomainIs(host, ".eevpn.com") || host == "eevpn.com") return "PROXY GOAGENT_LISTEN";802 if (host.indexOf("efcc.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";803 if (dnsDomainIs(host, ".efmoe.com") || host == "efmoe.com") return "PROXY GOAGENT_LISTEN";804 if (dnsDomainIs(host, ".eic-av.com") || host == "eic-av.com") return "PROXY GOAGENT_LISTEN";805 if (host.indexOf("electionsmeter.com") >= 0) return "PROXY GOAGENT_LISTEN";806 if (dnsDomainIs(host, ".elgoog.im") || host == "elgoog.im") return "PROXY GOAGENT_LISTEN";807 if (dnsDomainIs(host, ".elpais.com") || host == "elpais.com") return "PROXY GOAGENT_LISTEN";808 if (host.indexOf(".eltondisney.com") >= 0) return "PROXY GOAGENT_LISTEN";809 if (dnsDomainIs(host, ".emacsblog.org") || host == "emacsblog.org") return "PROXY GOAGENT_LISTEN";810 if (host.indexOf(".emory.edu") >= 0) return "PROXY GOAGENT_LISTEN";811 if (host.indexOf(".emule-ed2k.com") >= 0) return "PROXY GOAGENT_LISTEN";812 if (url.indexOf("http://emule-ed2k.com") == 0) return "PROXY GOAGENT_LISTEN";813 if (host.indexOf(".emuparadise.me") >= 0) return "PROXY GOAGENT_LISTEN";814 if (dnsDomainIs(host, ".enewstree.com") || host == "enewstree.com") return "PROXY GOAGENT_LISTEN";815 if (host.indexOf("chinese.engadget.com") >= 0) return "PROXY GOAGENT_LISTEN";816 if (dnsDomainIs(host, ".englishfromengland.co.uk") || host == "englishfromengland.co.uk") return "PROXY GOAGENT_LISTEN";817 if (dnsDomainIs(host, ".entermap.com") || host == "entermap.com") return "PROXY GOAGENT_LISTEN";818 if (dnsDomainIs(host, ".epochtimes-bg.com") || host == "epochtimes-bg.com") return "PROXY GOAGENT_LISTEN";819 if (dnsDomainIs(host, ".epochtimes-romania.com") || host == "epochtimes-romania.com") return "PROXY GOAGENT_LISTEN";820 if (dnsDomainIs(host, ".epochtimes.co.il") || host == "epochtimes.co.il") return "PROXY GOAGENT_LISTEN";821 if (dnsDomainIs(host, ".epochtimes.co.kr") || host == "epochtimes.co.kr") return "PROXY GOAGENT_LISTEN";822 if (dnsDomainIs(host, ".epochtimes.com") || host == "epochtimes.com") return "PROXY GOAGENT_LISTEN";823 if (host.indexOf("epochtimes.de") >= 0) return "PROXY GOAGENT_LISTEN";824 if (host.indexOf("epochtimes.fr") >= 0) return "PROXY GOAGENT_LISTEN";825 if (host.indexOf(".epochtimes.ie") >= 0) return "PROXY GOAGENT_LISTEN";826 if (host.indexOf("epochtimes.jp") >= 0) return "PROXY GOAGENT_LISTEN";827 if (host.indexOf("epochtimes.ru") >= 0) return "PROXY GOAGENT_LISTEN";828 if (host.indexOf("epochtimes.se") >= 0) return "PROXY GOAGENT_LISTEN";829 if (host.indexOf("epochtimestr.com") >= 0) return "PROXY GOAGENT_LISTEN";830 if (dnsDomainIs(host, ".epochweekly.com") || host == "epochweekly.com") return "PROXY GOAGENT_LISTEN";831 if (host.indexOf("erabaru.net") >= 0) return "PROXY GOAGENT_LISTEN";832 if (host.indexOf(".erepublik.com") >= 0) return "PROXY GOAGENT_LISTEN";833 if (dnsDomainIs(host, ".ernestmandel.org") || host == "ernestmandel.org") return "PROXY GOAGENT_LISTEN";834 if (dnsDomainIs(host, ".erights.net") || host == "erights.net") return "PROXY GOAGENT_LISTEN";835 if (host.indexOf(".etaa.org.au") >= 0) return "PROXY GOAGENT_LISTEN";836 if (host.indexOf("etaiwannews.com") >= 0) return "PROXY GOAGENT_LISTEN";837 if (dnsDomainIs(host, ".etizer.org") || host == "etizer.org") return "PROXY GOAGENT_LISTEN";838 if (host.indexOf(".ettoday.net") >= 0) return "PROXY GOAGENT_LISTEN";839 if (host.indexOf("www.eulam.com") >= 0) return "PROXY GOAGENT_LISTEN";840 if (host.indexOf("eventful.com") >= 0) return "PROXY GOAGENT_LISTEN";841 if (dnsDomainIs(host, ".exblog.jp") || host == "exblog.jp") return "PROXY GOAGENT_LISTEN";842 if (dnsDomainIs(host, ".blog.exblog.co.jp") || host == "blog.exblog.co.jp") return "PROXY GOAGENT_LISTEN";843 if (url.indexOf("http://blog.excite.co.jp/") == 0) return "PROXY GOAGENT_LISTEN";844 if (dnsDomainIs(host, ".expatshield.com") || host == "expatshield.com") return "PROXY GOAGENT_LISTEN";845 if (dnsDomainIs(host, ".exploader.net") || host == "exploader.net") return "PROXY GOAGENT_LISTEN";846 if (host.indexOf(".extremetube.com") >= 0) return "PROXY GOAGENT_LISTEN";847 if (dnsDomainIs(host, ".eyevio.jp") || host == "eyevio.jp") return "PROXY GOAGENT_LISTEN";848 if (host.indexOf(".eyny.com") >= 0) return "PROXY GOAGENT_LISTEN";849 if (url.indexOf(".ezpc.tk/category/soft") >= 0) return "PROXY GOAGENT_LISTEN";850 if (host.indexOf(".ezpeer.com") >= 0) return "PROXY GOAGENT_LISTEN";851 if (dnsDomainIs(host, ".facebook.com") || host == "facebook.com") return "PROXY GOAGENT_LISTEN";852 if (/^https?:\/\/[^\/]+facebook\.com/i.test(url)) return "PROXY GOAGENT_LISTEN";853 if (dnsDomainIs(host, ".connect.facebook.net") || host == "connect.facebook.net") return "PROXY GOAGENT_LISTEN";854 if (dnsDomainIs(host, ".facebookquotes4u.com") || host == "facebookquotes4u.com") return "PROXY GOAGENT_LISTEN";855 if (dnsDomainIs(host, ".facesofnyfw.com") || host == "facesofnyfw.com") return "PROXY GOAGENT_LISTEN";856 if (dnsDomainIs(host, ".faiththedog.info") || host == "faiththedog.info") return "PROXY GOAGENT_LISTEN";857 if (host.indexOf(".fakku.net") >= 0) return "PROXY GOAGENT_LISTEN";858 if (host.indexOf("falunart.org") >= 0) return "PROXY GOAGENT_LISTEN";859 if (dnsDomainIs(host, ".falunasia.info") || host == "falunasia.info") return "PROXY GOAGENT_LISTEN";860 if (host.indexOf("falundafa.org") >= 0) return "PROXY GOAGENT_LISTEN";861 if (host.indexOf("falundafamuseum.org") >= 0) return "PROXY GOAGENT_LISTEN";862 if (dnsDomainIs(host, ".falunhr.org") || host == "falunhr.org") return "PROXY GOAGENT_LISTEN";863 if (dnsDomainIs(host, ".fanglizhi.info") || host == "fanglizhi.info") return "PROXY GOAGENT_LISTEN";864 if (dnsDomainIs(host, ".fangong.org") || host == "fangong.org") return "PROXY GOAGENT_LISTEN";865 if (host.indexOf("fangongheike.com") >= 0) return "PROXY GOAGENT_LISTEN";866 if (host.indexOf("fanqianghou.com") >= 0) return "PROXY GOAGENT_LISTEN";867 if (host.indexOf("fapdu.com") >= 0) return "PROXY GOAGENT_LISTEN";868 if (host.indexOf(".fawanghuihui.org") >= 0) return "PROXY GOAGENT_LISTEN";869 if (dnsDomainIs(host, ".fbcdn.net") || host == "fbcdn.net") return "PROXY GOAGENT_LISTEN";870 if (host.indexOf("fanqiangyakexi.net") >= 0) return "PROXY GOAGENT_LISTEN";871 if (host.indexOf("fail.hk") >= 0) return "PROXY GOAGENT_LISTEN";872 if (dnsDomainIs(host, ".famunion.com") || host == "famunion.com") return "PROXY GOAGENT_LISTEN";873 if (host.indexOf(".fan-qiang.com") >= 0) return "PROXY GOAGENT_LISTEN";874 if (dnsDomainIs(host, ".fangbinxing.com") || host == "fangbinxing.com") return "PROXY GOAGENT_LISTEN";875 if (host.indexOf("fangeming.com") >= 0) return "PROXY GOAGENT_LISTEN";876 if (dnsDomainIs(host, ".fanswong.com") || host == "fanswong.com") return "PROXY GOAGENT_LISTEN";877 if (host.indexOf(".fanyue.info") >= 0) return "PROXY GOAGENT_LISTEN";878 if (host.indexOf(".farwestchina.com") >= 0) return "PROXY GOAGENT_LISTEN";879 if (host.indexOf("en.favotter.net") >= 0) return "PROXY GOAGENT_LISTEN";880 if (dnsDomainIs(host, ".faststone.org") || host == "faststone.org") return "PROXY GOAGENT_LISTEN";881 if (dnsDomainIs(host, ".favstar.fm") || host == "favstar.fm") return "PROXY GOAGENT_LISTEN";882 if (url.indexOf("faydao.com/weblog") >= 0) return "PROXY GOAGENT_LISTEN";883 if (dnsDomainIs(host, ".fb.com") || host == "fb.com") return "PROXY GOAGENT_LISTEN";884 if (dnsDomainIs(host, ".fb.me") || host == "fb.me") return "PROXY GOAGENT_LISTEN";885 if (dnsDomainIs(host, ".fbsbx.com") || host == "fbsbx.com") return "PROXY GOAGENT_LISTEN";886 if (host.indexOf("fc2.com") >= 0) return "PROXY GOAGENT_LISTEN";887 if (host.indexOf(".fc2china.com") >= 0) return "PROXY GOAGENT_LISTEN";888 if (host.indexOf("fc2blog.net") >= 0) return "PROXY GOAGENT_LISTEN";889 if (host.indexOf("video.fdbox.com") >= 0) return "PROXY GOAGENT_LISTEN";890 if (host.indexOf(".fdc89.jp") >= 0) return "PROXY GOAGENT_LISTEN";891 if (dnsDomainIs(host, ".fourface.nodesnoop.com") || host == "fourface.nodesnoop.com") return "PROXY GOAGENT_LISTEN";892 if (dnsDomainIs(host, ".feedburner.com") || host == "feedburner.com") return "PROXY GOAGENT_LISTEN";893 if (dnsDomainIs(host, ".feedzshare.com") || host == "feedzshare.com") return "PROXY GOAGENT_LISTEN";894 if (dnsDomainIs(host, ".feelssh.com") || host == "feelssh.com") return "PROXY GOAGENT_LISTEN";895 if (host.indexOf("feer.com") >= 0) return "PROXY GOAGENT_LISTEN";896 if (dnsDomainIs(host, ".feministteacher.com") || host == "feministteacher.com") return "PROXY GOAGENT_LISTEN";897 if (dnsDomainIs(host, ".fengzhenghu.com") || host == "fengzhenghu.com") return "PROXY GOAGENT_LISTEN";898 if (host.indexOf("fflick.com") >= 0) return "PROXY GOAGENT_LISTEN";899 if (host.indexOf("fgmtv.net") >= 0) return "PROXY GOAGENT_LISTEN";900 if (host.indexOf(".fgmtv.org") >= 0) return "PROXY GOAGENT_LISTEN";901 if (host.indexOf(".files2me.com") >= 0) return "PROXY GOAGENT_LISTEN";902 if (url.indexOf("http://files2me.com") == 0) return "PROXY GOAGENT_LISTEN";903 if (url.indexOf(".fileserve.com/file") >= 0) return "PROXY GOAGENT_LISTEN";904 if (host.indexOf("fillthesquare.org") >= 0) return "PROXY GOAGENT_LISTEN";905 if (dnsDomainIs(host, ".finalion.jp") || host == "finalion.jp") return "PROXY GOAGENT_LISTEN";906 if (host.indexOf("findbook.tw") >= 0) return "PROXY GOAGENT_LISTEN";907 if (host.indexOf(".fingerdaily.com") >= 0) return "PROXY GOAGENT_LISTEN";908 if (host.indexOf("finler.net") >= 0) return "PROXY GOAGENT_LISTEN";909 if (dnsDomainIs(host, ".fireofliberty.org") || host == "fireofliberty.org") return "PROXY GOAGENT_LISTEN";910 if (dnsDomainIs(host, ".falsefire.com") || host == "falsefire.com") return "PROXY GOAGENT_LISTEN";911 if (host.indexOf("fleshbot.com") >= 0) return "PROXY GOAGENT_LISTEN";912 if (dnsDomainIs(host, ".flickr.com") || host == "flickr.com") return "PROXY GOAGENT_LISTEN";913 if (dnsDomainIs(host, ".staticflickr.com") || host == "staticflickr.com") return "PROXY GOAGENT_LISTEN";914 if (host.indexOf("flickrhivemind.net") >= 0) return "PROXY GOAGENT_LISTEN";915 if (host.indexOf("yuming.flnet.org") >= 0) return "PROXY GOAGENT_LISTEN";916 if (url.indexOf("http://cn.fmnnow.com") == 0) return "PROXY GOAGENT_LISTEN";917 if (host.indexOf("blog.foolsmountain.com") >= 0) return "PROXY GOAGENT_LISTEN";918 if (host.indexOf("www.forum4hk.com") >= 0) return "PROXY GOAGENT_LISTEN";919 if (host.indexOf("pioneer-worker.forums-free.com") >= 0) return "PROXY GOAGENT_LISTEN";920 if (url.indexOf("http://4sq.com") == 0) return "PROXY GOAGENT_LISTEN";921 if (dnsDomainIs(host, ".fotop.net") || host == "fotop.net") return "PROXY GOAGENT_LISTEN";922 if (host.indexOf("video.foxbusiness.com") >= 0) return "PROXY GOAGENT_LISTEN";923 if (dnsDomainIs(host, ".fringenetwork.com") || host == "fringenetwork.com") return "PROXY GOAGENT_LISTEN";924 if (dnsDomainIs(host, ".flecheinthepeche.fr") || host == "flecheinthepeche.fr") return "PROXY GOAGENT_LISTEN";925 if (dnsDomainIs(host, ".focustaiwan.tw") || host == "focustaiwan.tw") return "PROXY GOAGENT_LISTEN";926 if (host.indexOf(".focusvpn.com") >= 0) return "PROXY GOAGENT_LISTEN";927 if (dnsDomainIs(host, ".fofg.org") || host == "fofg.org") return "PROXY GOAGENT_LISTEN";928 if (dnsDomainIs(host, ".fooooo.com") || host == "fooooo.com") return "PROXY GOAGENT_LISTEN";929 if (host.indexOf("footwiball.com") >= 0) return "PROXY GOAGENT_LISTEN";930 if (dnsDomainIs(host, ".fourthinternational.org") || host == "fourthinternational.org") return "PROXY GOAGENT_LISTEN";931 if (dnsDomainIs(host, ".foxdie.us") || host == "foxdie.us") return "PROXY GOAGENT_LISTEN";932 if (dnsDomainIs(host, ".foxsub.com") || host == "foxsub.com") return "PROXY GOAGENT_LISTEN";933 if (host.indexOf("foxtang.com") >= 0) return "PROXY GOAGENT_LISTEN";934 if (dnsDomainIs(host, ".fqrouter.com") || host == "fqrouter.com") return "PROXY GOAGENT_LISTEN";935 if (dnsDomainIs(host, ".franklc.com") || host == "franklc.com") return "PROXY GOAGENT_LISTEN";936 if (host.indexOf(".freakshare.com") >= 0) return "PROXY GOAGENT_LISTEN";937 if (url.indexOf("http://freakshare.com") == 0) return "PROXY GOAGENT_LISTEN";938 if (dnsDomainIs(host, ".free4u.com.ar") || host == "free4u.com.ar") return "PROXY GOAGENT_LISTEN";939 if (host.indexOf("free-gate.org") >= 0) return "PROXY GOAGENT_LISTEN";940 if (url.indexOf(".free.fr/adsl") >= 0) return "PROXY GOAGENT_LISTEN";941 if (dnsDomainIs(host, ".allonlinux.free.fr") || host == "allonlinux.free.fr") return "PROXY GOAGENT_LISTEN";942 if (dnsDomainIs(host, ".dimitrik.free.fr") || host == "dimitrik.free.fr") return "PROXY GOAGENT_LISTEN";943 if (host.indexOf("kineox.free.fr") >= 0) return "PROXY GOAGENT_LISTEN";944 if (dnsDomainIs(host, ".puttycm.free.fr") || host == "puttycm.free.fr") return "PROXY GOAGENT_LISTEN";945 if (dnsDomainIs(host, ".freealim.com") || host == "freealim.com") return "PROXY GOAGENT_LISTEN";946 if (host.indexOf("whitebear.freebearblog.org") >= 0) return "PROXY GOAGENT_LISTEN";947 if (host.indexOf(".freechal.com") >= 0) return "PROXY GOAGENT_LISTEN";948 if (dnsDomainIs(host, ".freedomhouse.org") || host == "freedomhouse.org") return "PROXY GOAGENT_LISTEN";949 if (dnsDomainIs(host, ".freegao.com") || host == "freegao.com") return "PROXY GOAGENT_LISTEN";950 if (host.indexOf(".free-hada-now.org") >= 0) return "PROXY GOAGENT_LISTEN";951 if (dnsDomainIs(host, ".freelotto.com") || host == "freelotto.com") return "PROXY GOAGENT_LISTEN";952 if (host.indexOf("freeman2.com") >= 0) return "PROXY GOAGENT_LISTEN";953 if (host.indexOf(".freeopenvpn.com") >= 0) return "PROXY GOAGENT_LISTEN";954 if (host.indexOf("freemoren.com") >= 0) return "PROXY GOAGENT_LISTEN";955 if (host.indexOf("freemorenews.com") >= 0) return "PROXY GOAGENT_LISTEN";956 if (host.indexOf("freenet-china.org") >= 0) return "PROXY GOAGENT_LISTEN";957 if (host.indexOf("freenewscn.com") >= 0) return "PROXY GOAGENT_LISTEN";958 if (url.indexOf(".freeoz.org/bbs") >= 0) return "PROXY GOAGENT_LISTEN";959 if (dnsDomainIs(host, ".freeoz.org") || host == "freeoz.org") return "PROXY GOAGENT_LISTEN";960 if (dnsDomainIs(host, ".www.bulbous.freeserve.co.uk") || host == "www.bulbous.freeserve.co.uk") return "PROXY GOAGENT_LISTEN";961 if (dnsDomainIs(host, ".freessh.us") || host == "freessh.us") return "PROXY GOAGENT_LISTEN";962 if (host.indexOf("free4u.com.ar") >= 0) return "PROXY GOAGENT_LISTEN";963 if (dnsDomainIs(host, ".free-ssh.com") || host == "free-ssh.com") return "PROXY GOAGENT_LISTEN";964 if (host.indexOf(".freeforums.org") >= 0) return "PROXY GOAGENT_LISTEN";965 if (dnsDomainIs(host, ".freenetproject.org") || host == "freenetproject.org") return "PROXY GOAGENT_LISTEN";966 if (host.indexOf(".freeoz.org") >= 0) return "PROXY GOAGENT_LISTEN";967 if (host.indexOf(".freetibet.net") >= 0) return "PROXY GOAGENT_LISTEN";968 if (dnsDomainIs(host, ".freetibet.org") || host == "freetibet.org") return "PROXY GOAGENT_LISTEN";969 if (url.indexOf("http://freetibetanheroes.org") == 0) return "PROXY GOAGENT_LISTEN";970 if (dnsDomainIs(host, ".freewallpaper4.me") || host == "freewallpaper4.me") return "PROXY GOAGENT_LISTEN";971 if (host.indexOf(".freewebs.com") >= 0) return "PROXY GOAGENT_LISTEN";972 if (dnsDomainIs(host, ".freeweibo.com") || host == "freeweibo.com") return "PROXY GOAGENT_LISTEN";973 if (host.indexOf(".freexinwen.com") >= 0) return "PROXY GOAGENT_LISTEN";974 if (dnsDomainIs(host, ".freeyoutubeproxy.net") || host == "freeyoutubeproxy.net") return "PROXY GOAGENT_LISTEN";975 if (host.indexOf("friendfeed.com") >= 0) return "PROXY GOAGENT_LISTEN";976 if (url.indexOf("friendfeed-media.com/e99a4ebe2fb4c1985c2a58775eb4422961aa5a2e") >= 0) return "PROXY GOAGENT_LISTEN";977 if (url.indexOf("http://ff.im") == 0) return "PROXY GOAGENT_LISTEN";978 if (url.indexOf("http://www.zensur.freerk.com/") == 0) return "PROXY GOAGENT_LISTEN";979 if (host.indexOf("freevpn.nl") >= 0) return "PROXY GOAGENT_LISTEN";980 if (dnsDomainIs(host, ".fring.com") || host == "fring.com") return "PROXY GOAGENT_LISTEN";981 if (dnsDomainIs(host, ".frommel.net") || host == "frommel.net") return "PROXY GOAGENT_LISTEN";982 if (host.indexOf(".frontlinedefenders.org") >= 0) return "PROXY GOAGENT_LISTEN";983 if (dnsDomainIs(host, ".fscked.org") || host == "fscked.org") return "PROXY GOAGENT_LISTEN";984 if (host.indexOf(".fsurf.com") >= 0) return "PROXY GOAGENT_LISTEN";985 if (url.indexOf(".ftchinese.com/story/001054103") >= 0) return "PROXY GOAGENT_LISTEN";986 if (shExpMatch(url, "*.ftchinese.com/*video*")) return "PROXY GOAGENT_LISTEN";987 if (url.indexOf(".ftchinese.com/comments") >= 0) return "PROXY GOAGENT_LISTEN";988 if (dnsDomainIs(host, ".fuckcnnic.net") || host == "fuckcnnic.net") return "PROXY GOAGENT_LISTEN";989 if (host.indexOf("fuckgfw.org") >= 0) return "PROXY GOAGENT_LISTEN";990 if (host.indexOf("fulue.com") >= 0) return "PROXY GOAGENT_LISTEN";991 if (host.indexOf(".funf.tw") >= 0) return "PROXY GOAGENT_LISTEN";992 if (host.indexOf("funp.com") >= 0) return "PROXY GOAGENT_LISTEN";993 if (dnsDomainIs(host, ".furinkan.com") || host == "furinkan.com") return "PROXY GOAGENT_LISTEN";994 if (host.indexOf(".futurechinaforum.org") >= 0) return "PROXY GOAGENT_LISTEN";995 if (dnsDomainIs(host, ".futuremessage.org") || host == "futuremessage.org") return "PROXY GOAGENT_LISTEN";996 if (host.indexOf(".fuyin.net") >= 0) return "PROXY GOAGENT_LISTEN";997 if (dnsDomainIs(host, ".fw.cm") || host == "fw.cm") return "PROXY GOAGENT_LISTEN";998 if (host.indexOf("fzh999.com") >= 0) return "PROXY GOAGENT_LISTEN";999 if (host.indexOf("fzh999.net") >= 0) return "PROXY GOAGENT_LISTEN";1000 if (dnsDomainIs(host, ".gabocorp.com") || host == "gabocorp.com") return "PROXY GOAGENT_LISTEN";1001 if (host.indexOf(".gaeproxy.com") >= 0) return "PROXY GOAGENT_LISTEN";1002 if (dnsDomainIs(host, ".galenwu.com") || host == "galenwu.com") return "PROXY GOAGENT_LISTEN";1003 if (dnsDomainIs(host, ".game735.com") || host == "game735.com") return "PROXY GOAGENT_LISTEN";1004 if (host.indexOf("gamebase.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1005 if (dnsDomainIs(host, ".gamer.com.tw") || host == "gamer.com.tw") return "PROXY GOAGENT_LISTEN";1006 if (host.indexOf(".gamer.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1007 if (dnsDomainIs(host, ".gamez.com.tw") || host == "gamez.com.tw") return "PROXY GOAGENT_LISTEN";1008 if (dnsDomainIs(host, ".gaoming.net") || host == "gaoming.net") return "PROXY GOAGENT_LISTEN";1009 if (host.indexOf("ganges.com") >= 0) return "PROXY GOAGENT_LISTEN";1010 if (host.indexOf(".gaopi.net") >= 0) return "PROXY GOAGENT_LISTEN";1011 if (url.indexOf("http://gaopi.net") == 0) return "PROXY GOAGENT_LISTEN";1012 if (host.indexOf(".gaozhisheng.org") >= 0) return "PROXY GOAGENT_LISTEN";1013 if (host.indexOf(".gaozhisheng.net") >= 0) return "PROXY GOAGENT_LISTEN";1014 if (host.indexOf("gardennetworks.com") >= 0) return "PROXY GOAGENT_LISTEN";1015 if (dnsDomainIs(host, ".gardennetworks.org") || host == "gardennetworks.org") return "PROXY GOAGENT_LISTEN";1016 if (host.indexOf("72.52.81.22") >= 0) return "PROXY GOAGENT_LISTEN";1017 if (dnsDomainIs(host, ".gartlive.com") || host == "gartlive.com") return "PROXY GOAGENT_LISTEN";1018 if (dnsDomainIs(host, ".gather.com") || host == "gather.com") return "PROXY GOAGENT_LISTEN";1019 if (dnsDomainIs(host, ".gaymap.cc") || host == "gaymap.cc") return "PROXY GOAGENT_LISTEN";1020 if (dnsDomainIs(host, ".gazotube.com") || host == "gazotube.com") return "PROXY GOAGENT_LISTEN";1021 if (dnsDomainIs(host, ".gcc.org.hk") || host == "gcc.org.hk") return "PROXY GOAGENT_LISTEN";1022 if (dnsDomainIs(host, ".gclooney.com") || host == "gclooney.com") return "PROXY GOAGENT_LISTEN";1023 if (host.indexOf(".gcpnews.com") >= 0) return "PROXY GOAGENT_LISTEN";1024 if (url.indexOf(".gdbt.net/forum") >= 0) return "PROXY GOAGENT_LISTEN";1025 if (host.indexOf("gdzf.org") >= 0) return "PROXY GOAGENT_LISTEN";1026 if (dnsDomainIs(host, ".geek-art.net") || host == "geek-art.net") return "PROXY GOAGENT_LISTEN";1027 if (url.indexOf("geekerhome.com/2010/03/xixiang-project-cross-gfw") >= 0) return "PROXY GOAGENT_LISTEN";1028 if (dnsDomainIs(host, ".geekmanuals.com") || host == "geekmanuals.com") return "PROXY GOAGENT_LISTEN";1029 if (dnsDomainIs(host, ".genuitec.com") || host == "genuitec.com") return "PROXY GOAGENT_LISTEN";1030 if (host.indexOf(".geocities.co.jp") >= 0) return "PROXY GOAGENT_LISTEN";1031 if (url.indexOf(".geocities.com/SiliconValley/Circuit/5683/download.html") >= 0) return "PROXY GOAGENT_LISTEN";1032 if (host.indexOf("hk.geocities.com") >= 0) return "PROXY GOAGENT_LISTEN";1033 if (host.indexOf("geocities.jp") >= 0) return "PROXY GOAGENT_LISTEN";1034 if (dnsDomainIs(host, ".geohot.com") || host == "geohot.com") return "PROXY GOAGENT_LISTEN";1035 if (dnsDomainIs(host, ".geometrictools.com") || host == "geometrictools.com") return "PROXY GOAGENT_LISTEN";1036 if (dnsDomainIs(host, ".get-digital-help.com") || host == "get-digital-help.com") return "PROXY GOAGENT_LISTEN";1037 if (host.indexOf(".getchu.com") >= 0) return "PROXY GOAGENT_LISTEN";1038 if (dnsDomainIs(host, ".getfoxyproxy.org") || host == "getfoxyproxy.org") return "PROXY GOAGENT_LISTEN";1039 if (host.indexOf(".getfreedur.com") >= 0) return "PROXY GOAGENT_LISTEN";1040 if (dnsDomainIs(host, ".getgom.com") || host == "getgom.com") return "PROXY GOAGENT_LISTEN";1041 if (dnsDomainIs(host, ".getlantern.org") || host == "getlantern.org") return "PROXY GOAGENT_LISTEN";1042 if (url.indexOf(".getjetso.com/forum") >= 0) return "PROXY GOAGENT_LISTEN";1043 if (host.indexOf("getiton.com") >= 0) return "PROXY GOAGENT_LISTEN";1044 if (host.indexOf(".getsocialscope.com") >= 0) return "PROXY GOAGENT_LISTEN";1045 if (host.indexOf("gfw.org.ua") >= 0) return "PROXY GOAGENT_LISTEN";1046 if (dnsDomainIs(host, ".ggssl.com") || host == "ggssl.com") return "PROXY GOAGENT_LISTEN";1047 if (dnsDomainIs(host, ".ghost.org") || host == "ghost.org") return "PROXY GOAGENT_LISTEN";1048 if (dnsDomainIs(host, ".ghut.org") || host == "ghut.org") return "PROXY GOAGENT_LISTEN";1049 if (dnsDomainIs(host, ".giga-web.jp") || host == "giga-web.jp") return "PROXY GOAGENT_LISTEN";1050 if (url.indexOf("http://tw.gigacircle.com") == 0) return "PROXY GOAGENT_LISTEN";1051 if (url.indexOf("http://cn.giganews.com/") == 0) return "PROXY GOAGENT_LISTEN";1052 if (host.indexOf("gigporno.ru") >= 0) return "PROXY GOAGENT_LISTEN";1053 if (dnsDomainIs(host, ".gimpshop.com") || host == "gimpshop.com") return "PROXY GOAGENT_LISTEN";1054 if (dnsDomainIs(host, ".girlbanker.com") || host == "girlbanker.com") return "PROXY GOAGENT_LISTEN";1055 if (url.indexOf("http://softwaredownload.gitbooks.io/") == 0) return "PROXY GOAGENT_LISTEN";1056 if (url.indexOf("https://gist.github.com") == 0) return "PROXY GOAGENT_LISTEN";1057 if (url.indexOf("http://cthlo.github.io/hktv/") == 0) return "PROXY GOAGENT_LISTEN";1058 if (dnsDomainIs(host, ".glennhilton.com") || host == "glennhilton.com") return "PROXY GOAGENT_LISTEN";1059 if (host.indexOf("globaljihad.net") >= 0) return "PROXY GOAGENT_LISTEN";1060 if (host.indexOf("globalmuseumoncommunism.org") >= 0) return "PROXY GOAGENT_LISTEN";1061 if (dnsDomainIs(host, ".globalrescue.net") || host == "globalrescue.net") return "PROXY GOAGENT_LISTEN";1062 if (dnsDomainIs(host, ".globalvoicesonline.org") || host == "globalvoicesonline.org") return "PROXY GOAGENT_LISTEN";1063 if (host.indexOf("gmbd.cn") >= 0) return "PROXY GOAGENT_LISTEN";1064 if (dnsDomainIs(host, ".gmhz.org") || host == "gmhz.org") return "PROXY GOAGENT_LISTEN";1065 if (dnsDomainIs(host, ".gnci.org.hk") || host == "gnci.org.hk") return "PROXY GOAGENT_LISTEN";1066 if (dnsDomainIs(host, ".goagent.biz") || host == "goagent.biz") return "PROXY GOAGENT_LISTEN";1067 if (dnsDomainIs(host, ".goagentplus.com") || host == "goagentplus.com") return "PROXY GOAGENT_LISTEN";1068 if (dnsDomainIs(host, ".godfootsteps.org") || host == "godfootsteps.org") return "PROXY GOAGENT_LISTEN";1069 if (host.indexOf(".gokbayrak.com") >= 0) return "PROXY GOAGENT_LISTEN";1070 if (dnsDomainIs(host, ".goldbetsports.com") || host == "goldbetsports.com") return "PROXY GOAGENT_LISTEN";1071 if (url.indexOf("http://www.goldenmelody.com.tw") == 0) return "PROXY GOAGENT_LISTEN";1072 if (dnsDomainIs(host, ".goldwave.com") || host == "goldwave.com") return "PROXY GOAGENT_LISTEN";1073 if (host.indexOf("gongmeng.info") >= 0) return "PROXY GOAGENT_LISTEN";1074 if (host.indexOf("gongm.in") >= 0) return "PROXY GOAGENT_LISTEN";1075 if (host.indexOf("gongminliliang.com") >= 0) return "PROXY GOAGENT_LISTEN";1076 if (host.indexOf(".gongwt.com") >= 0) return "PROXY GOAGENT_LISTEN";1077 if (dnsDomainIs(host, ".goodreads.com") || host == "goodreads.com") return "PROXY GOAGENT_LISTEN";1078 if (dnsDomainIs(host, ".goodreaders.com") || host == "goodreaders.com") return "PROXY GOAGENT_LISTEN";1079 if (dnsDomainIs(host, ".goofind.com") || host == "goofind.com") return "PROXY GOAGENT_LISTEN";1080 if (host.indexOf(".googlesile.com") >= 0) return "PROXY GOAGENT_LISTEN";1081 if (dnsDomainIs(host, ".gopetition.com") || host == "gopetition.com") return "PROXY GOAGENT_LISTEN";1082 if (dnsDomainIs(host, ".gotw.ca/") || host == "gotw.ca/") return "PROXY GOAGENT_LISTEN";1083 if (host.indexOf("grandtrial.org") >= 0) return "PROXY GOAGENT_LISTEN";1084 if (dnsDomainIs(host, ".graphis.ne.jp") || host == "graphis.ne.jp") return "PROXY GOAGENT_LISTEN";1085 if (dnsDomainIs(host, ".gravatar.com") || host == "gravatar.com") return "PROXY GOAGENT_LISTEN";1086 if (host.indexOf("greatfirewall.biz") >= 0) return "PROXY GOAGENT_LISTEN";1087 if (dnsDomainIs(host, ".greatfirewallofchina.net") || host == "greatfirewallofchina.net") return "PROXY GOAGENT_LISTEN";1088 if (dnsDomainIs(host, ".greatfirewallofchina.org") || host == "greatfirewallofchina.org") return "PROXY GOAGENT_LISTEN";1089 if (host.indexOf(".greenparty.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";1090 if (dnsDomainIs(host, ".greenpeace.org") || host == "greenpeace.org") return "PROXY GOAGENT_LISTEN";1091 if (host.indexOf("great-firewall.com") >= 0) return "PROXY GOAGENT_LISTEN";1092 if (host.indexOf("great-roc.org") >= 0) return "PROXY GOAGENT_LISTEN";1093 if (host.indexOf("greatroc.org") >= 0) return "PROXY GOAGENT_LISTEN";1094 if (host.indexOf("greatzhonghua.org") >= 0) return "PROXY GOAGENT_LISTEN";1095 if (host.indexOf(".greenpeace.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1096 if (dnsDomainIs(host, ".greenvpn.net") || host == "greenvpn.net") return "PROXY GOAGENT_LISTEN";1097 if (host.indexOf("gs-discuss.com") >= 0) return "PROXY GOAGENT_LISTEN";1098 if (dnsDomainIs(host, ".gtricks.com") || host == "gtricks.com") return "PROXY GOAGENT_LISTEN";1099 if (host.indexOf("guancha.org") >= 0) return "PROXY GOAGENT_LISTEN";1100 if (host.indexOf(".gun-world.net") >= 0) return "PROXY GOAGENT_LISTEN";1101 if (dnsDomainIs(host, ".gutteruncensored.com") || host == "gutteruncensored.com") return "PROXY GOAGENT_LISTEN";1102 if (dnsDomainIs(host, ".gvm.com.tw") || host == "gvm.com.tw") return "PROXY GOAGENT_LISTEN";1103 if (host.indexOf(".gzm.tv") >= 0) return "PROXY GOAGENT_LISTEN";1104 if (dnsDomainIs(host, ".gzone-anime.info") || host == "gzone-anime.info") return "PROXY GOAGENT_LISTEN";1105 if (dnsDomainIs(host, ".agoogleaday.com") || host == "agoogleaday.com") return "PROXY GOAGENT_LISTEN";1106 if (dnsDomainIs(host, ".chromeexperiments.com") || host == "chromeexperiments.com") return "PROXY GOAGENT_LISTEN";1107 if (dnsDomainIs(host, ".chromercise.com") || host == "chromercise.com") return "PROXY GOAGENT_LISTEN";1108 if (dnsDomainIs(host, ".data-vocabulary.org") || host == "data-vocabulary.org") return "PROXY GOAGENT_LISTEN";1109 if (dnsDomainIs(host, ".g.co") || host == "g.co") return "PROXY GOAGENT_LISTEN";1110 if (dnsDomainIs(host, ".ggpht.com") || host == "ggpht.com") return "PROXY GOAGENT_LISTEN";1111 if (dnsDomainIs(host, ".gmail.com") || host == "gmail.com") return "PROXY GOAGENT_LISTEN";1112 if (dnsDomainIs(host, ".gmodules.com") || host == "gmodules.com") return "PROXY GOAGENT_LISTEN";1113 if (dnsDomainIs(host, ".goo.gl") || host == "goo.gl") return "PROXY GOAGENT_LISTEN";1114 if (/^https?:\/\/[^\/]+google\.(.*)/i.test(url)) return "PROXY GOAGENT_LISTEN";1115 if (dnsDomainIs(host, ".googleapis.com") || host == "googleapis.com") return "PROXY GOAGENT_LISTEN";1116 if (dnsDomainIs(host, ".googleartproject.com") || host == "googleartproject.com") return "PROXY GOAGENT_LISTEN";1117 if (dnsDomainIs(host, ".googlecode.com") || host == "googlecode.com") return "PROXY GOAGENT_LISTEN";1118 if (dnsDomainIs(host, ".googlecommerce.com") || host == "googlecommerce.com") return "PROXY GOAGENT_LISTEN";1119 if (dnsDomainIs(host, ".googledomains.com") || host == "googledomains.com") return "PROXY GOAGENT_LISTEN";1120 if (dnsDomainIs(host, ".googleearth.com") || host == "googleearth.com") return "PROXY GOAGENT_LISTEN";1121 if (dnsDomainIs(host, ".googledrive.com") || host == "googledrive.com") return "PROXY GOAGENT_LISTEN";1122 if (dnsDomainIs(host, ".googlegroups.com") || host == "googlegroups.com") return "PROXY GOAGENT_LISTEN";1123 if (dnsDomainIs(host, ".googlehosted.com") || host == "googlehosted.com") return "PROXY GOAGENT_LISTEN";1124 if (dnsDomainIs(host, ".googlelabs.com") || host == "googlelabs.com") return "PROXY GOAGENT_LISTEN";1125 if (dnsDomainIs(host, ".googlemail.com") || host == "googlemail.com") return "PROXY GOAGENT_LISTEN";1126 if (dnsDomainIs(host, ".googleplus.com") || host == "googleplus.com") return "PROXY GOAGENT_LISTEN";1127 if (dnsDomainIs(host, ".googlesource.com") || host == "googlesource.com") return "PROXY GOAGENT_LISTEN";1128 if (dnsDomainIs(host, ".googleusercontent.com") || host == "googleusercontent.com") return "PROXY GOAGENT_LISTEN";1129 if (dnsDomainIs(host, ".googlevideo.com") || host == "googlevideo.com") return "PROXY GOAGENT_LISTEN";1130 if (dnsDomainIs(host, ".groups.google.cn") || host == "groups.google.cn") return "PROXY GOAGENT_LISTEN";1131 if (dnsDomainIs(host, ".gvt0.com") || host == "gvt0.com") return "PROXY GOAGENT_LISTEN";1132 if (dnsDomainIs(host, ".gvt1.com") || host == "gvt1.com") return "PROXY GOAGENT_LISTEN";1133 if (dnsDomainIs(host, ".html5rocks.com") || host == "html5rocks.com") return "PROXY GOAGENT_LISTEN";1134 if (dnsDomainIs(host, ".panoramio.com") || host == "panoramio.com") return "PROXY GOAGENT_LISTEN";1135 if (dnsDomainIs(host, ".recaptcha.net") || host == "recaptcha.net") return "PROXY GOAGENT_LISTEN";1136 if (url.indexOf("http://sipml5.org/") == 0) return "PROXY GOAGENT_LISTEN";1137 if (dnsDomainIs(host, ".appspot.com") || host == "appspot.com") return "PROXY GOAGENT_LISTEN";1138 if (/^https?:\/\/[^\/]+appspot\.com/i.test(url)) return "PROXY GOAGENT_LISTEN";1139 if (host.indexOf("chinaaid.net") >= 0) return "PROXY GOAGENT_LISTEN";1140 if (host.indexOf("echofon.com") >= 0) return "PROXY GOAGENT_LISTEN";1141 if (dnsDomainIs(host, ".golang.org") || host == "golang.org") return "PROXY GOAGENT_LISTEN";1142 if (dnsDomainIs(host, ".greasespot.net") || host == "greasespot.net") return "PROXY GOAGENT_LISTEN";1143 if (dnsDomainIs(host, ".www.klip.me") || host == "www.klip.me") return "PROXY GOAGENT_LISTEN";1144 if (url.indexOf("http://ub0.cc") == 0) return "PROXY GOAGENT_LISTEN";1145 if (host.indexOf("wozy.in") >= 0) return "PROXY GOAGENT_LISTEN";1146 if (host.indexOf("anti.anti.cnn.googlepages.com") >= 0) return "PROXY GOAGENT_LISTEN";1147 if (dnsDomainIs(host, ".freegateget.googlepages.com") || host == "freegateget.googlepages.com") return "PROXY GOAGENT_LISTEN";1148 if (host.indexOf("myboooks.googlepages.com") >= 0) return "PROXY GOAGENT_LISTEN";1149 if (host.indexOf(".googlevideo.com") >= 0) return "PROXY GOAGENT_LISTEN";1150 if (dnsDomainIs(host, ".gospelherald.com") || host == "gospelherald.com") return "PROXY GOAGENT_LISTEN";1151 if (url.indexOf("http://hk.gradconnection.com/") == 0) return "PROXY GOAGENT_LISTEN";1152 if (dnsDomainIs(host, ".graylog2.org") || host == "graylog2.org") return "PROXY GOAGENT_LISTEN";1153 if (dnsDomainIs(host, ".greatfire.org") || host == "greatfire.org") return "PROXY GOAGENT_LISTEN";1154 if (host.indexOf("greatfirewallofchina.org") >= 0) return "PROXY GOAGENT_LISTEN";1155 if (dnsDomainIs(host, ".greatroc.tw") || host == "greatroc.tw") return "PROXY GOAGENT_LISTEN";1156 if (dnsDomainIs(host, ".gstatic.com") || host == "gstatic.com") return "PROXY GOAGENT_LISTEN";1157 if (dnsDomainIs(host, ".guishan.org") || host == "guishan.org") return "PROXY GOAGENT_LISTEN";1158 if (dnsDomainIs(host, ".gunsamerica.com") || host == "gunsamerica.com") return "PROXY GOAGENT_LISTEN";1159 if (host.indexOf(".gyalwarinpoche.com") >= 0) return "PROXY GOAGENT_LISTEN";1160 if (dnsDomainIs(host, ".h-china.org") || host == "h-china.org") return "PROXY GOAGENT_LISTEN";1161 if (host.indexOf("h1n1china.org") >= 0) return "PROXY GOAGENT_LISTEN";1162 if (url.indexOf(".hacken.cc/bbs") >= 0) return "PROXY GOAGENT_LISTEN";1163 if (dnsDomainIs(host, ".hackthatphone.net") || host == "hackthatphone.net") return "PROXY GOAGENT_LISTEN";1164 if (host.indexOf("hahlo.com") >= 0) return "PROXY GOAGENT_LISTEN";1165 if (dnsDomainIs(host, ".hakkatv.org.tw") || host == "hakkatv.org.tw") return "PROXY GOAGENT_LISTEN";1166 if (host.indexOf(".hanunyi.com") >= 0) return "PROXY GOAGENT_LISTEN";1167 if (url.indexOf("http://jp.hao123.com") == 0) return "PROXY GOAGENT_LISTEN";1168 if (dnsDomainIs(host, ".hardsextube.com") || host == "hardsextube.com") return "PROXY GOAGENT_LISTEN";1169 if (dnsDomainIs(host, ".hasaowall.com") || host == "hasaowall.com") return "PROXY GOAGENT_LISTEN";1170 if (host.indexOf("have8.com") >= 0) return "PROXY GOAGENT_LISTEN";1171 if (dnsDomainIs(host, ".hdtvb.net") || host == "hdtvb.net") return "PROXY GOAGENT_LISTEN";1172 if (dnsDomainIs(host, ".heartyit.com") || host == "heartyit.com") return "PROXY GOAGENT_LISTEN";1173 if (dnsDomainIs(host, ".hecaitou.net") || host == "hecaitou.net") return "PROXY GOAGENT_LISTEN";1174 if (dnsDomainIs(host, ".hechaji.com") || host == "hechaji.com") return "PROXY GOAGENT_LISTEN";1175 if (dnsDomainIs(host, ".helplinfen.com") || host == "helplinfen.com") return "PROXY GOAGENT_LISTEN";1176 if (dnsDomainIs(host, ".helloandroid.com") || host == "helloandroid.com") return "PROXY GOAGENT_LISTEN";1177 if (dnsDomainIs(host, ".helloqueer.com") || host == "helloqueer.com") return "PROXY GOAGENT_LISTEN";1178 if (dnsDomainIs(host, ".hellotxt.com") || host == "hellotxt.com") return "PROXY GOAGENT_LISTEN";1179 if (dnsDomainIs(host, ".htxt.it/") || host == "htxt.it/") return "PROXY GOAGENT_LISTEN";1180 if (url.indexOf(".hellouk.org/forum/lofiversion") >= 0) return "PROXY GOAGENT_LISTEN";1181 if (dnsDomainIs(host, ".helpeachpeople.com") || host == "helpeachpeople.com") return "PROXY GOAGENT_LISTEN";1182 if (host.indexOf(".helpzhuling.org") >= 0) return "PROXY GOAGENT_LISTEN";1183 if (dnsDomainIs(host, ".date.fm") || host == "date.fm") return "PROXY GOAGENT_LISTEN";1184 if (dnsDomainIs(host, ".flightcaster.com") || host == "flightcaster.com") return "PROXY GOAGENT_LISTEN";1185 if (dnsDomainIs(host, ".branch.com") || host == "branch.com") return "PROXY GOAGENT_LISTEN";1186 if (dnsDomainIs(host, ".awardwinningfjords.com") || host == "awardwinningfjords.com") return "PROXY GOAGENT_LISTEN";1187 if (dnsDomainIs(host, ".futureme.org") || host == "futureme.org") return "PROXY GOAGENT_LISTEN";1188 if (dnsDomainIs(host, ".getcloudapp.com") || host == "getcloudapp.com") return "PROXY GOAGENT_LISTEN";1189 if (dnsDomainIs(host, ".cl.ly") || host == "cl.ly") return "PROXY GOAGENT_LISTEN";1190 if (dnsDomainIs(host, ".getsmartlinks.com") || host == "getsmartlinks.com") return "PROXY GOAGENT_LISTEN";1191 if (dnsDomainIs(host, ".git-scm.com") || host == "git-scm.com") return "PROXY GOAGENT_LISTEN";1192 if (dnsDomainIs(host, ".lesscss.org") || host == "lesscss.org") return "PROXY GOAGENT_LISTEN";1193 if (dnsDomainIs(host, ".list.ly") || host == "list.ly") return "PROXY GOAGENT_LISTEN";1194 if (dnsDomainIs(host, ".maxgif.com") || host == "maxgif.com") return "PROXY GOAGENT_LISTEN";1195 if (dnsDomainIs(host, ".overlapr.com") || host == "overlapr.com") return "PROXY GOAGENT_LISTEN";1196 if (dnsDomainIs(host, ".peerpong.com") || host == "peerpong.com") return "PROXY GOAGENT_LISTEN";1197 if (dnsDomainIs(host, ".pose.com") || host == "pose.com") return "PROXY GOAGENT_LISTEN";1198 if (dnsDomainIs(host, ".samsoff.es") || host == "samsoff.es") return "PROXY GOAGENT_LISTEN";1199 if (dnsDomainIs(host, ".sendoid.com") || host == "sendoid.com") return "PROXY GOAGENT_LISTEN";1200 if (dnsDomainIs(host, ".speckleapp.com") || host == "speckleapp.com") return "PROXY GOAGENT_LISTEN";1201 if (dnsDomainIs(host, ".stuffimreading.net") || host == "stuffimreading.net") return "PROXY GOAGENT_LISTEN";1202 if (dnsDomainIs(host, ".tomayko.com") || host == "tomayko.com") return "PROXY GOAGENT_LISTEN";1203 if (dnsDomainIs(host, ".twt.fm") || host == "twt.fm") return "PROXY GOAGENT_LISTEN";1204 if (dnsDomainIs(host, ".views.fm") || host == "views.fm") return "PROXY GOAGENT_LISTEN";1205 if (host.indexOf("heqinglian.net") >= 0) return "PROXY GOAGENT_LISTEN";1206 if (host.indexOf("here4news.com") >= 0) return "PROXY GOAGENT_LISTEN";1207 if (dnsDomainIs(host, ".heungkongdiscuss.com") || host == "heungkongdiscuss.com") return "PROXY GOAGENT_LISTEN";1208 if (host.indexOf("app.heywire.com") >= 0) return "PROXY GOAGENT_LISTEN";1209 if (host.indexOf(".hgseav.com") >= 0) return "PROXY GOAGENT_LISTEN";1210 if (dnsDomainIs(host, ".hidden-advent.org") || host == "hidden-advent.org") return "PROXY GOAGENT_LISTEN";1211 if (url.indexOf("hidecloud.com/blog/2008/07/29/fuck-beijing-olympics.html") >= 0) return "PROXY GOAGENT_LISTEN";1212 if (dnsDomainIs(host, ".hidemyass.com") || host == "hidemyass.com") return "PROXY GOAGENT_LISTEN";1213 if (dnsDomainIs(host, ".hideipvpn.com") || host == "hideipvpn.com") return "PROXY GOAGENT_LISTEN";1214 if (host.indexOf(".hihiforum.com") >= 0) return "PROXY GOAGENT_LISTEN";1215 if (url.indexOf("http://hihiforum.com") == 0) return "PROXY GOAGENT_LISTEN";1216 if (dnsDomainIs(host, ".hihistory.net") || host == "hihistory.net") return "PROXY GOAGENT_LISTEN";1217 if (host.indexOf(".higfw.com") >= 0) return "PROXY GOAGENT_LISTEN";1218 if (dnsDomainIs(host, ".highrockmedia.com") || host == "highrockmedia.com") return "PROXY GOAGENT_LISTEN";1219 if (dnsDomainIs(host, ".hikinggfw.org") || host == "hikinggfw.org") return "PROXY GOAGENT_LISTEN";1220 if (dnsDomainIs(host, ".himemix.com") || host == "himemix.com") return "PROXY GOAGENT_LISTEN";1221 if (host.indexOf(".himemix.net") >= 0) return "PROXY GOAGENT_LISTEN";1222 if (host.indexOf("times.hinet.net") >= 0) return "PROXY GOAGENT_LISTEN";1223 if (host.indexOf(".hjclub.info") >= 0) return "PROXY GOAGENT_LISTEN";1224 if (url.indexOf(".hk-pub.com/forum") >= 0) return "PROXY GOAGENT_LISTEN";1225 if (url.indexOf("http://hk-pub.com") == 0) return "PROXY GOAGENT_LISTEN";1226 if (dnsDomainIs(host, ".hk32168.com") || host == "hk32168.com") return "PROXY GOAGENT_LISTEN";1227 if (url.indexOf("app.hkatvnews.com/v3") >= 0) return "PROXY GOAGENT_LISTEN";1228 if (host.indexOf("hkbc.net") >= 0) return "PROXY GOAGENT_LISTEN";1229 if (host.indexOf(".hkbf.org") >= 0) return "PROXY GOAGENT_LISTEN";1230 if (host.indexOf(".hkchurch.org") >= 0) return "PROXY GOAGENT_LISTEN";1231 if (host.indexOf("hkday.net") >= 0) return "PROXY GOAGENT_LISTEN";1232 if (url.indexOf(".hkdailynews.com.hk/china.php") >= 0) return "PROXY GOAGENT_LISTEN";1233 if (host.indexOf(".hkej.com") >= 0) return "PROXY GOAGENT_LISTEN";1234 if (url.indexOf(".hkepc.com/forum/viewthread.php?tid=1153322") >= 0) return "PROXY GOAGENT_LISTEN";1235 if (shExpMatch(url, "*global.hkepc.com*forum*")) return "PROXY GOAGENT_LISTEN";1236 if (host.indexOf("hkfront.org") >= 0) return "PROXY GOAGENT_LISTEN";1237 if (host.indexOf("hkgolden.com") >= 0) return "PROXY GOAGENT_LISTEN";1238 if (url.indexOf(".hkgreenradio.org/home") >= 0) return "PROXY GOAGENT_LISTEN";1239 if (shExpMatch(url, "*.hkheadline.com*blog*")) return "PROXY GOAGENT_LISTEN";1240 if (url.indexOf(".hkheadline.com/instantnews") >= 0) return "PROXY GOAGENT_LISTEN";1241 if (host.indexOf("hkhkhk.com") >= 0) return "PROXY GOAGENT_LISTEN";1242 if (host.indexOf("hkjc.com") >= 0) return "PROXY GOAGENT_LISTEN";1243 if (host.indexOf(".hkjp.org") >= 0) return "PROXY GOAGENT_LISTEN";1244 if (host.indexOf("hkptu.org") >= 0) return "PROXY GOAGENT_LISTEN";1245 if (dnsDomainIs(host, ".hkreporter.com") || host == "hkreporter.com") return "PROXY GOAGENT_LISTEN";1246 if (host.indexOf(".hkwcc.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";1247 if (dnsDomainIs(host, ".hkzone.org") || host == "hkzone.org") return "PROXY GOAGENT_LISTEN";1248 if (url.indexOf("apps.hloli.net/gfwtube") >= 0) return "PROXY GOAGENT_LISTEN";1249 if (dnsDomainIs(host, ".hnjhj.com") || host == "hnjhj.com") return "PROXY GOAGENT_LISTEN";1250 if (dnsDomainIs(host, ".hola.com") || host == "hola.com") return "PROXY GOAGENT_LISTEN";1251 if (dnsDomainIs(host, ".hola.org") || host == "hola.org") return "PROXY GOAGENT_LISTEN";1252 if (dnsDomainIs(host, ".holyspiritspeaks.org") || host == "holyspiritspeaks.org") return "PROXY GOAGENT_LISTEN";1253 if (dnsDomainIs(host, ".derekhsu.homeip.net") || host == "derekhsu.homeip.net") return "PROXY GOAGENT_LISTEN";1254 if (url.indexOf("http://homeservershow.com") == 0) return "PROXY GOAGENT_LISTEN";1255 if (url.indexOf("http://old.honeynet.org/scans/scan31/sub/doug_eric/spam_translation.html") == 0) return "PROXY GOAGENT_LISTEN";1256 if (host.indexOf("hongmeimei.com") >= 0) return "PROXY GOAGENT_LISTEN";1257 if (dnsDomainIs(host, ".hongzhi.li") || host == "hongzhi.li") return "PROXY GOAGENT_LISTEN";1258 if (dnsDomainIs(host, ".hootsuite.com") || host == "hootsuite.com") return "PROXY GOAGENT_LISTEN";1259 if (url.indexOf("http://globalrescue.hopto.org/") == 0) return "PROXY GOAGENT_LISTEN";1260 if (host.indexOf("hotpot.hk") >= 0) return "PROXY GOAGENT_LISTEN";1261 if (host.indexOf(".hotshame.com") >= 0) return "PROXY GOAGENT_LISTEN";1262 if (dnsDomainIs(host, ".hotspotshield.com") || host == "hotspotshield.com") return "PROXY GOAGENT_LISTEN";1263 if (dnsDomainIs(host, ".hougaige.com") || host == "hougaige.com") return "PROXY GOAGENT_LISTEN";1264 if (dnsDomainIs(host, ".howtoforge.com") || host == "howtoforge.com") return "PROXY GOAGENT_LISTEN";1265 if (dnsDomainIs(host, ".hqcdp.org") || host == "hqcdp.org") return "PROXY GOAGENT_LISTEN";1266 if (host.indexOf(".hrcir.com") >= 0) return "PROXY GOAGENT_LISTEN";1267 if (dnsDomainIs(host, ".hrichina.org") || host == "hrichina.org") return "PROXY GOAGENT_LISTEN";1268 if (dnsDomainIs(host, ".hrw.org") || host == "hrw.org") return "PROXY GOAGENT_LISTEN";1269 if (dnsDomainIs(host, ".hsjp.net") || host == "hsjp.net") return "PROXY GOAGENT_LISTEN";1270 if (dnsDomainIs(host, ".hsselite.com") || host == "hsselite.com") return "PROXY GOAGENT_LISTEN";1271 if (host.indexOf(".htkou.net") >= 0) return "PROXY GOAGENT_LISTEN";1272 if (dnsDomainIs(host, ".htmldog.com") || host == "htmldog.com") return "PROXY GOAGENT_LISTEN";1273 if (host.indexOf("huaglad.com") >= 0) return "PROXY GOAGENT_LISTEN";1274 if (dnsDomainIs(host, ".huanghuagang.org") || host == "huanghuagang.org") return "PROXY GOAGENT_LISTEN";1275 if (dnsDomainIs(host, ".huaren.us") || host == "huaren.us") return "PROXY GOAGENT_LISTEN";1276 if (host.indexOf("huaxia-news.com") >= 0) return "PROXY GOAGENT_LISTEN";1277 if (host.indexOf("huaxin.ph") >= 0) return "PROXY GOAGENT_LISTEN";1278 if (host.indexOf("hua-yue.net") >= 0) return "PROXY GOAGENT_LISTEN";1279 if (dnsDomainIs(host, ".hugoroy.eu") || host == "hugoroy.eu") return "PROXY GOAGENT_LISTEN";1280 if (host.indexOf("t.huhaitai.com") >= 0) return "PROXY GOAGENT_LISTEN";1281 if (dnsDomainIs(host, ".huhamhire.com") || host == "huhamhire.com") return "PROXY GOAGENT_LISTEN";1282 if (dnsDomainIs(host, ".hung-ya.com") || host == "hung-ya.com") return "PROXY GOAGENT_LISTEN";1283 if (dnsDomainIs(host, ".hungerstrikeforaids.org") || host == "hungerstrikeforaids.org") return "PROXY GOAGENT_LISTEN";1284 if (dnsDomainIs(host, ".huping.net") || host == "huping.net") return "PROXY GOAGENT_LISTEN";1285 if (dnsDomainIs(host, ".hutianyi.net") || host == "hutianyi.net") return "PROXY GOAGENT_LISTEN";1286 if (host.indexOf("hutong9.net") >= 0) return "PROXY GOAGENT_LISTEN";1287 if (dnsDomainIs(host, ".hwinfo.com") || host == "hwinfo.com") return "PROXY GOAGENT_LISTEN";1288 if (host.indexOf(".hxwq.org") >= 0) return "PROXY GOAGENT_LISTEN";1289 if (dnsDomainIs(host, ".hypeshell.com") || host == "hypeshell.com") return "PROXY GOAGENT_LISTEN";1290 if (dnsDomainIs(host, ".hyperrate.com") || host == "hyperrate.com") return "PROXY GOAGENT_LISTEN";1291 if (host.indexOf(".i-cable.com") >= 0) return "PROXY GOAGENT_LISTEN";1292 if (dnsDomainIs(host, ".i1.hk") || host == "i1.hk") return "PROXY GOAGENT_LISTEN";1293 if (dnsDomainIs(host, ".i2p2.de/") || host == "i2p2.de/") return "PROXY GOAGENT_LISTEN";1294 if (dnsDomainIs(host, ".i2runner.com") || host == "i2runner.com") return "PROXY GOAGENT_LISTEN";1295 if (dnsDomainIs(host, ".iask.ca") || host == "iask.ca") return "PROXY GOAGENT_LISTEN";1296 if (dnsDomainIs(host, ".iask.bz") || host == "iask.bz") return "PROXY GOAGENT_LISTEN";1297 if (url.indexOf("ibiblio.org/pub/packages/ccic") >= 0) return "PROXY GOAGENT_LISTEN";1298 if (dnsDomainIs(host, ".iblogserv-f.net") || host == "iblogserv-f.net") return "PROXY GOAGENT_LISTEN";1299 if (url.indexOf("http://cn.ibtimes.com") == 0) return "PROXY GOAGENT_LISTEN";1300 if (url.indexOf("blogs.icerocket.com/tag") >= 0) return "PROXY GOAGENT_LISTEN";1301 if (host.indexOf(".icij.org") >= 0) return "PROXY GOAGENT_LISTEN";1302 if (dnsDomainIs(host, ".icl-fi.org") || host == "icl-fi.org") return "PROXY GOAGENT_LISTEN";1303 if (dnsDomainIs(host, ".iconpaper.org") || host == "iconpaper.org") return "PROXY GOAGENT_LISTEN";1304 if (dnsDomainIs(host, ".icu-project.org") || host == "icu-project.org") return "PROXY GOAGENT_LISTEN";1305 if (url.indexOf("w.idaiwan.com/forum") >= 0) return "PROXY GOAGENT_LISTEN";1306 if (host.indexOf("idemocracy.asia") >= 0) return "PROXY GOAGENT_LISTEN";1307 if (dnsDomainIs(host, ".identi.ca") || host == "identi.ca") return "PROXY GOAGENT_LISTEN";1308 if (dnsDomainIs(host, ".idiomconnection.com") || host == "idiomconnection.com") return "PROXY GOAGENT_LISTEN";1309 if (url.indexOf("http://www.idlcoyote.com") == 0) return "PROXY GOAGENT_LISTEN";1310 if (host.indexOf(".idouga.com") >= 0) return "PROXY GOAGENT_LISTEN";1311 if (host.indexOf("forum.idsam.com") >= 0) return "PROXY GOAGENT_LISTEN";1312 if (host.indexOf(".idv.tw") >= 0) return "PROXY GOAGENT_LISTEN";1313 if (host.indexOf("ieasynews.net") >= 0) return "PROXY GOAGENT_LISTEN";1314 if (host.indexOf(".ied2k.net") >= 0) return "PROXY GOAGENT_LISTEN";1315 if (url.indexOf("http://if.ttt/") == 0) return "PROXY GOAGENT_LISTEN";1316 if (host.indexOf("ifanqiang.com") >= 0) return "PROXY GOAGENT_LISTEN";1317 if (url.indexOf(".ifanr.com/857") >= 0) return "PROXY GOAGENT_LISTEN";1318 if (dnsDomainIs(host, ".ifcss.org") || host == "ifcss.org") return "PROXY GOAGENT_LISTEN";1319 if (host.indexOf("ifjc.org") >= 0) return "PROXY GOAGENT_LISTEN";1320 if (url.indexOf("http://ift.tt") == 0) return "PROXY GOAGENT_LISTEN";1321 if (dnsDomainIs(host, ".antidrm.hpg.ig.com.br") || host == "antidrm.hpg.ig.com.br") return "PROXY GOAGENT_LISTEN";1322 if (dnsDomainIs(host, ".igfw.net") || host == "igfw.net") return "PROXY GOAGENT_LISTEN";1323 if (dnsDomainIs(host, ".ignitedetroit.net") || host == "ignitedetroit.net") return "PROXY GOAGENT_LISTEN";1324 if (dnsDomainIs(host, ".igvita.com") || host == "igvita.com") return "PROXY GOAGENT_LISTEN";1325 if (dnsDomainIs(host, ".ihakka.net") || host == "ihakka.net") return "PROXY GOAGENT_LISTEN";1326 if (dnsDomainIs(host, ".iicns.com") || host == "iicns.com") return "PROXY GOAGENT_LISTEN";1327 if (dnsDomainIs(host, ".illusionfactory.com") || host == "illusionfactory.com") return "PROXY GOAGENT_LISTEN";1328 if (dnsDomainIs(host, ".ilove80.be") || host == "ilove80.be") return "PROXY GOAGENT_LISTEN";1329 if (dnsDomainIs(host, ".im.tv") || host == "im.tv") return "PROXY GOAGENT_LISTEN";1330 if (dnsDomainIs(host, ".im88.tw") || host == "im88.tw") return "PROXY GOAGENT_LISTEN";1331 if (dnsDomainIs(host, ".imageflea.com") || host == "imageflea.com") return "PROXY GOAGENT_LISTEN";1332 if (host.indexOf("imageshack.us") >= 0) return "PROXY GOAGENT_LISTEN";1333 if (dnsDomainIs(host, ".imagevenue.com") || host == "imagevenue.com") return "PROXY GOAGENT_LISTEN";1334 if (dnsDomainIs(host, ".imagezilla.net") || host == "imagezilla.net") return "PROXY GOAGENT_LISTEN";1335 if (url.indexOf("http://www.imdb.com/name/nm0482730") == 0) return "PROXY GOAGENT_LISTEN";1336 if (url.indexOf("http://www.imdb.com/title/tt0819354/") == 0) return "PROXY GOAGENT_LISTEN";1337 if (dnsDomainIs(host, ".img.ly") || host == "img.ly") return "PROXY GOAGENT_LISTEN";1338 if (dnsDomainIs(host, ".imkev.com") || host == "imkev.com") return "PROXY GOAGENT_LISTEN";1339 if (host.indexOf(".imlive.com") >= 0) return "PROXY GOAGENT_LISTEN";1340 if (host.indexOf("immigration.gov.tw") >= 0) return "PROXY GOAGENT_LISTEN";1341 if (url.indexOf("http://tech2.in.com/video/") == 0) return "PROXY GOAGENT_LISTEN";1342 if (dnsDomainIs(host, ".incredibox.fr") || host == "incredibox.fr") return "PROXY GOAGENT_LISTEN";1343 if (host.indexOf(".initiativesforchina.org") >= 0) return "PROXY GOAGENT_LISTEN";1344 if (dnsDomainIs(host, ".inmediahk.net") || host == "inmediahk.net") return "PROXY GOAGENT_LISTEN";1345 if (dnsDomainIs(host, ".innermongolia.org") || host == "innermongolia.org") return "PROXY GOAGENT_LISTEN";1346 if (dnsDomainIs(host, ".instagram.com") || host == "instagram.com") return "PROXY GOAGENT_LISTEN";1347 if (dnsDomainIs(host, ".interfaceaddiction.com") || host == "interfaceaddiction.com") return "PROXY GOAGENT_LISTEN";1348 if (dnsDomainIs(host, ".internationalrivers.org") || host == "internationalrivers.org") return "PROXY GOAGENT_LISTEN";1349 if (url.indexOf("http://internet.org/") == 0) return "PROXY GOAGENT_LISTEN";1350 if (host.indexOf("internetdefenseleague.org") >= 0) return "PROXY GOAGENT_LISTEN";1351 if (host.indexOf("internetfreedom.org") >= 0) return "PROXY GOAGENT_LISTEN";1352 if (dnsDomainIs(host, ".internetpopculture.com") || host == "internetpopculture.com") return "PROXY GOAGENT_LISTEN";1353 if (dnsDomainIs(host, ".inxian.com") || host == "inxian.com") return "PROXY GOAGENT_LISTEN";1354 if (dnsDomainIs(host, ".iphone4hongkong.com") || host == "iphone4hongkong.com") return "PROXY GOAGENT_LISTEN";1355 if (dnsDomainIs(host, ".iphonehacks.com") || host == "iphonehacks.com") return "PROXY GOAGENT_LISTEN";1356 if (dnsDomainIs(host, ".iphonix.fr") || host == "iphonix.fr") return "PROXY GOAGENT_LISTEN";1357 if (dnsDomainIs(host, ".ipicture.ru") || host == "ipicture.ru") return "PROXY GOAGENT_LISTEN";1358 if (host.indexOf("ipobar.com") >= 0) return "PROXY GOAGENT_LISTEN";1359 if (dnsDomainIs(host, ".ippotv.com") || host == "ippotv.com") return "PROXY GOAGENT_LISTEN";1360 if (url.indexOf("https://*.iptorrents.com") == 0) return "PROXY GOAGENT_LISTEN";1361 if (url.indexOf("https://iptorrents.com") == 0) return "PROXY GOAGENT_LISTEN";1362 if (dnsDomainIs(host, ".ipvanish.com") || host == "ipvanish.com") return "PROXY GOAGENT_LISTEN";1363 if (host.indexOf("iredmail.org") >= 0) return "PROXY GOAGENT_LISTEN";1364 if (dnsDomainIs(host, ".ironicsoftware.com") || host == "ironicsoftware.com") return "PROXY GOAGENT_LISTEN";1365 if (dnsDomainIs(host, ".ironbigfools.compython.net") || host == "ironbigfools.compython.net") return "PROXY GOAGENT_LISTEN";1366 if (dnsDomainIs(host, ".ironpython.net") || host == "ironpython.net") return "PROXY GOAGENT_LISTEN";1367 if (url.indexOf(".beta.iset.com.tw/forum") >= 0) return "PROXY GOAGENT_LISTEN";1368 if (url.indexOf("http://beta.iset.com.tw/forum") >= 0) return "PROXY GOAGENT_LISTEN";1369 if (host.indexOf("forum.iset.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1370 if (host.indexOf(".islam.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";1371 if (host.indexOf(".islamicity.com") >= 0) return "PROXY GOAGENT_LISTEN";1372 if (host.indexOf(".isaacmao.com") >= 0) return "PROXY GOAGENT_LISTEN";1373 if (dnsDomainIs(host, ".!--isaacmao.com") || host == "!--isaacmao.com") return "PROXY GOAGENT_LISTEN";1374 if (dnsDomainIs(host, ".isgreat.org") || host == "isgreat.org") return "PROXY GOAGENT_LISTEN";1375 if (dnsDomainIs(host, ".ismprofessional.net") || host == "ismprofessional.net") return "PROXY GOAGENT_LISTEN";1376 if (host.indexOf("isohunt.com") >= 0) return "PROXY GOAGENT_LISTEN";1377 if (dnsDomainIs(host, ".israbox.com") || host == "israbox.com") return "PROXY GOAGENT_LISTEN";1378 if (url.indexOf("blog.istef.info/2007/10/21/myentunnel") >= 0) return "PROXY GOAGENT_LISTEN";1379 if (host.indexOf(".istockphoto.com") >= 0) return "PROXY GOAGENT_LISTEN";1380 if (host.indexOf("isunaffairs.com") >= 0) return "PROXY GOAGENT_LISTEN";1381 if (host.indexOf("isuntv.com") >= 0) return "PROXY GOAGENT_LISTEN";1382 if (dnsDomainIs(host, ".itaboo.info") || host == "itaboo.info") return "PROXY GOAGENT_LISTEN";1383 if (host.indexOf("download.ithome.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1384 if (host.indexOf("ithelp.ithome.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1385 if (dnsDomainIs(host, ".itshidden.com") || host == "itshidden.com") return "PROXY GOAGENT_LISTEN";1386 if (host.indexOf(".itweet.net") >= 0) return "PROXY GOAGENT_LISTEN";1387 if (url.indexOf("http://itweet.net") == 0) return "PROXY GOAGENT_LISTEN";1388 if (host.indexOf(".iu45.com") >= 0) return "PROXY GOAGENT_LISTEN";1389 if (dnsDomainIs(host, ".iuhrdf.org") || host == "iuhrdf.org") return "PROXY GOAGENT_LISTEN";1390 if (host.indexOf(".iverycd.com") >= 0) return "PROXY GOAGENT_LISTEN";1391 if (dnsDomainIs(host, ".lvv2.com") || host == "lvv2.com") return "PROXY GOAGENT_LISTEN";1392 if (dnsDomainIs(host, ".ixquick.com") || host == "ixquick.com") return "PROXY GOAGENT_LISTEN";1393 if (host.indexOf(".izaobao.us") >= 0) return "PROXY GOAGENT_LISTEN";1394 if (dnsDomainIs(host, ".gmozomg.izihost.org") || host == "gmozomg.izihost.org") return "PROXY GOAGENT_LISTEN";1395 if (host.indexOf(".izles.net") >= 0) return "PROXY GOAGENT_LISTEN";1396 if (dnsDomainIs(host, ".j.mp") || host == "j.mp") return "PROXY GOAGENT_LISTEN";1397 if (host.indexOf("blog.jackjia.com") >= 0) return "PROXY GOAGENT_LISTEN";1398 if (dnsDomainIs(host, ".japan-whores.com") || host == "japan-whores.com") return "PROXY GOAGENT_LISTEN";1399 if (host.indexOf(".javbus.com") >= 0) return "PROXY GOAGENT_LISTEN";1400 if (host.indexOf("jbtalks.cc") >= 0) return "PROXY GOAGENT_LISTEN";1401 if (host.indexOf("jbtalks.com") >= 0) return "PROXY GOAGENT_LISTEN";1402 if (host.indexOf("jbtalks.my") >= 0) return "PROXY GOAGENT_LISTEN";1403 if (host.indexOf("jeanyim.com") >= 0) return "PROXY GOAGENT_LISTEN";1404 if (dnsDomainIs(host, ".jgoodies.com") || host == "jgoodies.com") return "PROXY GOAGENT_LISTEN";1405 if (dnsDomainIs(host, ".jiaoyou8.com") || host == "jiaoyou8.com") return "PROXY GOAGENT_LISTEN";1406 if (host.indexOf(".jiehua.cz") >= 0) return "PROXY GOAGENT_LISTEN";1407 if (dnsDomainIs(host, ".hk.jiepang.com") || host == "hk.jiepang.com") return "PROXY GOAGENT_LISTEN";1408 if (dnsDomainIs(host, ".tw.jiepang.com") || host == "tw.jiepang.com") return "PROXY GOAGENT_LISTEN";1409 if (host.indexOf("jieshibaobao.com") >= 0) return "PROXY GOAGENT_LISTEN";1410 if (dnsDomainIs(host, ".jinbushe.org") || host == "jinbushe.org") return "PROXY GOAGENT_LISTEN";1411 if (host.indexOf("zhao.jinhai.de") >= 0) return "PROXY GOAGENT_LISTEN";1412 if (dnsDomainIs(host, ".jingpin.org") || host == "jingpin.org") return "PROXY GOAGENT_LISTEN";1413 if (host.indexOf("ac.jiruan.net") >= 0) return "PROXY GOAGENT_LISTEN";1414 if (dnsDomainIs(host, ".jitouch.com") || host == "jitouch.com") return "PROXY GOAGENT_LISTEN";1415 if (host.indexOf("jkforum.net") >= 0) return "PROXY GOAGENT_LISTEN";1416 if (url.indexOf("research.jmsc.hku.hk/social") >= 0) return "PROXY GOAGENT_LISTEN";1417 if (dnsDomainIs(host, ".joachims.org") || host == "joachims.org") return "PROXY GOAGENT_LISTEN";1418 if (dnsDomainIs(host, ".jobso.tv") || host == "jobso.tv") return "PROXY GOAGENT_LISTEN";1419 if (dnsDomainIs(host, ".joeedelman.com") || host == "joeedelman.com") return "PROXY GOAGENT_LISTEN";1420 if (dnsDomainIs(host, ".journalofdemocracy.org") || host == "journalofdemocracy.org") return "PROXY GOAGENT_LISTEN";1421 if (host.indexOf("jpopforum.net") >= 0) return "PROXY GOAGENT_LISTEN";1422 if (dnsDomainIs(host, ".juliereyc.com") || host == "juliereyc.com") return "PROXY GOAGENT_LISTEN";1423 if (dnsDomainIs(host, ".junauza.com") || host == "junauza.com") return "PROXY GOAGENT_LISTEN";1424 if (dnsDomainIs(host, ".junefourth-20.net") || host == "junefourth-20.net") return "PROXY GOAGENT_LISTEN";1425 if (host.indexOf("justfreevpn.com") >= 0) return "PROXY GOAGENT_LISTEN";1426 if (host.indexOf("justtristan.com") >= 0) return "PROXY GOAGENT_LISTEN";1427 if (dnsDomainIs(host, ".juziyue.com") || host == "juziyue.com") return "PROXY GOAGENT_LISTEN";1428 if (dnsDomainIs(host, ".jwmusic.org") || host == "jwmusic.org") return "PROXY GOAGENT_LISTEN";1429 if (host.indexOf(".jyxf.net") >= 0) return "PROXY GOAGENT_LISTEN";1430 if (dnsDomainIs(host, ".ka-wai.com") || host == "ka-wai.com") return "PROXY GOAGENT_LISTEN";1431 if (dnsDomainIs(host, ".kagyuoffice.org.tw") || host == "kagyuoffice.org.tw") return "PROXY GOAGENT_LISTEN";1432 if (host.indexOf(".kaiyuan.de") >= 0) return "PROXY GOAGENT_LISTEN";1433 if (dnsDomainIs(host, ".kakao.com") || host == "kakao.com") return "PROXY GOAGENT_LISTEN";1434 if (host.indexOf("kanzhongguo.com") >= 0) return "PROXY GOAGENT_LISTEN";1435 if (host.indexOf("kanzhongguo.eu") >= 0) return "PROXY GOAGENT_LISTEN";1436 if (dnsDomainIs(host, ".karayou.com") || host == "karayou.com") return "PROXY GOAGENT_LISTEN";1437 if (dnsDomainIs(host, ".kcsoftwares.com") || host == "kcsoftwares.com") return "PROXY GOAGENT_LISTEN";1438 if (host.indexOf(".kechara.com") >= 0) return "PROXY GOAGENT_LISTEN";1439 if (url.indexOf(".keepandshare.com/visit/visit_page.php?i=688154") >= 0) return "PROXY GOAGENT_LISTEN";1440 if (host.indexOf(".kendincos.net") >= 0) return "PROXY GOAGENT_LISTEN";1441 if (dnsDomainIs(host, ".kenengba.com") || host == "kenengba.com") return "PROXY GOAGENT_LISTEN";1442 if (dnsDomainIs(host, ".keontech.net") || host == "keontech.net") return "PROXY GOAGENT_LISTEN";1443 if (url.indexOf("wiki.keso.cn/Home") >= 0) return "PROXY GOAGENT_LISTEN";1444 if (host.indexOf(".khmusic.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1445 if (host.indexOf("bbs.kimy.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1446 if (host.indexOf("kingdomsalvation.org") >= 0) return "PROXY GOAGENT_LISTEN";1447 if (host.indexOf("kinghost.com") >= 0) return "PROXY GOAGENT_LISTEN";1448 if (host.indexOf(".kingstone.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1449 if (dnsDomainIs(host, ".killwall.com") || host == "killwall.com") return "PROXY GOAGENT_LISTEN";1450 if (host.indexOf(".kissbbao.cn") >= 0) return "PROXY GOAGENT_LISTEN";1451 if (url.indexOf(".knowledgerush.com/kr/encyclopedia") >= 0) return "PROXY GOAGENT_LISTEN";1452 if (dnsDomainIs(host, ".kodingen.com") || host == "kodingen.com") return "PROXY GOAGENT_LISTEN";1453 if (dnsDomainIs(host, ".kompozer.net") || host == "kompozer.net") return "PROXY GOAGENT_LISTEN";1454 if (dnsDomainIs(host, ".koolsolutions.com") || host == "koolsolutions.com") return "PROXY GOAGENT_LISTEN";1455 if (dnsDomainIs(host, ".koornk.com") || host == "koornk.com") return "PROXY GOAGENT_LISTEN";1456 if (url.indexOf(".kui.name/event") >= 0) return "PROXY GOAGENT_LISTEN";1457 if (host.indexOf("kun.im") >= 0) return "PROXY GOAGENT_LISTEN";1458 if (dnsDomainIs(host, ".kurtmunger.com") || host == "kurtmunger.com") return "PROXY GOAGENT_LISTEN";1459 if (host.indexOf("kusocity.com") >= 0) return "PROXY GOAGENT_LISTEN";1460 if (dnsDomainIs(host, ".kwcg.ca") || host == "kwcg.ca") return "PROXY GOAGENT_LISTEN";1461 if (host.indexOf("kwongwah.com.my") >= 0) return "PROXY GOAGENT_LISTEN";1462 if (host.indexOf("kyohk.net") >= 0) return "PROXY GOAGENT_LISTEN";1463 if (dnsDomainIs(host, ".kzeng.info") || host == "kzeng.info") return "PROXY GOAGENT_LISTEN";1464 if (host.indexOf("la-forum.org") >= 0) return "PROXY GOAGENT_LISTEN";1465 if (host.indexOf("ladbrokes.com") >= 0) return "PROXY GOAGENT_LISTEN";1466 if (dnsDomainIs(host, ".labiennale.org") || host == "labiennale.org") return "PROXY GOAGENT_LISTEN";1467 if (host.indexOf("lagranepoca.com") >= 0) return "PROXY GOAGENT_LISTEN";1468 if (host.indexOf(".lalulalu.com") >= 0) return "PROXY GOAGENT_LISTEN";1469 if (url.indexOf("http://www.lamenhu.com") == 0) return "PROXY GOAGENT_LISTEN";1470 if (dnsDomainIs(host, ".laogai.org") || host == "laogai.org") return "PROXY GOAGENT_LISTEN";1471 if (host.indexOf("laomiu.com") >= 0) return "PROXY GOAGENT_LISTEN";1472 if (host.indexOf(".laoyang.info") >= 0) return "PROXY GOAGENT_LISTEN";1473 if (url.indexOf("http://laoyang.info") == 0) return "PROXY GOAGENT_LISTEN";1474 if (dnsDomainIs(host, ".laptoplockdown.com") || host == "laptoplockdown.com") return "PROXY GOAGENT_LISTEN";1475 if (dnsDomainIs(host, ".laqingdan.net") || host == "laqingdan.net") return "PROXY GOAGENT_LISTEN";1476 if (dnsDomainIs(host, ".larsgeorge.com") || host == "larsgeorge.com") return "PROXY GOAGENT_LISTEN";1477 if (dnsDomainIs(host, ".lastfm.es") || host == "lastfm.es") return "PROXY GOAGENT_LISTEN";1478 if (host.indexOf("latelinenews.com") >= 0) return "PROXY GOAGENT_LISTEN";1479 if (dnsDomainIs(host, ".lazarsearlymusic.com") || host == "lazarsearlymusic.com") return "PROXY GOAGENT_LISTEN";1480 if (dnsDomainIs(host, ".leecheukyan.org") || host == "leecheukyan.org") return "PROXY GOAGENT_LISTEN";1481 if (dnsDomainIs(host, ".lematin.ch") || host == "lematin.ch") return "PROXY GOAGENT_LISTEN";1482 if (host.indexOf(".lemonde.fr") >= 0) return "PROXY GOAGENT_LISTEN";1483 if (dnsDomainIs(host, ".lenwhite.com") || host == "lenwhite.com") return "PROXY GOAGENT_LISTEN";1484 if (dnsDomainIs(host, ".lerosua.org") || host == "lerosua.org") return "PROXY GOAGENT_LISTEN";1485 if (host.indexOf("blog.lester850.info") >= 0) return "PROXY GOAGENT_LISTEN";1486 if (dnsDomainIs(host, ".lesoir.be") || host == "lesoir.be") return "PROXY GOAGENT_LISTEN";1487 if (dnsDomainIs(host, ".letscorp.net") || host == "letscorp.net") return "PROXY GOAGENT_LISTEN";1488 if (host.indexOf("liansi.org") >= 0) return "PROXY GOAGENT_LISTEN";1489 if (host.indexOf(".lianyue.net") >= 0) return "PROXY GOAGENT_LISTEN";1490 if (dnsDomainIs(host, ".liaowangxizang.net") || host == "liaowangxizang.net") return "PROXY GOAGENT_LISTEN";1491 if (host.indexOf(".liaowangxizang.net") >= 0) return "PROXY GOAGENT_LISTEN";1492 if (dnsDomainIs(host, ".liberal.org.hk") || host == "liberal.org.hk") return "PROXY GOAGENT_LISTEN";1493 if (host.indexOf("libertytimes.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1494 if (url.indexOf(".lidecheng.com/blog/fucking-gfw") >= 0) return "PROXY GOAGENT_LISTEN";1495 if (host.indexOf("limiao.net") >= 0) return "PROXY GOAGENT_LISTEN";1496 if (url.indexOf("abitno.linpie.com/use-ipv6-to-fuck-gfw") >= 0) return "PROXY GOAGENT_LISTEN";1497 if (dnsDomainIs(host, ".line.me") || host == "line.me") return "PROXY GOAGENT_LISTEN";1498 if (host.indexOf(".linglingfa.com") >= 0) return "PROXY GOAGENT_LISTEN";1499 if (dnsDomainIs(host, ".lingvodics.com") || host == "lingvodics.com") return "PROXY GOAGENT_LISTEN";1500 if (host.indexOf(".linkideo.com") >= 0) return "PROXY GOAGENT_LISTEN";1501 if (dnsDomainIs(host, ".api.linksalpha.com") || host == "api.linksalpha.com") return "PROXY GOAGENT_LISTEN";1502 if (dnsDomainIs(host, ".apidocs.linksalpha.com") || host == "apidocs.linksalpha.com") return "PROXY GOAGENT_LISTEN";1503 if (dnsDomainIs(host, ".www.linksalpha.com") || host == "www.linksalpha.com") return "PROXY GOAGENT_LISTEN";1504 if (dnsDomainIs(host, ".help.linksalpha.com") || host == "help.linksalpha.com") return "PROXY GOAGENT_LISTEN";1505 if (dnsDomainIs(host, ".linux-engineer.net") || host == "linux-engineer.net") return "PROXY GOAGENT_LISTEN";1506 if (dnsDomainIs(host, ".linuxconfig.org") || host == "linuxconfig.org") return "PROXY GOAGENT_LISTEN";1507 if (dnsDomainIs(host, ".linuxreviews.org") || host == "linuxreviews.org") return "PROXY GOAGENT_LISTEN";1508 if (url.indexOf("linuxtoy.org/archives/installing-west-chamber-on-ubuntu") >= 0) return "PROXY GOAGENT_LISTEN";1509 if (host.indexOf(".lipuman.com") >= 0) return "PROXY GOAGENT_LISTEN";1510 if (dnsDomainIs(host, ".listentoyoutube.com") || host == "listentoyoutube.com") return "PROXY GOAGENT_LISTEN";1511 if (host.indexOf("listorious.com") >= 0) return "PROXY GOAGENT_LISTEN";1512 if (dnsDomainIs(host, ".liudejun.com") || host == "liudejun.com") return "PROXY GOAGENT_LISTEN";1513 if (host.indexOf(".liuhanyu.com") >= 0) return "PROXY GOAGENT_LISTEN";1514 if (dnsDomainIs(host, ".liujianshu.com") || host == "liujianshu.com") return "PROXY GOAGENT_LISTEN";1515 if (dnsDomainIs(host, ".liuxiaotong.com") || host == "liuxiaotong.com") return "PROXY GOAGENT_LISTEN";1516 if (host.indexOf("liu.lu") >= 0) return "PROXY GOAGENT_LISTEN";1517 if (dnsDomainIs(host, ".liveleak.com") || host == "liveleak.com") return "PROXY GOAGENT_LISTEN";1518 if (host.indexOf(".livestation.com") >= 0) return "PROXY GOAGENT_LISTEN";1519 if (dnsDomainIs(host, ".livestream.com") || host == "livestream.com") return "PROXY GOAGENT_LISTEN";1520 if (dnsDomainIs(host, ".livingonline.us") || host == "livingonline.us") return "PROXY GOAGENT_LISTEN";1521 if (dnsDomainIs(host, ".livingstream.com") || host == "livingstream.com") return "PROXY GOAGENT_LISTEN";1522 if (dnsDomainIs(host, ".livevideo.com") || host == "livevideo.com") return "PROXY GOAGENT_LISTEN";1523 if (host.indexOf(".livevideo.com") >= 0) return "PROXY GOAGENT_LISTEN";1524 if (host.indexOf("lizhizhuangbi.com") >= 0) return "PROXY GOAGENT_LISTEN";1525 if (host.indexOf("lkcn.net") >= 0) return "PROXY GOAGENT_LISTEN";1526 if (url.indexOf("http://localpresshk.com") == 0) return "PROXY GOAGENT_LISTEN";1527 if (dnsDomainIs(host, ".lockdown.com") || host == "lockdown.com") return "PROXY GOAGENT_LISTEN";1528 if (dnsDomainIs(host, ".lockestek.com") || host == "lockestek.com") return "PROXY GOAGENT_LISTEN";1529 if (host.indexOf("logbot.net") >= 0) return "PROXY GOAGENT_LISTEN";1530 if (dnsDomainIs(host, ".logiqx.com") || host == "logiqx.com") return "PROXY GOAGENT_LISTEN";1531 if (dnsDomainIs(host, ".logmike.com") || host == "logmike.com") return "PROXY GOAGENT_LISTEN";1532 if (host.indexOf(".longhair.hk") >= 0) return "PROXY GOAGENT_LISTEN";1533 if (dnsDomainIs(host, ".longtermly.net") || host == "longtermly.net") return "PROXY GOAGENT_LISTEN";1534 if (host.indexOf(".lookatgame.com") >= 0) return "PROXY GOAGENT_LISTEN";1535 if (url.indexOf("http://lookatgame.com") == 0) return "PROXY GOAGENT_LISTEN";1536 if (dnsDomainIs(host, ".lookingglasstheatre.org") || host == "lookingglasstheatre.org") return "PROXY GOAGENT_LISTEN";1537 if (dnsDomainIs(host, ".lookpic.com") || host == "lookpic.com") return "PROXY GOAGENT_LISTEN";1538 if (host.indexOf(".lotuslight.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";1539 if (host.indexOf("hkreporter.loved.hk") >= 0) return "PROXY GOAGENT_LISTEN";1540 if (dnsDomainIs(host, ".lrfz.com") || host == "lrfz.com") return "PROXY GOAGENT_LISTEN";1541 if (url.indexOf("http://lrip.org/") == 0) return "PROXY GOAGENT_LISTEN";1542 if (dnsDomainIs(host, ".lsd.org.hk") || host == "lsd.org.hk") return "PROXY GOAGENT_LISTEN";1543 if (host.indexOf("lsforum.net") >= 0) return "PROXY GOAGENT_LISTEN";1544 if (dnsDomainIs(host, ".lsm.org") || host == "lsm.org") return "PROXY GOAGENT_LISTEN";1545 if (dnsDomainIs(host, ".lsmchinese.org") || host == "lsmchinese.org") return "PROXY GOAGENT_LISTEN";1546 if (dnsDomainIs(host, ".lsmkorean.org") || host == "lsmkorean.org") return "PROXY GOAGENT_LISTEN";1547 if (host.indexOf(".ltn.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1548 if (dnsDomainIs(host, ".lupm.org") || host == "lupm.org") return "PROXY GOAGENT_LISTEN";1549 if (dnsDomainIs(host, ".lushstories.com") || host == "lushstories.com") return "PROXY GOAGENT_LISTEN";1550 if (dnsDomainIs(host, ".lvhai.org") || host == "lvhai.org") return "PROXY GOAGENT_LISTEN";1551 if (dnsDomainIs(host, ".mh4u.org") || host == "mh4u.org") return "PROXY GOAGENT_LISTEN";1552 if (url.indexOf("m-team.cc/forum") >= 0) return "PROXY GOAGENT_LISTEN";1553 if (host.indexOf("www.macrovpn.com") >= 0) return "PROXY GOAGENT_LISTEN";1554 if (dnsDomainIs(host, ".mad-ar.ch") || host == "mad-ar.ch") return "PROXY GOAGENT_LISTEN";1555 if (url.indexOf("http://maiplus.com") == 0) return "PROXY GOAGENT_LISTEN";1556 if (dnsDomainIs(host, ".marc.info") || host == "marc.info") return "PROXY GOAGENT_LISTEN";1557 if (host.indexOf("marguerite.su") >= 0) return "PROXY GOAGENT_LISTEN";1558 if (dnsDomainIs(host, ".martincartoons.com") || host == "martincartoons.com") return "PROXY GOAGENT_LISTEN";1559 if (host.indexOf(".maiio.net") >= 0) return "PROXY GOAGENT_LISTEN";1560 if (host.indexOf("mail-archive.com") >= 0) return "PROXY GOAGENT_LISTEN";1561 if (host.indexOf(".malaysiakini.com") >= 0) return "PROXY GOAGENT_LISTEN";1562 if (dnsDomainIs(host, ".makemymood.com") || host == "makemymood.com") return "PROXY GOAGENT_LISTEN";1563 if (dnsDomainIs(host, ".marines.mil") || host == "marines.mil") return "PROXY GOAGENT_LISTEN";1564 if (shExpMatch(url, "*markmail.org*message*")) return "PROXY GOAGENT_LISTEN";1565 if (dnsDomainIs(host, ".martau.com") || host == "martau.com") return "PROXY GOAGENT_LISTEN";1566 if (url.indexOf("maruta.be/forget") >= 0) return "PROXY GOAGENT_LISTEN";1567 if (host.indexOf(".marxist.com") >= 0) return "PROXY GOAGENT_LISTEN";1568 if (dnsDomainIs(host, ".marxist.net") || host == "marxist.net") return "PROXY GOAGENT_LISTEN";1569 if (url.indexOf(".marxists.org/chinese") >= 0) return "PROXY GOAGENT_LISTEN";1570 if (dnsDomainIs(host, ".matainja.com") || host == "matainja.com") return "PROXY GOAGENT_LISTEN";1571 if (dnsDomainIs(host, ".mathiew-badimon.com") || host == "mathiew-badimon.com") return "PROXY GOAGENT_LISTEN";1572 if (dnsDomainIs(host, ".matsushimakaede.com") || host == "matsushimakaede.com") return "PROXY GOAGENT_LISTEN";1573 if (url.indexOf("http://maturejp.com") == 0) return "PROXY GOAGENT_LISTEN";1574 if (host.indexOf("mayimayi.com") >= 0) return "PROXY GOAGENT_LISTEN";1575 if (dnsDomainIs(host, ".mcadforums.com") || host == "mcadforums.com") return "PROXY GOAGENT_LISTEN";1576 if (host.indexOf("mcfog.com") >= 0) return "PROXY GOAGENT_LISTEN";1577 if (dnsDomainIs(host, ".md-t.org") || host == "md-t.org") return "PROXY GOAGENT_LISTEN";1578 if (url.indexOf(".mediafire.com/?") >= 0) return "PROXY GOAGENT_LISTEN";1579 if (dnsDomainIs(host, ".meetup.com") || host == "meetup.com") return "PROXY GOAGENT_LISTEN";1580 if (host.indexOf("mefeedia.com") >= 0) return "PROXY GOAGENT_LISTEN";1581 if (host.indexOf(".megaporn.com") >= 0) return "PROXY GOAGENT_LISTEN";1582 if (dnsDomainIs(host, ".megarotic.com") || host == "megarotic.com") return "PROXY GOAGENT_LISTEN";1583 if (host.indexOf("megavideo.com") >= 0) return "PROXY GOAGENT_LISTEN";1584 if (dnsDomainIs(host, ".megurineluka.com") || host == "megurineluka.com") return "PROXY GOAGENT_LISTEN";1585 if (host.indexOf("meirixiaochao.com") >= 0) return "PROXY GOAGENT_LISTEN";1586 if (dnsDomainIs(host, ".melon-peach.com") || host == "melon-peach.com") return "PROXY GOAGENT_LISTEN";1587 if (host.indexOf("memedia.cn") >= 0) return "PROXY GOAGENT_LISTEN";1588 if (dnsDomainIs(host, ".memehk.com") || host == "memehk.com") return "PROXY GOAGENT_LISTEN";1589 if (host.indexOf(".memrijttm.org") >= 0) return "PROXY GOAGENT_LISTEN";1590 if (host.indexOf("merit-times.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1591 if (url.indexOf(".mesotw.com/bbs") >= 0) return "PROXY GOAGENT_LISTEN";1592 if (host.indexOf(".metacafe.com") >= 0) return "PROXY GOAGENT_LISTEN";1593 if (dnsDomainIs(host, ".meteorshowersonline.com") || host == "meteorshowersonline.com") return "PROXY GOAGENT_LISTEN";1594 if (dnsDomainIs(host, ".metrolife.ca") || host == "metrolife.ca") return "PROXY GOAGENT_LISTEN";1595 if (host.indexOf("mgoon.com") >= 0) return "PROXY GOAGENT_LISTEN";1596 if (dnsDomainIs(host, ".mgstage.com") || host == "mgstage.com") return "PROXY GOAGENT_LISTEN";1597 if (host.indexOf("mhradio.org") >= 0) return "PROXY GOAGENT_LISTEN";1598 if (url.indexOf("http://michaelanti.com") == 0) return "PROXY GOAGENT_LISTEN";1599 if (dnsDomainIs(host, ".michaelmarketl.com") || host == "michaelmarketl.com") return "PROXY GOAGENT_LISTEN";1600 if (host.indexOf("middle-way.net") >= 0) return "PROXY GOAGENT_LISTEN";1601 if (url.indexOf(".mihk.hk/forum") >= 0) return "PROXY GOAGENT_LISTEN";1602 if (host.indexOf("mihua.org") >= 0) return "PROXY GOAGENT_LISTEN";1603 if (host.indexOf(".mimivip.com") >= 0) return "PROXY GOAGENT_LISTEN";1604 if (dnsDomainIs(host, ".minghui.org") || host == "minghui.org") return "PROXY GOAGENT_LISTEN";1605 if (host.indexOf("minghui-a.org") >= 0) return "PROXY GOAGENT_LISTEN";1606 if (host.indexOf("minghui-b.org") >= 0) return "PROXY GOAGENT_LISTEN";1607 if (host.indexOf("minghui-school.org") >= 0) return "PROXY GOAGENT_LISTEN";1608 if (dnsDomainIs(host, ".mingjinglishi.com") || host == "mingjinglishi.com") return "PROXY GOAGENT_LISTEN";1609 if (host.indexOf("mingjingnews.com") >= 0) return "PROXY GOAGENT_LISTEN";1610 if (host.indexOf("mingpao.com") >= 0) return "PROXY GOAGENT_LISTEN";1611 if (host.indexOf(".mingpaocanada.com") >= 0) return "PROXY GOAGENT_LISTEN";1612 if (host.indexOf(".mingpaomonthly.com") >= 0) return "PROXY GOAGENT_LISTEN";1613 if (host.indexOf("mingpaonews.com") >= 0) return "PROXY GOAGENT_LISTEN";1614 if (host.indexOf(".mingpaony.com") >= 0) return "PROXY GOAGENT_LISTEN";1615 if (host.indexOf(".mingpaosf.com") >= 0) return "PROXY GOAGENT_LISTEN";1616 if (host.indexOf(".mingpaotor.com") >= 0) return "PROXY GOAGENT_LISTEN";1617 if (host.indexOf(".mingpaovan.com") >= 0) return "PROXY GOAGENT_LISTEN";1618 if (url.indexOf(".mininova.org/tor/2593503") >= 0) return "PROXY GOAGENT_LISTEN";1619 if (host.indexOf(".mimivv.com") >= 0) return "PROXY GOAGENT_LISTEN";1620 if (dnsDomainIs(host, ".minzhuhua.net") || host == "minzhuhua.net") return "PROXY GOAGENT_LISTEN";1621 if (host.indexOf("minzhuzhanxian.com") >= 0) return "PROXY GOAGENT_LISTEN";1622 if (host.indexOf("minzhuzhongguo.org") >= 0) return "PROXY GOAGENT_LISTEN";1623 if (dnsDomainIs(host, ".miroguide.com") || host == "miroguide.com") return "PROXY GOAGENT_LISTEN";1624 if (host.indexOf("mirrorbooks.com") >= 0) return "PROXY GOAGENT_LISTEN";1625 if (host.indexOf("mitbbs.com") >= 0) return "PROXY GOAGENT_LISTEN";1626 if (dnsDomainIs(host, ".mixero.com") || host == "mixero.com") return "PROXY GOAGENT_LISTEN";1627 if (host.indexOf("mixpod.com") >= 0) return "PROXY GOAGENT_LISTEN";1628 if (dnsDomainIs(host, ".mixx.com") || host == "mixx.com") return "PROXY GOAGENT_LISTEN";1629 if (dnsDomainIs(host, ".mizzmona.com") || host == "mizzmona.com") return "PROXY GOAGENT_LISTEN";1630 if (host.indexOf(".mk5000.com") >= 0) return "PROXY GOAGENT_LISTEN";1631 if (host.indexOf(".mlcool.com") >= 0) return "PROXY GOAGENT_LISTEN";1632 if (dnsDomainIs(host, ".mmaaxx.com") || host == "mmaaxx.com") return "PROXY GOAGENT_LISTEN";1633 if (host.indexOf("plurktop.mmdays.com") >= 0) return "PROXY GOAGENT_LISTEN";1634 if (host.indexOf(".mmmca.com") >= 0) return "PROXY GOAGENT_LISTEN";1635 if (dnsDomainIs(host, ".mobatek.net") || host == "mobatek.net") return "PROXY GOAGENT_LISTEN";1636 if (host.indexOf(".mobile01.com") >= 0) return "PROXY GOAGENT_LISTEN";1637 if (dnsDomainIs(host, ".mobileways.de") || host == "mobileways.de") return "PROXY GOAGENT_LISTEN";1638 if (host.indexOf(".mobypicture.com") >= 0) return "PROXY GOAGENT_LISTEN";1639 if (url.indexOf("http://moby.to") == 0) return "PROXY GOAGENT_LISTEN";1640 if (dnsDomainIs(host, ".mrdoob.com") || host == "mrdoob.com") return "PROXY GOAGENT_LISTEN";1641 if (host.indexOf("wiki.moegirl.org") >= 0) return "PROXY GOAGENT_LISTEN";1642 if (dnsDomainIs(host, ".mog.com") || host == "mog.com") return "PROXY GOAGENT_LISTEN";1643 if (host.indexOf("molihua.org") >= 0) return "PROXY GOAGENT_LISTEN";1644 if (dnsDomainIs(host, ".mondex.org") || host == "mondex.org") return "PROXY GOAGENT_LISTEN";1645 if (url.indexOf("http://www.monlamit.org") == 0) return "PROXY GOAGENT_LISTEN";1646 if (host.indexOf("c1522.mooo.com") >= 0) return "PROXY GOAGENT_LISTEN";1647 if (dnsDomainIs(host, ".monitorchina.org") || host == "monitorchina.org") return "PROXY GOAGENT_LISTEN";1648 if (host.indexOf("bbs.morbell.com") >= 0) return "PROXY GOAGENT_LISTEN";1649 if (dnsDomainIs(host, ".morningsun.org") || host == "morningsun.org") return "PROXY GOAGENT_LISTEN";1650 if (dnsDomainIs(host, ".movabletype.com") || host == "movabletype.com") return "PROXY GOAGENT_LISTEN";1651 if (dnsDomainIs(host, ".moviefap.com") || host == "moviefap.com") return "PROXY GOAGENT_LISTEN";1652 if (dnsDomainIs(host, ".www.moztw.org") || host == "www.moztw.org") return "PROXY GOAGENT_LISTEN";1653 if (host.indexOf("mp3ye.eu") >= 0) return "PROXY GOAGENT_LISTEN";1654 if (dnsDomainIs(host, ".mp/") || host == "mp/") return "PROXY GOAGENT_LISTEN";1655 if (dnsDomainIs(host, ".mpettis.com") || host == "mpettis.com") return "PROXY GOAGENT_LISTEN";1656 if (host.indexOf("mpfinance.com") >= 0) return "PROXY GOAGENT_LISTEN";1657 if (host.indexOf("mpinews.com") >= 0) return "PROXY GOAGENT_LISTEN";1658 if (dnsDomainIs(host, ".mrtweet.com") || host == "mrtweet.com") return "PROXY GOAGENT_LISTEN";1659 if (host.indexOf("news.msn.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1660 if (host.indexOf("msguancha.com") >= 0) return "PROXY GOAGENT_LISTEN";1661 if (dnsDomainIs(host, ".mthruf.com") || host == "mthruf.com") return "PROXY GOAGENT_LISTEN";1662 if (dnsDomainIs(host, ".multiply.com") || host == "multiply.com") return "PROXY GOAGENT_LISTEN";1663 if (host.indexOf("multiproxy.org") >= 0) return "PROXY GOAGENT_LISTEN";1664 if (host.indexOf("forum.mymaji.com") >= 0) return "PROXY GOAGENT_LISTEN";1665 if (host.indexOf("multiupload.com") >= 0) return "PROXY GOAGENT_LISTEN";1666 if (dnsDomainIs(host, ".muouju.com") || host == "muouju.com") return "PROXY GOAGENT_LISTEN";1667 if (dnsDomainIs(host, ".muselinks.co.jp") || host == "muselinks.co.jp") return "PROXY GOAGENT_LISTEN";1668 if (dnsDomainIs(host, ".muzi.com") || host == "muzi.com") return "PROXY GOAGENT_LISTEN";1669 if (dnsDomainIs(host, ".muzi.net") || host == "muzi.net") return "PROXY GOAGENT_LISTEN";1670 if (dnsDomainIs(host, ".mx981.com") || host == "mx981.com") return "PROXY GOAGENT_LISTEN";1671 if (host.indexOf(".my-proxy.com") >= 0) return "PROXY GOAGENT_LISTEN";1672 if (host.indexOf("forum.my903.com") >= 0) return "PROXY GOAGENT_LISTEN";1673 if (host.indexOf("myactimes.com") >= 0) return "PROXY GOAGENT_LISTEN";1674 if (dnsDomainIs(host, ".my-addr.com") || host == "my-addr.com") return "PROXY GOAGENT_LISTEN";1675 if (dnsDomainIs(host, ".myaudiocast.com") || host == "myaudiocast.com") return "PROXY GOAGENT_LISTEN";1676 if (url.indexOf(".myav.com.tw/bbs") >= 0) return "PROXY GOAGENT_LISTEN";1677 if (dnsDomainIs(host, ".bbs.mychat.to") || host == "bbs.mychat.to") return "PROXY GOAGENT_LISTEN";1678 if (dnsDomainIs(host, ".mychinamyhome.com") || host == "mychinamyhome.com") return "PROXY GOAGENT_LISTEN";1679 if (host.indexOf(".mychinamyhome.com") >= 0) return "PROXY GOAGENT_LISTEN";1680 if (dnsDomainIs(host, ".www.mycould.com") || host == "www.mycould.com") return "PROXY GOAGENT_LISTEN";1681 if (dnsDomainIs(host, ".myeclipseide.com") || host == "myeclipseide.com") return "PROXY GOAGENT_LISTEN";1682 if (dnsDomainIs(host, ".myforum.com.hk") || host == "myforum.com.hk") return "PROXY GOAGENT_LISTEN";1683 if (dnsDomainIs(host, ".myforum.com.uk") || host == "myforum.com.uk") return "PROXY GOAGENT_LISTEN";1684 if (host.indexOf(".myfreshnet.com") >= 0) return "PROXY GOAGENT_LISTEN";1685 if (dnsDomainIs(host, ".myparagliding.com") || host == "myparagliding.com") return "PROXY GOAGENT_LISTEN";1686 if (dnsDomainIs(host, ".mypopescu.com") || host == "mypopescu.com") return "PROXY GOAGENT_LISTEN";1687 if (host.indexOf("mysinablog.com") >= 0) return "PROXY GOAGENT_LISTEN";1688 if (host.indexOf(".myspace.com") >= 0) return "PROXY GOAGENT_LISTEN";1689 if (dnsDomainIs(host, ".naacoalition.org") || host == "naacoalition.org") return "PROXY GOAGENT_LISTEN";1690 if (host.indexOf("old.nabble.com") >= 0) return "PROXY GOAGENT_LISTEN";1691 if (dnsDomainIs(host, ".naitik.net") || host == "naitik.net") return "PROXY GOAGENT_LISTEN";1692 if (dnsDomainIs(host, ".namsisi.com") || host == "namsisi.com") return "PROXY GOAGENT_LISTEN";1693 if (dnsDomainIs(host, ".nanyang.com") || host == "nanyang.com") return "PROXY GOAGENT_LISTEN";1694 if (dnsDomainIs(host, ".nanyangpost.com") || host == "nanyangpost.com") return "PROXY GOAGENT_LISTEN";1695 if (host.indexOf(".nanzao.com") >= 0) return "PROXY GOAGENT_LISTEN";1696 if (dnsDomainIs(host, ".jpl.nasa.gov") || host == "jpl.nasa.gov") return "PROXY GOAGENT_LISTEN";1697 if (dnsDomainIs(host, ".pds.nasa.gov") || host == "pds.nasa.gov") return "PROXY GOAGENT_LISTEN";1698 if (/^http:\/\/[^\/]+line\.naver\.jp/i.test(url)) return "PROXY GOAGENT_LISTEN";1699 if (dnsDomainIs(host, ".navicat.com") || host == "navicat.com") return "PROXY GOAGENT_LISTEN";1700 if (dnsDomainIs(host, ".nakido.com") || host == "nakido.com") return "PROXY GOAGENT_LISTEN";1701 if (host.indexOf(".naol.ca") >= 0) return "PROXY GOAGENT_LISTEN";1702 if (host.indexOf("cyberghost.natado.com") >= 0) return "PROXY GOAGENT_LISTEN";1703 if (dnsDomainIs(host, ".national-lottery.co.uk") || host == "national-lottery.co.uk") return "PROXY GOAGENT_LISTEN";1704 if (dnsDomainIs(host, ".navy.mil") || host == "navy.mil") return "PROXY GOAGENT_LISTEN";1705 if (host.indexOf("nccwatch.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";1706 if (host.indexOf(".nch.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1707 if (dnsDomainIs(host, ".ncn.org") || host == "ncn.org") return "PROXY GOAGENT_LISTEN";1708 if (dnsDomainIs(host, ".etools.ncol.com") || host == "etools.ncol.com") return "PROXY GOAGENT_LISTEN";1709 if (host.indexOf(".nde.de") >= 0) return "PROXY GOAGENT_LISTEN";1710 if (host.indexOf(".ndr.de") >= 0) return "PROXY GOAGENT_LISTEN";1711 if (host.indexOf("www.ned.org") >= 0) return "PROXY GOAGENT_LISTEN";1712 if (dnsDomainIs(host, ".nekoslovakia.net") || host == "nekoslovakia.net") return "PROXY GOAGENT_LISTEN";1713 if (host.indexOf("t.neolee.cn") >= 0) return "PROXY GOAGENT_LISTEN";1714 if (host.indexOf("netcolony.com") >= 0) return "PROXY GOAGENT_LISTEN";1715 if (host.indexOf("bolin.netfirms.com") >= 0) return "PROXY GOAGENT_LISTEN";1716 if (host.indexOf("zh.netlog.com") >= 0) return "PROXY GOAGENT_LISTEN";1717 if (host.indexOf("netme.cc") >= 0) return "PROXY GOAGENT_LISTEN";1718 if (host.indexOf("networkedblogs.com") >= 0) return "PROXY GOAGENT_LISTEN";1719 if (host.indexOf("neverforget8964.org") >= 0) return "PROXY GOAGENT_LISTEN";1720 if (host.indexOf("new-3lunch.net") >= 0) return "PROXY GOAGENT_LISTEN";1721 if (host.indexOf(".new-akiba.com") >= 0) return "PROXY GOAGENT_LISTEN";1722 if (host.indexOf(".newcenturymc.com") >= 0) return "PROXY GOAGENT_LISTEN";1723 if (url.indexOf("http://newcenturymc.com") == 0) return "PROXY GOAGENT_LISTEN";1724 if (host.indexOf("newcenturynews.com") >= 0) return "PROXY GOAGENT_LISTEN";1725 if (dnsDomainIs(host, ".newchen.com") || host == "newchen.com") return "PROXY GOAGENT_LISTEN";1726 if (host.indexOf(".newchen.com") >= 0) return "PROXY GOAGENT_LISTEN";1727 if (host.indexOf(".newgrounds.com") >= 0) return "PROXY GOAGENT_LISTEN";1728 if (host.indexOf("newlandmagazine.com.au") >= 0) return "PROXY GOAGENT_LISTEN";1729 if (host.indexOf("news100.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1730 if (dnsDomainIs(host, ".newscn.org") || host == "newscn.org") return "PROXY GOAGENT_LISTEN";1731 if (dnsDomainIs(host, ".newsminer.com") || host == "newsminer.com") return "PROXY GOAGENT_LISTEN";1732 if (url.indexOf("newspeak.cc/story") >= 0) return "PROXY GOAGENT_LISTEN";1733 if (host.indexOf(".newsancai.com") >= 0) return "PROXY GOAGENT_LISTEN";1734 if (dnsDomainIs(host, ".newstapa.org") || host == "newstapa.org") return "PROXY GOAGENT_LISTEN";1735 if (host.indexOf(".newtaiwan.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1736 if (dnsDomainIs(host, ".newtalk.tw") || host == "newtalk.tw") return "PROXY GOAGENT_LISTEN";1737 if (host.indexOf("newyorktimes.com") >= 0) return "PROXY GOAGENT_LISTEN";1738 if (shExpMatch(url, "*hk*.nextmedia.com*")) return "PROXY GOAGENT_LISTEN";1739 if (shExpMatch(url, "*tw*.nextmedia.com*")) return "PROXY GOAGENT_LISTEN";1740 if (host.indexOf("static.apple.nextmedia.com") >= 0) return "PROXY GOAGENT_LISTEN";1741 if (dnsDomainIs(host, ".nexton-net.jp") || host == "nexton-net.jp") return "PROXY GOAGENT_LISTEN";1742 if (host.indexOf("nexttv.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1743 if (dnsDomainIs(host, ".nga.mil") || host == "nga.mil") return "PROXY GOAGENT_LISTEN";1744 if (host.indexOf("ngensis.com") >= 0) return "PROXY GOAGENT_LISTEN";1745 if (url.indexOf(".nicovideo.jp/watch/") >= 0) return "PROXY GOAGENT_LISTEN";1746 if (dnsDomainIs(host, ".nighost.org") || host == "nighost.org") return "PROXY GOAGENT_LISTEN";1747 if (host.indexOf("nintendium.com") >= 0) return "PROXY GOAGENT_LISTEN";1748 if (host.indexOf(".dayaarmongol.ning.com") >= 0) return "PROXY GOAGENT_LISTEN";1749 if (url.indexOf("http://dayaarmongol.ning.com") == 0) return "PROXY GOAGENT_LISTEN";1750 if (host.indexOf("taiwanyes.ning.com") >= 0) return "PROXY GOAGENT_LISTEN";1751 if (dnsDomainIs(host, ".njactb.org") || host == "njactb.org") return "PROXY GOAGENT_LISTEN";1752 if (dnsDomainIs(host, ".njuice.com") || host == "njuice.com") return "PROXY GOAGENT_LISTEN";1753 if (host.indexOf("nlfreevpn.com") >= 0) return "PROXY GOAGENT_LISTEN";1754 if (dnsDomainIs(host, ".nobel.se") || host == "nobel.se") return "PROXY GOAGENT_LISTEN";1755 if (url.indexOf("nobelprize.org/nobel_prizes/peace/laureates/2010") >= 0) return "PROXY GOAGENT_LISTEN";1756 if (dnsDomainIs(host, ".nobodycanstop.us") || host == "nobodycanstop.us") return "PROXY GOAGENT_LISTEN";1757 if (dnsDomainIs(host, ".nokogiri.org") || host == "nokogiri.org") return "PROXY GOAGENT_LISTEN";1758 if (dnsDomainIs(host, ".nokola.com") || host == "nokola.com") return "PROXY GOAGENT_LISTEN";1759 if (dnsDomainIs(host, ".noobbox.com") || host == "noobbox.com") return "PROXY GOAGENT_LISTEN";1760 if (dnsDomainIs(host, ".novelasia.com") || host == "novelasia.com") return "PROXY GOAGENT_LISTEN";1761 if (url.indexOf("http://news.now.com/home*") == 0) return "PROXY GOAGENT_LISTEN";1762 if (dnsDomainIs(host, ".nownews.com") || host == "nownews.com") return "PROXY GOAGENT_LISTEN";1763 if (host.indexOf(".nowtorrents.com") >= 0) return "PROXY GOAGENT_LISTEN";1764 if (dnsDomainIs(host, ".noypf.com") || host == "noypf.com") return "PROXY GOAGENT_LISTEN";1765 if (dnsDomainIs(host, ".npa.go.jp") || host == "npa.go.jp") return "PROXY GOAGENT_LISTEN";1766 if (host.indexOf(".nps.gov") >= 0) return "PROXY GOAGENT_LISTEN";1767 if (dnsDomainIs(host, ".nrk.no") || host == "nrk.no") return "PROXY GOAGENT_LISTEN";1768 if (dnsDomainIs(host, ".nsc.gov.tw") || host == "nsc.gov.tw") return "PROXY GOAGENT_LISTEN";1769 if (dnsDomainIs(host, ".ntd.tv") || host == "ntd.tv") return "PROXY GOAGENT_LISTEN";1770 if (host.indexOf("ntdtv.co") >= 0) return "PROXY GOAGENT_LISTEN";1771 if (host.indexOf("ntdtv.ca") >= 0) return "PROXY GOAGENT_LISTEN";1772 if (host.indexOf("ntdtv.org") >= 0) return "PROXY GOAGENT_LISTEN";1773 if (host.indexOf("ntdtv.ru") >= 0) return "PROXY GOAGENT_LISTEN";1774 if (dnsDomainIs(host, ".cbs.ntu.edu.tw") || host == "cbs.ntu.edu.tw") return "PROXY GOAGENT_LISTEN";1775 if (dnsDomainIs(host, ".nuexpo.com") || host == "nuexpo.com") return "PROXY GOAGENT_LISTEN";1776 if (dnsDomainIs(host, ".nurgo-software.com") || host == "nurgo-software.com") return "PROXY GOAGENT_LISTEN";1777 if (host.indexOf(".nuvid.com") >= 0) return "PROXY GOAGENT_LISTEN";1778 if (host.indexOf("nuzcom.com") >= 0) return "PROXY GOAGENT_LISTEN";1779 if (host.indexOf(".nvquan.org") >= 0) return "PROXY GOAGENT_LISTEN";1780 if (url.indexOf("http://www.nyaa.se") == 0) return "PROXY GOAGENT_LISTEN";1781 if (host.indexOf(".nydus.ca") >= 0) return "PROXY GOAGENT_LISTEN";1782 if (dnsDomainIs(host, ".nyt.com") || host == "nyt.com") return "PROXY GOAGENT_LISTEN";1783 if (dnsDomainIs(host, ".nytco.com") || host == "nytco.com") return "PROXY GOAGENT_LISTEN";1784 if (dnsDomainIs(host, ".nytimes.com") || host == "nytimes.com") return "PROXY GOAGENT_LISTEN";1785 if (dnsDomainIs(host, ".nytimg.com") || host == "nytimg.com") return "PROXY GOAGENT_LISTEN";1786 if (host.indexOf("nysingtao.com") >= 0) return "PROXY GOAGENT_LISTEN";1787 if (dnsDomainIs(host, ".nzchinese.net.nz") || host == "nzchinese.net.nz") return "PROXY GOAGENT_LISTEN";1788 if (host.indexOf("observechina.net") >= 0) return "PROXY GOAGENT_LISTEN";1789 if (host.indexOf("oclp.hk") >= 0) return "PROXY GOAGENT_LISTEN";1790 if (dnsDomainIs(host, ".october-review.org") || host == "october-review.org") return "PROXY GOAGENT_LISTEN";1791 if (host.indexOf("offbeatchina.com") >= 0) return "PROXY GOAGENT_LISTEN";1792 if (dnsDomainIs(host, ".ogaoga.org") || host == "ogaoga.org") return "PROXY GOAGENT_LISTEN";1793 if (host.indexOf("twtr2src.ogaoga.org") >= 0) return "PROXY GOAGENT_LISTEN";1794 if (url.indexOf(".oikos.com.tw/v4") >= 0) return "PROXY GOAGENT_LISTEN";1795 if (host.indexOf(".oiktv.com") >= 0) return "PROXY GOAGENT_LISTEN";1796 if (host.indexOf("oizoblog.com") >= 0) return "PROXY GOAGENT_LISTEN";1797 if (host.indexOf(".okayfreedom.com") >= 0) return "PROXY GOAGENT_LISTEN";1798 if (host.indexOf("old-cat.net") >= 0) return "PROXY GOAGENT_LISTEN";1799 if (dnsDomainIs(host, ".olumpo.com") || host == "olumpo.com") return "PROXY GOAGENT_LISTEN";1800 if (host.indexOf(".olympicwatch.org") >= 0) return "PROXY GOAGENT_LISTEN";1801 if (host.indexOf("omgili.com") >= 0) return "PROXY GOAGENT_LISTEN";1802 if (dnsDomainIs(host, ".omnitalk.com") || host == "omnitalk.com") return "PROXY GOAGENT_LISTEN";1803 if (dnsDomainIs(host, ".omnitalk.org") || host == "omnitalk.org") return "PROXY GOAGENT_LISTEN";1804 if (host.indexOf("forum.omy.sg") >= 0) return "PROXY GOAGENT_LISTEN";1805 if (host.indexOf("news.omy.sg") >= 0) return "PROXY GOAGENT_LISTEN";1806 if (host.indexOf("showbiz.omy.sg") >= 0) return "PROXY GOAGENT_LISTEN";1807 if (host.indexOf(".on.cc") >= 0) return "PROXY GOAGENT_LISTEN";1808 if (url.indexOf("https://onedrive.live.com/") == 0) return "PROXY GOAGENT_LISTEN";1809 if (host.indexOf(".onlylady.cn") >= 0) return "PROXY GOAGENT_LISTEN";1810 if (host.indexOf("onmoon.net") >= 0) return "PROXY GOAGENT_LISTEN";1811 if (host.indexOf("onmoon.com") >= 0) return "PROXY GOAGENT_LISTEN";1812 if (dnsDomainIs(host, ".ontrac.com") || host == "ontrac.com") return "PROXY GOAGENT_LISTEN";1813 if (host.indexOf(".oopsforum.com") >= 0) return "PROXY GOAGENT_LISTEN";1814 if (host.indexOf("open.com.hk") >= 0) return "PROXY GOAGENT_LISTEN";1815 if (host.indexOf("opendemocracy.net") >= 0) return "PROXY GOAGENT_LISTEN";1816 if (dnsDomainIs(host, ".myopenid.com") || host == "myopenid.com") return "PROXY GOAGENT_LISTEN";1817 if (dnsDomainIs(host, ".openid.net") || host == "openid.net") return "PROXY GOAGENT_LISTEN";1818 if (dnsDomainIs(host, ".blog.openinkpot.org") || host == "blog.openinkpot.org") return "PROXY GOAGENT_LISTEN";1819 if (dnsDomainIs(host, ".openleaks.org") || host == "openleaks.org") return "PROXY GOAGENT_LISTEN";1820 if (dnsDomainIs(host, ".openvpn.net") || host == "openvpn.net") return "PROXY GOAGENT_LISTEN";1821 if (dnsDomainIs(host, ".openwebster.com") || host == "openwebster.com") return "PROXY GOAGENT_LISTEN";1822 if (url.indexOf("http://help.opera.com") == 0) return "PROXY GOAGENT_LISTEN";1823 if (url.indexOf("my.opera.com/dahema") >= 0) return "PROXY GOAGENT_LISTEN";1824 if (dnsDomainIs(host, ".demo.opera-mini.net") || host == "demo.opera-mini.net") return "PROXY GOAGENT_LISTEN";1825 if (url.indexOf("opnir.com/215/myentunnel-ssh-autoproxy-cross-gfw") >= 0) return "PROXY GOAGENT_LISTEN";1826 if (host.indexOf("www.orchidbbs.com") >= 0) return "PROXY GOAGENT_LISTEN";1827 if (dnsDomainIs(host, ".orient-doll.com") || host == "orient-doll.com") return "PROXY GOAGENT_LISTEN";1828 if (dnsDomainIs(host, ".orientaldaily.com.my") || host == "orientaldaily.com.my") return "PROXY GOAGENT_LISTEN";1829 if (dnsDomainIs(host, ".orn.jp") || host == "orn.jp") return "PROXY GOAGENT_LISTEN";1830 if (dnsDomainIs(host, ".t.orzdream.com") || host == "t.orzdream.com") return "PROXY GOAGENT_LISTEN";1831 if (host.indexOf("tui.orzdream.com") >= 0) return "PROXY GOAGENT_LISTEN";1832 if (dnsDomainIs(host, ".orzistic.org") || host == "orzistic.org") return "PROXY GOAGENT_LISTEN";1833 if (dnsDomainIs(host, ".osfoora.com") || host == "osfoora.com") return "PROXY GOAGENT_LISTEN";1834 if (url.indexOf("http://www.osmdroid.net") == 0) return "PROXY GOAGENT_LISTEN";1835 if (dnsDomainIs(host, ".ourdearamy.com") || host == "ourdearamy.com") return "PROXY GOAGENT_LISTEN";1836 if (host.indexOf("oursogo.com") >= 0) return "PROXY GOAGENT_LISTEN";1837 if (host.indexOf("oursteps.com.au") >= 0) return "PROXY GOAGENT_LISTEN";1838 if (host.indexOf("xinqimeng.over-blog.com") >= 0) return "PROXY GOAGENT_LISTEN";1839 if (url.indexOf("share.ovi.com/media") >= 0) return "PROXY GOAGENT_LISTEN";1840 if (url.indexOf("http://owl.li") == 0) return "PROXY GOAGENT_LISTEN";1841 if (url.indexOf("http://ht.ly") == 0) return "PROXY GOAGENT_LISTEN";1842 if (url.indexOf("http://htl.li") == 0) return "PROXY GOAGENT_LISTEN";1843 if (url.indexOf("http://mash.to") == 0) return "PROXY GOAGENT_LISTEN";1844 if (host.indexOf("www.owind.com") >= 0) return "PROXY GOAGENT_LISTEN";1845 if (url.indexOf("http://www.oxid.it") == 0) return "PROXY GOAGENT_LISTEN";1846 if (host.indexOf("oyax.com") >= 0) return "PROXY GOAGENT_LISTEN";1847 if (url.indexOf(".ozchinese.com/bbs") >= 0) return "PROXY GOAGENT_LISTEN";1848 if (dnsDomainIs(host, ".ow.ly") || host == "ow.ly") return "PROXY GOAGENT_LISTEN";1849 if (host.indexOf("bbs.ozchinese.com") >= 0) return "PROXY GOAGENT_LISTEN";1850 if (host.indexOf(".ozyoyo.com") >= 0) return "PROXY GOAGENT_LISTEN";1851 if (host.indexOf(".pacificpoker.com") >= 0) return "PROXY GOAGENT_LISTEN";1852 if (host.indexOf(".packetix.net") >= 0) return "PROXY GOAGENT_LISTEN";1853 if (host.indexOf("page2rss.com") >= 0) return "PROXY GOAGENT_LISTEN";1854 if (dnsDomainIs(host, ".pagodabox.com") || host == "pagodabox.com") return "PROXY GOAGENT_LISTEN";1855 if (dnsDomainIs(host, ".paint.net") || host == "paint.net") return "PROXY GOAGENT_LISTEN";1856 if (dnsDomainIs(host, ".coveringweb.com") || host == "coveringweb.com") return "PROXY GOAGENT_LISTEN";1857 if (host.indexOf(".palacemoon.com") >= 0) return "PROXY GOAGENT_LISTEN";1858 if (host.indexOf("forum.palmislife.com") >= 0) return "PROXY GOAGENT_LISTEN";1859 if (dnsDomainIs(host, ".paper-replika.com") || host == "paper-replika.com") return "PROXY GOAGENT_LISTEN";1860 if (dnsDomainIs(host, ".eriversoft.com") || host == "eriversoft.com") return "PROXY GOAGENT_LISTEN";1861 if (host.indexOf("paper.li") >= 0) return "PROXY GOAGENT_LISTEN";1862 if (host.indexOf("paperb.us") >= 0) return "PROXY GOAGENT_LISTEN";1863 if (dnsDomainIs(host, ".panluan.net") || host == "panluan.net") return "PROXY GOAGENT_LISTEN";1864 if (dnsDomainIs(host, ".pao-pao.net") || host == "pao-pao.net") return "PROXY GOAGENT_LISTEN";1865 if (url.indexOf(".parade.com/dictators/2009") >= 0) return "PROXY GOAGENT_LISTEN";1866 if (host.indexOf(".passiontimes.hk") >= 0) return "PROXY GOAGENT_LISTEN";1867 if (host.indexOf("pastebin.com") >= 0) return "PROXY GOAGENT_LISTEN";1868 if (dnsDomainIs(host, ".pastie.org") || host == "pastie.org") return "PROXY GOAGENT_LISTEN";1869 if (dnsDomainIs(host, ".blog.pathtosharepoint.com") || host == "blog.pathtosharepoint.com") return "PROXY GOAGENT_LISTEN";1870 if (url.indexOf("pbs.org/wgbh/pages/frontline/gate") >= 0) return "PROXY GOAGENT_LISTEN";1871 if (url.indexOf("pbs.org/wgbh/pages/frontline/tankman") >= 0) return "PROXY GOAGENT_LISTEN";1872 if (host.indexOf("pbwiki.com") >= 0) return "PROXY GOAGENT_LISTEN";1873 if (dnsDomainIs(host, ".pbworks.com") || host == "pbworks.com") return "PROXY GOAGENT_LISTEN";1874 if (dnsDomainIs(host, ".developers.box.net") || host == "developers.box.net") return "PROXY GOAGENT_LISTEN";1875 if (dnsDomainIs(host, ".wiki.oauth.net") || host == "wiki.oauth.net") return "PROXY GOAGENT_LISTEN";1876 if (dnsDomainIs(host, ".wiki.phonegap.com") || host == "wiki.phonegap.com") return "PROXY GOAGENT_LISTEN";1877 if (dnsDomainIs(host, ".wiki.jqueryui.com") || host == "wiki.jqueryui.com") return "PROXY GOAGENT_LISTEN";1878 if (dnsDomainIs(host, ".pbxes.com") || host == "pbxes.com") return "PROXY GOAGENT_LISTEN";1879 if (dnsDomainIs(host, ".pbxes.org") || host == "pbxes.org") return "PROXY GOAGENT_LISTEN";1880 if (host.indexOf(".pcdiscuss.com") >= 0) return "PROXY GOAGENT_LISTEN";1881 if (host.indexOf("pcdvd.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1882 if (host.indexOf(".pchome.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1883 if (url.indexOf("http://pcij.org/") == 0) return "PROXY GOAGENT_LISTEN";1884 if (dnsDomainIs(host, ".pct.org.tw") || host == "pct.org.tw") return "PROXY GOAGENT_LISTEN";1885 if (host.indexOf("pdetails.com") >= 0) return "PROXY GOAGENT_LISTEN";1886 if (dnsDomainIs(host, ".pdproxy.com") || host == "pdproxy.com") return "PROXY GOAGENT_LISTEN";1887 if (host.indexOf("peacefire.org") >= 0) return "PROXY GOAGENT_LISTEN";1888 if (host.indexOf("peacehall.com") >= 0) return "PROXY GOAGENT_LISTEN";1889 if (host.indexOf(".peeasian.com") >= 0) return "PROXY GOAGENT_LISTEN";1890 if (dnsDomainIs(host, ".pekingduck.org") || host == "pekingduck.org") return "PROXY GOAGENT_LISTEN";1891 if (host.indexOf("penchinese.com") >= 0) return "PROXY GOAGENT_LISTEN";1892 if (dnsDomainIs(host, ".penchinese.net") || host == "penchinese.net") return "PROXY GOAGENT_LISTEN";1893 if (host.indexOf(".penchinese.net") >= 0) return "PROXY GOAGENT_LISTEN";1894 if (host.indexOf("pengyulong.com") >= 0) return "PROXY GOAGENT_LISTEN";1895 if (dnsDomainIs(host, ".blog.pentalogic.net") || host == "blog.pentalogic.net") return "PROXY GOAGENT_LISTEN";1896 if (host.indexOf(".penthouse.com") >= 0) return "PROXY GOAGENT_LISTEN";1897 if (dnsDomainIs(host, ".peopo.org") || host == "peopo.org") return "PROXY GOAGENT_LISTEN";1898 if (host.indexOf(".percy.in") >= 0) return "PROXY GOAGENT_LISTEN";1899 if (host.indexOf(".perfectgirls.net") >= 0) return "PROXY GOAGENT_LISTEN";1900 if (host.indexOf("perfectvpn.net") >= 0) return "PROXY GOAGENT_LISTEN";1901 if (host.indexOf("perfspot.com") >= 0) return "PROXY GOAGENT_LISTEN";1902 if (dnsDomainIs(host, ".perlhowto.com") || host == "perlhowto.com") return "PROXY GOAGENT_LISTEN";1903 if (host.indexOf("philly.com") >= 0) return "PROXY GOAGENT_LISTEN";1904 if (dnsDomainIs(host, ".photofocus.com") || host == "photofocus.com") return "PROXY GOAGENT_LISTEN";1905 if (dnsDomainIs(host, ".phuquocservices.com") || host == "phuquocservices.com") return "PROXY GOAGENT_LISTEN";1906 if (host.indexOf(".picidae.net") >= 0) return "PROXY GOAGENT_LISTEN";1907 if (dnsDomainIs(host, ".img*.picturedip.com") || host == "img*.picturedip.com") return "PROXY GOAGENT_LISTEN";1908 if (host.indexOf("picturesocial.com") >= 0) return "PROXY GOAGENT_LISTEN";1909 if (host.indexOf(".pidown.com") >= 0) return "PROXY GOAGENT_LISTEN";1910 if (host.indexOf(".pign.net") >= 0) return "PROXY GOAGENT_LISTEN";1911 if (host.indexOf("blog.pilotmoon.com") >= 0) return "PROXY GOAGENT_LISTEN";1912 if (dnsDomainIs(host, ".pin6.com") || host == "pin6.com") return "PROXY GOAGENT_LISTEN";1913 if (host.indexOf(".ping.fm") >= 0) return "PROXY GOAGENT_LISTEN";1914 if (dnsDomainIs(host, ".ping.fm/") || host == "ping.fm/") return "PROXY GOAGENT_LISTEN";1915 if (dnsDomainIs(host, ".pinoy-n.com") || host == "pinoy-n.com") return "PROXY GOAGENT_LISTEN";1916 if (host.indexOf(".piposay.com") >= 0) return "PROXY GOAGENT_LISTEN";1917 if (host.indexOf(".piring.com") >= 0) return "PROXY GOAGENT_LISTEN";1918 if (dnsDomainIs(host, ".pixelqi.com") || host == "pixelqi.com") return "PROXY GOAGENT_LISTEN";1919 if (dnsDomainIs(host, ".css.pixnet.in") || host == "css.pixnet.in") return "PROXY GOAGENT_LISTEN";1920 if (dnsDomainIs(host, ".pixnet.net") || host == "pixnet.net") return "PROXY GOAGENT_LISTEN";1921 if (host.indexOf(".pixnet.net") >= 0) return "PROXY GOAGENT_LISTEN";1922 if (host.indexOf(".pk.com") >= 0) return "PROXY GOAGENT_LISTEN";1923 if (dnsDomainIs(host, ".placemix.com") || host == "placemix.com") return "PROXY GOAGENT_LISTEN";1924 if (url.indexOf("http://pictures.playboy.com") == 0) return "PROXY GOAGENT_LISTEN";1925 if (dnsDomainIs(host, ".playboy.com") || host == "playboy.com") return "PROXY GOAGENT_LISTEN";1926 if (dnsDomainIs(host, ".playpcesor.com") || host == "playpcesor.com") return "PROXY GOAGENT_LISTEN";1927 if (host.indexOf("plays.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1928 if (dnsDomainIs(host, ".m.plixi.com") || host == "m.plixi.com") return "PROXY GOAGENT_LISTEN";1929 if (host.indexOf("plm.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";1930 if (host.indexOf("plunder.com") >= 0) return "PROXY GOAGENT_LISTEN";1931 if (host.indexOf(".plus28.com") >= 0) return "PROXY GOAGENT_LISTEN";1932 if (host.indexOf(".plusbb.com") >= 0) return "PROXY GOAGENT_LISTEN";1933 if (host.indexOf(".pmates.com") >= 0) return "PROXY GOAGENT_LISTEN";1934 if (dnsDomainIs(host, ".po2b.com") || host == "po2b.com") return "PROXY GOAGENT_LISTEN";1935 if (dnsDomainIs(host, ".podictionary.com") || host == "podictionary.com") return "PROXY GOAGENT_LISTEN";1936 if (dnsDomainIs(host, ".pokerstars.com") || host == "pokerstars.com") return "PROXY GOAGENT_LISTEN";1937 if (host.indexOf("zh.pokerstrategy.com") >= 0) return "PROXY GOAGENT_LISTEN";1938 if (host.indexOf("politicalchina.org") >= 0) return "PROXY GOAGENT_LISTEN";1939 if (dnsDomainIs(host, ".popvote.hk") || host == "popvote.hk") return "PROXY GOAGENT_LISTEN";1940 if (host.indexOf("popyard.com") >= 0) return "PROXY GOAGENT_LISTEN";1941 if (dnsDomainIs(host, ".popyard.org") || host == "popyard.org") return "PROXY GOAGENT_LISTEN";1942 if (host.indexOf(".porn.com") >= 0) return "PROXY GOAGENT_LISTEN";1943 if (host.indexOf(".porn2.com") >= 0) return "PROXY GOAGENT_LISTEN";1944 if (host.indexOf(".pornbase.org") >= 0) return "PROXY GOAGENT_LISTEN";1945 if (dnsDomainIs(host, ".pornhd.com") || host == "pornhd.com") return "PROXY GOAGENT_LISTEN";1946 if (host.indexOf(".pornhub.com") >= 0) return "PROXY GOAGENT_LISTEN";1947 if (dnsDomainIs(host, ".pornmm.net") || host == "pornmm.net") return "PROXY GOAGENT_LISTEN";1948 if (host.indexOf(".pornoxo.com") >= 0) return "PROXY GOAGENT_LISTEN";1949 if (dnsDomainIs(host, ".pornrapidshare.com") || host == "pornrapidshare.com") return "PROXY GOAGENT_LISTEN";1950 if (host.indexOf(".pornstarclub.com") >= 0) return "PROXY GOAGENT_LISTEN";1951 if (host.indexOf(".porntube.com") >= 0) return "PROXY GOAGENT_LISTEN";1952 if (host.indexOf(".pornvisit.com") >= 0) return "PROXY GOAGENT_LISTEN";1953 if (host.indexOf(".portablevpn.nl") >= 0) return "PROXY GOAGENT_LISTEN";1954 if (host.indexOf(".post852.com") >= 0) return "PROXY GOAGENT_LISTEN";1955 if (host.indexOf("postadult.com") >= 0) return "PROXY GOAGENT_LISTEN";1956 if (dnsDomainIs(host, ".powercx.com") || host == "powercx.com") return "PROXY GOAGENT_LISTEN";1957 if (dnsDomainIs(host, ".www.powerpointninja.com") || host == "www.powerpointninja.com") return "PROXY GOAGENT_LISTEN";1958 if (dnsDomainIs(host, ".cdn.printfriendly.com") || host == "cdn.printfriendly.com") return "PROXY GOAGENT_LISTEN";1959 if (dnsDomainIs(host, ".pts.org.tw") || host == "pts.org.tw") return "PROXY GOAGENT_LISTEN";1960 if (host.indexOf("pubu.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";1961 if (host.indexOf("puffinbrowser.com") >= 0) return "PROXY GOAGENT_LISTEN";1962 if (dnsDomainIs(host, ".putty.org") || host == "putty.org") return "PROXY GOAGENT_LISTEN";1963 if (url.indexOf("http://post.ly") == 0) return "PROXY GOAGENT_LISTEN";1964 if (host.indexOf(".posterous.com") >= 0) return "PROXY GOAGENT_LISTEN";1965 if (url.indexOf("http://posterous.com") == 0) return "PROXY GOAGENT_LISTEN";1966 if (dnsDomainIs(host, ".post.anyu.org") || host == "post.anyu.org") return "PROXY GOAGENT_LISTEN";1967 if (dnsDomainIs(host, ".bralio.com") || host == "bralio.com") return "PROXY GOAGENT_LISTEN";1968 if (dnsDomainIs(host, ".calebelston.com") || host == "calebelston.com") return "PROXY GOAGENT_LISTEN";1969 if (dnsDomainIs(host, ".designerol.com") || host == "designerol.com") return "PROXY GOAGENT_LISTEN";1970 if (dnsDomainIs(host, ".blog.fizzik.com") || host == "blog.fizzik.com") return "PROXY GOAGENT_LISTEN";1971 if (dnsDomainIs(host, ".nf.id.au") || host == "nf.id.au") return "PROXY GOAGENT_LISTEN";1972 if (dnsDomainIs(host, ".markmilian.com") || host == "markmilian.com") return "PROXY GOAGENT_LISTEN";1973 if (dnsDomainIs(host, ".log.riku.me") || host == "log.riku.me") return "PROXY GOAGENT_LISTEN";1974 if (dnsDomainIs(host, ".sogrady.me") || host == "sogrady.me") return "PROXY GOAGENT_LISTEN";1975 if (dnsDomainIs(host, ".vatn.org") || host == "vatn.org") return "PROXY GOAGENT_LISTEN";1976 if (dnsDomainIs(host, ".veempiire.com") || host == "veempiire.com") return "PROXY GOAGENT_LISTEN";1977 if (dnsDomainIs(host, ".www.vegorpedersen.com") || host == "www.vegorpedersen.com") return "PROXY GOAGENT_LISTEN";1978 if (dnsDomainIs(host, ".ventureswell.com") || host == "ventureswell.com") return "PROXY GOAGENT_LISTEN";1979 if (dnsDomainIs(host, ".webfee.tk") || host == "webfee.tk") return "PROXY GOAGENT_LISTEN";1980 if (dnsDomainIs(host, ".whereiswerner.com") || host == "whereiswerner.com") return "PROXY GOAGENT_LISTEN";1981 if (dnsDomainIs(host, ".bill.zhong.pp.ru") || host == "bill.zhong.pp.ru") return "PROXY GOAGENT_LISTEN";1982 if (dnsDomainIs(host, ".power.com") || host == "power.com") return "PROXY GOAGENT_LISTEN";1983 if (host.indexOf("powerapple.com") >= 0) return "PROXY GOAGENT_LISTEN";1984 if (dnsDomainIs(host, ".abc.pp.ru") || host == "abc.pp.ru") return "PROXY GOAGENT_LISTEN";1985 if (host.indexOf("heix.pp.ru") >= 0) return "PROXY GOAGENT_LISTEN";1986 if (dnsDomainIs(host, ".prayforchina.net") || host == "prayforchina.net") return "PROXY GOAGENT_LISTEN";1987 if (dnsDomainIs(host, ".premeforwindows7.com") || host == "premeforwindows7.com") return "PROXY GOAGENT_LISTEN";1988 if (dnsDomainIs(host, ".presentationzen.com") || host == "presentationzen.com") return "PROXY GOAGENT_LISTEN";1989 if (dnsDomainIs(host, ".prestige-av.com") || host == "prestige-av.com") return "PROXY GOAGENT_LISTEN";1990 if (host.indexOf("prisoner-state-secret-journal-premier") >= 0) return "PROXY GOAGENT_LISTEN";1991 if (dnsDomainIs(host, ".privacybox.de") || host == "privacybox.de") return "PROXY GOAGENT_LISTEN";1992 if (dnsDomainIs(host, ".privateinternetaccess.com") || host == "privateinternetaccess.com") return "PROXY GOAGENT_LISTEN";1993 if (dnsDomainIs(host, ".privatepaste.com") || host == "privatepaste.com") return "PROXY GOAGENT_LISTEN";1994 if (dnsDomainIs(host, ".privatetunnel.com") || host == "privatetunnel.com") return "PROXY GOAGENT_LISTEN";1995 if (dnsDomainIs(host, ".procopytips.com") || host == "procopytips.com") return "PROXY GOAGENT_LISTEN";1996 if (host.indexOf("provideocoalition.com") >= 0) return "PROXY GOAGENT_LISTEN";1997 if (dnsDomainIs(host, ".prosiben.de") || host == "prosiben.de") return "PROXY GOAGENT_LISTEN";1998 if (host.indexOf("proxifier.com") >= 0) return "PROXY GOAGENT_LISTEN";1999 if (host.indexOf("api.proxlet.com") >= 0) return "PROXY GOAGENT_LISTEN";2000 if (dnsDomainIs(host, ".proxomitron.info") || host == "proxomitron.info") return "PROXY GOAGENT_LISTEN";2001 if (host.indexOf("proxy.org") >= 0) return "PROXY GOAGENT_LISTEN";2002 if (dnsDomainIs(host, ".proxypy.net") || host == "proxypy.net") return "PROXY GOAGENT_LISTEN";2003 if (host.indexOf("proxyroad.com") >= 0) return "PROXY GOAGENT_LISTEN";2004 if (host.indexOf("prozz.net") >= 0) return "PROXY GOAGENT_LISTEN";2005 if (dnsDomainIs(host, ".psblog.name") || host == "psblog.name") return "PROXY GOAGENT_LISTEN";2006 if (host.indexOf("psiphon.ca") >= 0) return "PROXY GOAGENT_LISTEN";2007 if (host.indexOf(".ptt.cc") >= 0) return "PROXY GOAGENT_LISTEN";2008 if (host.indexOf(".puffstore.com") >= 0) return "PROXY GOAGENT_LISTEN";2009 if (dnsDomainIs(host, ".pullfolio.com") || host == "pullfolio.com") return "PROXY GOAGENT_LISTEN";2010 if (dnsDomainIs(host, ".pureconcepts.net") || host == "pureconcepts.net") return "PROXY GOAGENT_LISTEN";2011 if (dnsDomainIs(host, ".purepdf.com") || host == "purepdf.com") return "PROXY GOAGENT_LISTEN";2012 if (dnsDomainIs(host, ".purevpn.com") || host == "purevpn.com") return "PROXY GOAGENT_LISTEN";2013 if (url.indexOf(".putlocker.com/file") >= 0) return "PROXY GOAGENT_LISTEN";2014 if (host.indexOf("pwned.com") >= 0) return "PROXY GOAGENT_LISTEN";2015 if (host.indexOf("python.com") >= 0) return "PROXY GOAGENT_LISTEN";2016 if (host.indexOf(".python.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2017 if (url.indexOf("http://python.com.tw") == 0) return "PROXY GOAGENT_LISTEN";2018 if (dnsDomainIs(host, ".qanote.com") || host == "qanote.com") return "PROXY GOAGENT_LISTEN";2019 if (host.indexOf("qi-gong.me") >= 0) return "PROXY GOAGENT_LISTEN";2020 if (host.indexOf(".qidian.ca") >= 0) return "PROXY GOAGENT_LISTEN";2021 if (dnsDomainIs(host, ".qienkuen.org") || host == "qienkuen.org") return "PROXY GOAGENT_LISTEN";2022 if (dnsDomainIs(host, ".qiwen.lu") || host == "qiwen.lu") return "PROXY GOAGENT_LISTEN";2023 if (host.indexOf("qixianglu.cn") >= 0) return "PROXY GOAGENT_LISTEN";2024 if (host.indexOf("bbs.qmzdd.com") >= 0) return "PROXY GOAGENT_LISTEN";2025 if (host.indexOf(".qkshare.com") >= 0) return "PROXY GOAGENT_LISTEN";2026 if (dnsDomainIs(host, ".qoos.com") || host == "qoos.com") return "PROXY GOAGENT_LISTEN";2027 if (shExpMatch(url, "*blog.qooza.hk*dafengqixi*")) return "PROXY GOAGENT_LISTEN";2028 if (dnsDomainIs(host, ".efksoft.com") || host == "efksoft.com") return "PROXY GOAGENT_LISTEN";2029 if (dnsDomainIs(host, ".qstatus.com") || host == "qstatus.com") return "PROXY GOAGENT_LISTEN";2030 if (dnsDomainIs(host, ".qtweeter.com") || host == "qtweeter.com") return "PROXY GOAGENT_LISTEN";2031 if (dnsDomainIs(host, ".qtrac.eu") || host == "qtrac.eu") return "PROXY GOAGENT_LISTEN";2032 if (dnsDomainIs(host, ".quadedge.com") || host == "quadedge.com") return "PROXY GOAGENT_LISTEN";2033 if (dnsDomainIs(host, ".www.getyouram.com") || host == "www.getyouram.com") return "PROXY GOAGENT_LISTEN";2034 if (dnsDomainIs(host, ".hiitch.com") || host == "hiitch.com") return "PROXY GOAGENT_LISTEN";2035 if (host.indexOf("qusi8.net") >= 0) return "PROXY GOAGENT_LISTEN";2036 if (host.indexOf(".qvodzy.org") >= 0) return "PROXY GOAGENT_LISTEN";2037 if (shExpMatch(url, "*nemesis2.qx.net*pages*MyEnTunnel*")) return "PROXY GOAGENT_LISTEN";2038 if (host.indexOf("qxbbs.org") >= 0) return "PROXY GOAGENT_LISTEN";2039 if (host.indexOf(".radicalparty.org") >= 0) return "PROXY GOAGENT_LISTEN";2040 if (host.indexOf("radioaustralia.net.au") >= 0) return "PROXY GOAGENT_LISTEN";2041 if (host.indexOf("opml.radiotime.com") >= 0) return "PROXY GOAGENT_LISTEN";2042 if (dnsDomainIs(host, ".radiovaticana.org") || host == "radiovaticana.org") return "PROXY GOAGENT_LISTEN";2043 if (dnsDomainIs(host, ".radiovncr.com") || host == "radiovncr.com") return "PROXY GOAGENT_LISTEN";2044 if (dnsDomainIs(host, ".raidcall.com.tw") || host == "raidcall.com.tw") return "PROXY GOAGENT_LISTEN";2045 if (host.indexOf(".raidtalk.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2046 if (host.indexOf("rangzen.org") >= 0) return "PROXY GOAGENT_LISTEN";2047 if (url.indexOf("http://blog.ranxiang.com/") == 0) return "PROXY GOAGENT_LISTEN";2048 if (dnsDomainIs(host, ".ranyunfei.com") || host == "ranyunfei.com") return "PROXY GOAGENT_LISTEN";2049 if (host.indexOf(".rapbull.net") >= 0) return "PROXY GOAGENT_LISTEN";2050 if (url.indexOf("http://rapidgator.net/") == 0) return "PROXY GOAGENT_LISTEN";2051 if (dnsDomainIs(host, ".rapidshare8.com") || host == "rapidshare8.com") return "PROXY GOAGENT_LISTEN";2052 if (host.indexOf(".rapidsharedata.com") >= 0) return "PROXY GOAGENT_LISTEN";2053 if (host.indexOf("rcinet.ca") >= 0) return "PROXY GOAGENT_LISTEN";2054 if (host.indexOf(".read100.com") >= 0) return "PROXY GOAGENT_LISTEN";2055 if (dnsDomainIs(host, ".readingtimes.com.tw") || host == "readingtimes.com.tw") return "PROXY GOAGENT_LISTEN";2056 if (dnsDomainIs(host, ".readmoo.com") || host == "readmoo.com") return "PROXY GOAGENT_LISTEN";2057 if (host.indexOf(".realraptalk.com") >= 0) return "PROXY GOAGENT_LISTEN";2058 if (host.indexOf(".recordhistory.org") >= 0) return "PROXY GOAGENT_LISTEN";2059 if (host.indexOf("redchinacn.org") >= 0) return "PROXY GOAGENT_LISTEN";2060 if (host.indexOf(".redtube.com") >= 0) return "PROXY GOAGENT_LISTEN";2061 if (dnsDomainIs(host, ".referer.us") || host == "referer.us") return "PROXY GOAGENT_LISTEN";2062 if (dnsDomainIs(host, ".reflectivecode.com") || host == "reflectivecode.com") return "PROXY GOAGENT_LISTEN";2063 if (host.indexOf("relaxbbs.com") >= 0) return "PROXY GOAGENT_LISTEN";2064 if (host.indexOf("renminbao.com") >= 0) return "PROXY GOAGENT_LISTEN";2065 if (dnsDomainIs(host, ".renyurenquan.org") || host == "renyurenquan.org") return "PROXY GOAGENT_LISTEN";2066 if (url.indexOf("http://certificate.revocationcheck.com") == 0) return "PROXY GOAGENT_LISTEN";2067 if (host.indexOf("subacme.rerouted.org") >= 0) return "PROXY GOAGENT_LISTEN";2068 if (host.indexOf(".reuters.com") >= 0) return "PROXY GOAGENT_LISTEN";2069 if (host.indexOf(".revleft.com") >= 0) return "PROXY GOAGENT_LISTEN";2070 if (host.indexOf("retweetist.com") >= 0) return "PROXY GOAGENT_LISTEN";2071 if (dnsDomainIs(host, ".retweetrank.com") || host == "retweetrank.com") return "PROXY GOAGENT_LISTEN";2072 if (host.indexOf("revver.com") >= 0) return "PROXY GOAGENT_LISTEN";2073 if (host.indexOf(".rfa.org") >= 0) return "PROXY GOAGENT_LISTEN";2074 if (host.indexOf(".rfachina.com") >= 0) return "PROXY GOAGENT_LISTEN";2075 if (host.indexOf(".rfamobile.org") >= 0) return "PROXY GOAGENT_LISTEN";2076 if (dnsDomainIs(host, ".rferl.org") || host == "rferl.org") return "PROXY GOAGENT_LISTEN";2077 if (dnsDomainIs(host, ".rfi.fr") || host == "rfi.fr") return "PROXY GOAGENT_LISTEN";2078 if (url.indexOf("http://rfi.my/") == 0) return "PROXY GOAGENT_LISTEN";2079 if (host.indexOf(".rhcloud.com") >= 0) return "PROXY GOAGENT_LISTEN";2080 if (url.indexOf("http://vds.rightster.com/") == 0) return "PROXY GOAGENT_LISTEN";2081 if (host.indexOf(".rileyguide.com") >= 0) return "PROXY GOAGENT_LISTEN";2082 if (url.indexOf("riku.me/") >= 0) return "PROXY GOAGENT_LISTEN";2083 if (host.indexOf(".ritouki.jp") >= 0) return "PROXY GOAGENT_LISTEN";2084 if (dnsDomainIs(host, ".rlwlw.com") || host == "rlwlw.com") return "PROXY GOAGENT_LISTEN";2085 if (host.indexOf(".rmjdw.com") >= 0) return "PROXY GOAGENT_LISTEN";2086 if (host.indexOf("chinese.rnw.nl") >= 0) return "PROXY GOAGENT_LISTEN";2087 if (host.indexOf(".rnw.nl") >= 0) return "PROXY GOAGENT_LISTEN";2088 if (host.indexOf("robtex.com") >= 0) return "PROXY GOAGENT_LISTEN";2089 if (dnsDomainIs(host, ".robustnessiskey.com") || host == "robustnessiskey.com") return "PROXY GOAGENT_LISTEN";2090 if (dnsDomainIs(host, ".rocmp.org") || host == "rocmp.org") return "PROXY GOAGENT_LISTEN";2091 if (dnsDomainIs(host, ".rojo.com") || host == "rojo.com") return "PROXY GOAGENT_LISTEN";2092 if (dnsDomainIs(host, ".ronjoneswriter.com") || host == "ronjoneswriter.com") return "PROXY GOAGENT_LISTEN";2093 if (host.indexOf(".roodo.com") >= 0) return "PROXY GOAGENT_LISTEN";2094 if (host.indexOf(".rotten.com") >= 0) return "PROXY GOAGENT_LISTEN";2095 if (host.indexOf(".rsf.org") >= 0) return "PROXY GOAGENT_LISTEN";2096 if (dnsDomainIs(host, ".rsf.org/") || host == "rsf.org/") return "PROXY GOAGENT_LISTEN";2097 if (dnsDomainIs(host, ".rsf-chinese.org") || host == "rsf-chinese.org") return "PROXY GOAGENT_LISTEN";2098 if (dnsDomainIs(host, ".rssmeme.com") || host == "rssmeme.com") return "PROXY GOAGENT_LISTEN";2099 if (host.indexOf(".rthk.hk") >= 0) return "PROXY GOAGENT_LISTEN";2100 if (url.indexOf("http://rthk.hk") == 0) return "PROXY GOAGENT_LISTEN";2101 if (host.indexOf(".rthk.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";2102 if (url.indexOf("http://rthk.org.hk") == 0) return "PROXY GOAGENT_LISTEN";2103 if (host.indexOf("rti.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";2104 if (shExpMatch(url, "*.ruanyifeng.com/blog*some_ways_to_break_the_great_firewall*")) return "PROXY GOAGENT_LISTEN";2105 if (host.indexOf(".rushbee.com") >= 0) return "PROXY GOAGENT_LISTEN";2106 if (host.indexOf("rutube.ru") >= 0) return "PROXY GOAGENT_LISTEN";2107 if (host.indexOf(".ruyiseek.com") >= 0) return "PROXY GOAGENT_LISTEN";2108 if (host.indexOf(".rxhj.net") >= 0) return "PROXY GOAGENT_LISTEN";2109 if (dnsDomainIs(host, ".s-cute.com") || host == "s-cute.com") return "PROXY GOAGENT_LISTEN";2110 if (host.indexOf(".s-dragon.org") >= 0) return "PROXY GOAGENT_LISTEN";2111 if (dnsDomainIs(host, ".s1heng.com") || host == "s1heng.com") return "PROXY GOAGENT_LISTEN";2112 if (url.indexOf("http://www.s4miniarchive.com") == 0) return "PROXY GOAGENT_LISTEN";2113 if (dnsDomainIs(host, ".s8forum.com") || host == "s8forum.com") return "PROXY GOAGENT_LISTEN";2114 if (dnsDomainIs(host, ".sacom.hk") || host == "sacom.hk") return "PROXY GOAGENT_LISTEN";2115 if (dnsDomainIs(host, ".sadpanda.us") || host == "sadpanda.us") return "PROXY GOAGENT_LISTEN";2116 if (host.indexOf(".saiq.me") >= 0) return "PROXY GOAGENT_LISTEN";2117 if (dnsDomainIs(host, ".saiq.me/") || host == "saiq.me/") return "PROXY GOAGENT_LISTEN";2118 if (dnsDomainIs(host, ".salvation.org.hk") || host == "salvation.org.hk") return "PROXY GOAGENT_LISTEN";2119 if (url.indexOf(".samair.ru/proxy/type-01") >= 0) return "PROXY GOAGENT_LISTEN";2120 if (host.indexOf("sammyjs.org") >= 0) return "PROXY GOAGENT_LISTEN";2121 if (url.indexOf("sandnoble.com/bookSearch/isbnInquiry.asp") >= 0) return "PROXY GOAGENT_LISTEN";2122 if (dnsDomainIs(host, ".sankaizok.com") || host == "sankaizok.com") return "PROXY GOAGENT_LISTEN";2123 if (host.indexOf(".sanmin.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2124 if (host.indexOf("sapikachu.net") >= 0) return "PROXY GOAGENT_LISTEN";2125 if (host.indexOf("savemedia.com") >= 0) return "PROXY GOAGENT_LISTEN";2126 if (host.indexOf("savetibet.de") >= 0) return "PROXY GOAGENT_LISTEN";2127 if (host.indexOf("savetibet.fr") >= 0) return "PROXY GOAGENT_LISTEN";2128 if (host.indexOf("savetibet.nl") >= 0) return "PROXY GOAGENT_LISTEN";2129 if (host.indexOf("savetibet.org") >= 0) return "PROXY GOAGENT_LISTEN";2130 if (host.indexOf("savetibet.ru") >= 0) return "PROXY GOAGENT_LISTEN";2131 if (host.indexOf("savevid.com") >= 0) return "PROXY GOAGENT_LISTEN";2132 if (dnsDomainIs(host, ".say2.info") || host == "say2.info") return "PROXY GOAGENT_LISTEN";2133 if (url.indexOf("http://www.sciencemag.org/content/344/6187/953") == 0) return "PROXY GOAGENT_LISTEN";2134 if (host.indexOf(".scmp.com") >= 0) return "PROXY GOAGENT_LISTEN";2135 if (host.indexOf(".scmpchinese.com") >= 0) return "PROXY GOAGENT_LISTEN";2136 if (host.indexOf(".scribd.com") >= 0) return "PROXY GOAGENT_LISTEN";2137 if (dnsDomainIs(host, ".scriptspot.com") || host == "scriptspot.com") return "PROXY GOAGENT_LISTEN";2138 if (host.indexOf("seapuff.com") >= 0) return "PROXY GOAGENT_LISTEN";2139 if (host.indexOf("domainhelp.search.com") >= 0) return "PROXY GOAGENT_LISTEN";2140 if (host.indexOf("secretchina.com") >= 0) return "PROXY GOAGENT_LISTEN";2141 if (dnsDomainIs(host, ".secretgarden.no") || host == "secretgarden.no") return "PROXY GOAGENT_LISTEN";2142 if (dnsDomainIs(host, ".default.secureserver.net") || host == "default.secureserver.net") return "PROXY GOAGENT_LISTEN";2143 if (host.indexOf("securitykiss.com") >= 0) return "PROXY GOAGENT_LISTEN";2144 if (host.indexOf("seesmic.com") >= 0) return "PROXY GOAGENT_LISTEN";2145 if (dnsDomainIs(host, ".seevpn.com") || host == "seevpn.com") return "PROXY GOAGENT_LISTEN";2146 if (dnsDomainIs(host, ".seezone.net") || host == "seezone.net") return "PROXY GOAGENT_LISTEN";2147 if (host.indexOf("sejie.com") >= 0) return "PROXY GOAGENT_LISTEN";2148 if (url.indexOf(".sendspace.com/file") >= 0) return "PROXY GOAGENT_LISTEN";2149 if (url.indexOf("http://tweets.seraph.me/") == 0) return "PROXY GOAGENT_LISTEN";2150 if (dnsDomainIs(host, ".sesawe.net") || host == "sesawe.net") return "PROXY GOAGENT_LISTEN";2151 if (host.indexOf(".sesawe.org") >= 0) return "PROXY GOAGENT_LISTEN";2152 if (dnsDomainIs(host, ".sethwklein.net") || host == "sethwklein.net") return "PROXY GOAGENT_LISTEN";2153 if (host.indexOf("forum.setty.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2154 if (dnsDomainIs(host, ".sevenload.com") || host == "sevenload.com") return "PROXY GOAGENT_LISTEN";2155 if (host.indexOf(".sex.com") >= 0) return "PROXY GOAGENT_LISTEN";2156 if (host.indexOf(".sex-11.com") >= 0) return "PROXY GOAGENT_LISTEN";2157 if (dnsDomainIs(host, ".sex3.com") || host == "sex3.com") return "PROXY GOAGENT_LISTEN";2158 if (dnsDomainIs(host, ".sex8.cc") || host == "sex8.cc") return "PROXY GOAGENT_LISTEN";2159 if (host.indexOf(".sexandsubmission.com") >= 0) return "PROXY GOAGENT_LISTEN";2160 if (host.indexOf(".sexhu.com") >= 0) return "PROXY GOAGENT_LISTEN";2161 if (host.indexOf(".sexhuang.com") >= 0) return "PROXY GOAGENT_LISTEN";2162 if (dnsDomainIs(host, ".sexinsex.net") || host == "sexinsex.net") return "PROXY GOAGENT_LISTEN";2163 if (host.indexOf("67.220.91.18") >= 0) return "PROXY GOAGENT_LISTEN";2164 if (host.indexOf("67.220.91.23") >= 0) return "PROXY GOAGENT_LISTEN";2165 if (url.indexOf("http://*.sf.net") == 0) return "PROXY GOAGENT_LISTEN";2166 if (host.indexOf(".sfileydy.com") >= 0) return "PROXY GOAGENT_LISTEN";2167 if (dnsDomainIs(host, ".sftuk.org") || host == "sftuk.org") return "PROXY GOAGENT_LISTEN";2168 if (host.indexOf("shadow.ma") >= 0) return "PROXY GOAGENT_LISTEN";2169 if (dnsDomainIs(host, ".shadowsocks.org") || host == "shadowsocks.org") return "PROXY GOAGENT_LISTEN";2170 if (host.indexOf("shahamat-english.com") >= 0) return "PROXY GOAGENT_LISTEN";2171 if (dnsDomainIs(host, ".shangfang.org") || host == "shangfang.org") return "PROXY GOAGENT_LISTEN";2172 if (host.indexOf("shapeservices.com") >= 0) return "PROXY GOAGENT_LISTEN";2173 if (host.indexOf(".sharebee.com") >= 0) return "PROXY GOAGENT_LISTEN";2174 if (dnsDomainIs(host, ".sharecool.org") || host == "sharecool.org") return "PROXY GOAGENT_LISTEN";2175 if (dnsDomainIs(host, ".sharkdolphin.com") || host == "sharkdolphin.com") return "PROXY GOAGENT_LISTEN";2176 if (dnsDomainIs(host, ".sharpdaily.com.hk") || host == "sharpdaily.com.hk") return "PROXY GOAGENT_LISTEN";2177 if (host.indexOf(".sharpdaily.hk") >= 0) return "PROXY GOAGENT_LISTEN";2178 if (dnsDomainIs(host, ".shaunthesheep.com") || host == "shaunthesheep.com") return "PROXY GOAGENT_LISTEN";2179 if (host.indexOf("sheikyermami.com") >= 0) return "PROXY GOAGENT_LISTEN";2180 if (dnsDomainIs(host, ".shellmix.com") || host == "shellmix.com") return "PROXY GOAGENT_LISTEN";2181 if (host.indexOf("shenshou.org") >= 0) return "PROXY GOAGENT_LISTEN";2182 if (host.indexOf("shenyunperformingarts.org") >= 0) return "PROXY GOAGENT_LISTEN";2183 if (dnsDomainIs(host, ".shenzhoufilm.com") || host == "shenzhoufilm.com") return "PROXY GOAGENT_LISTEN";2184 if (host.indexOf("shinychan.com") >= 0) return "PROXY GOAGENT_LISTEN";2185 if (host.indexOf(".shitaotv.org") >= 0) return "PROXY GOAGENT_LISTEN";2186 if (dnsDomainIs(host, ".shixiao.org") || host == "shixiao.org") return "PROXY GOAGENT_LISTEN";2187 if (dnsDomainIs(host, ".shizhao.org") || host == "shizhao.org") return "PROXY GOAGENT_LISTEN";2188 if (host.indexOf(".shizhao.org") >= 0) return "PROXY GOAGENT_LISTEN";2189 if (url.indexOf("shkspr.mobi/dabr") >= 0) return "PROXY GOAGENT_LISTEN";2190 if (dnsDomainIs(host, ".shodanhq.com") || host == "shodanhq.com") return "PROXY GOAGENT_LISTEN";2191 if (host.indexOf(".shopping.com") >= 0) return "PROXY GOAGENT_LISTEN";2192 if (host.indexOf(".showtime.jp") >= 0) return "PROXY GOAGENT_LISTEN";2193 if (host.indexOf("ch.shvoong.com") >= 0) return "PROXY GOAGENT_LISTEN";2194 if (host.indexOf(".shwchurch3.com") >= 0) return "PROXY GOAGENT_LISTEN";2195 if (url.indexOf("http://shwchurch3.com") == 0) return "PROXY GOAGENT_LISTEN";2196 if (dnsDomainIs(host, ".sidelinesnews.com") || host == "sidelinesnews.com") return "PROXY GOAGENT_LISTEN";2197 if (host.indexOf(".sidelinessportseatery.com") >= 0) return "PROXY GOAGENT_LISTEN";2198 if (dnsDomainIs(host, ".simplecd.org") || host == "simplecd.org") return "PROXY GOAGENT_LISTEN";2199 if (host.indexOf("simpleproductivityblog.com") >= 0) return "PROXY GOAGENT_LISTEN";2200 if (url.indexOf("bbs.sina.com/") >= 0) return "PROXY GOAGENT_LISTEN";2201 if (host.indexOf("bbs.sina.com%2F") >= 0) return "PROXY GOAGENT_LISTEN";2202 if (host.indexOf("blog.sina.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2203 if (url.indexOf("dailynews.sina.com/") >= 0) return "PROXY GOAGENT_LISTEN";2204 if (host.indexOf("dailynews.sina.com%2F") >= 0) return "PROXY GOAGENT_LISTEN";2205 if (host.indexOf("forum.sina.com.hk") >= 0) return "PROXY GOAGENT_LISTEN";2206 if (host.indexOf("home.sina.com") >= 0) return "PROXY GOAGENT_LISTEN";2207 if (dnsDomainIs(host, ".magazines.sina.com.tw") || host == "magazines.sina.com.tw") return "PROXY GOAGENT_LISTEN";2208 if (host.indexOf("news.sina.com.hk") >= 0) return "PROXY GOAGENT_LISTEN";2209 if (host.indexOf("news.sina.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2210 if (dnsDomainIs(host, ".singtao.com") || host == "singtao.com") return "PROXY GOAGENT_LISTEN";2211 if (host.indexOf("news.singtao.ca") >= 0) return "PROXY GOAGENT_LISTEN";2212 if (dnsDomainIs(host, ".cdp.sinica.edu.tw") || host == "cdp.sinica.edu.tw") return "PROXY GOAGENT_LISTEN";2213 if (host.indexOf("sino-monthly.com") >= 0) return "PROXY GOAGENT_LISTEN";2214 if (dnsDomainIs(host, ".sinocast.com") || host == "sinocast.com") return "PROXY GOAGENT_LISTEN";2215 if (host.indexOf("sinocism.com") >= 0) return "PROXY GOAGENT_LISTEN";2216 if (host.indexOf("sinomontreal.ca") >= 0) return "PROXY GOAGENT_LISTEN";2217 if (host.indexOf(".sinonet.ca") >= 0) return "PROXY GOAGENT_LISTEN";2218 if (host.indexOf(".sinopitt.info") >= 0) return "PROXY GOAGENT_LISTEN";2219 if (dnsDomainIs(host, ".sinoants.com") || host == "sinoants.com") return "PROXY GOAGENT_LISTEN";2220 if (host.indexOf("sinoquebec.com") >= 0) return "PROXY GOAGENT_LISTEN";2221 if (dnsDomainIs(host, ".site90.net") || host == "site90.net") return "PROXY GOAGENT_LISTEN";2222 if (host.indexOf(".sitebro.tw") >= 0) return "PROXY GOAGENT_LISTEN";2223 if (dnsDomainIs(host, ".siteks.uk.to") || host == "siteks.uk.to") return "PROXY GOAGENT_LISTEN";2224 if (dnsDomainIs(host, ".sitemaps.org") || host == "sitemaps.org") return "PROXY GOAGENT_LISTEN";2225 if (host.indexOf("sitetag.us") >= 0) return "PROXY GOAGENT_LISTEN";2226 if (host.indexOf("sis.xxx") >= 0) return "PROXY GOAGENT_LISTEN";2227 if (dnsDomainIs(host, ".sis001.com") || host == "sis001.com") return "PROXY GOAGENT_LISTEN";2228 if (host.indexOf("sis001.us") >= 0) return "PROXY GOAGENT_LISTEN";2229 if (dnsDomainIs(host, ".sjum.cn/") || host == "sjum.cn/") return "PROXY GOAGENT_LISTEN";2230 if (dnsDomainIs(host, ".skimtube.com") || host == "skimtube.com") return "PROXY GOAGENT_LISTEN";2231 if (dnsDomainIs(host, ".skybet.com") || host == "skybet.com") return "PROXY GOAGENT_LISTEN";2232 if (url.indexOf("http://skyhighpremium.com/") == 0) return "PROXY GOAGENT_LISTEN";2233 if (host.indexOf("bbs.skykiwi.com") >= 0) return "PROXY GOAGENT_LISTEN";2234 if (url.indexOf("http://www.skype.com/intl/") == 0) return "PROXY GOAGENT_LISTEN";2235 if (url.indexOf("http://www.skype.com/zh-Hant") == 0) return "PROXY GOAGENT_LISTEN";2236 if (dnsDomainIs(host, ".skyvegas.com") || host == "skyvegas.com") return "PROXY GOAGENT_LISTEN";2237 if (dnsDomainIs(host, ".xskywalker.com") || host == "xskywalker.com") return "PROXY GOAGENT_LISTEN";2238 if (host.indexOf("m.slandr.net") >= 0) return "PROXY GOAGENT_LISTEN";2239 if (dnsDomainIs(host, ".slavasoft.com") || host == "slavasoft.com") return "PROXY GOAGENT_LISTEN";2240 if (dnsDomainIs(host, ".slheng.com") || host == "slheng.com") return "PROXY GOAGENT_LISTEN";2241 if (host.indexOf(".slideshare.net") >= 0) return "PROXY GOAGENT_LISTEN";2242 if (host.indexOf("forum.slime.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2243 if (host.indexOf(".slutload.com") >= 0) return "PROXY GOAGENT_LISTEN";2244 if (host.indexOf("smhric.org") >= 0) return "PROXY GOAGENT_LISTEN";2245 if (dnsDomainIs(host, ".sndcdn.com") || host == "sndcdn.com") return "PROXY GOAGENT_LISTEN";2246 if (dnsDomainIs(host, ".so-ga.net") || host == "so-ga.net") return "PROXY GOAGENT_LISTEN";2247 if (host.indexOf(".so-ga.net") >= 0) return "PROXY GOAGENT_LISTEN";2248 if (dnsDomainIs(host, ".so-news.com") || host == "so-news.com") return "PROXY GOAGENT_LISTEN";2249 if (host.indexOf(".so-news.com") >= 0) return "PROXY GOAGENT_LISTEN";2250 if (url.indexOf("home.so-net.net.tw/yisa_tsai") >= 0) return "PROXY GOAGENT_LISTEN";2251 if (dnsDomainIs(host, ".soc.mil/") || host == "soc.mil/") return "PROXY GOAGENT_LISTEN";2252 if (dnsDomainIs(host, ".sockslist.net") || host == "sockslist.net") return "PROXY GOAGENT_LISTEN";2253 if (host.indexOf(".sod.co.jp") >= 0) return "PROXY GOAGENT_LISTEN";2254 if (dnsDomainIs(host, ".softether.org") || host == "softether.org") return "PROXY GOAGENT_LISTEN";2255 if (dnsDomainIs(host, ".softether-download.com") || host == "softether-download.com") return "PROXY GOAGENT_LISTEN";2256 if (dnsDomainIs(host, ".cdn.softlayer.net") || host == "cdn.softlayer.net") return "PROXY GOAGENT_LISTEN";2257 if (dnsDomainIs(host, ".sogclub.com") || host == "sogclub.com") return "PROXY GOAGENT_LISTEN";2258 if (dnsDomainIs(host, ".sohcradio.com") || host == "sohcradio.com") return "PROXY GOAGENT_LISTEN";2259 if (dnsDomainIs(host, ".www.somee.com") || host == "www.somee.com") return "PROXY GOAGENT_LISTEN";2260 if (dnsDomainIs(host, ".sorting-algorithms.com") || host == "sorting-algorithms.com") return "PROXY GOAGENT_LISTEN";2261 if (host.indexOf(".soumo.info") >= 0) return "PROXY GOAGENT_LISTEN";2262 if (dnsDomainIs(host, ".soup.io/") || host == "soup.io/") return "PROXY GOAGENT_LISTEN";2263 if (host.indexOf(".slinkset.com") >= 0) return "PROXY GOAGENT_LISTEN";2264 if (dnsDomainIs(host, ".slickvpn.com") || host == "slickvpn.com") return "PROXY GOAGENT_LISTEN";2265 if (dnsDomainIs(host, ".snapchat.com") || host == "snapchat.com") return "PROXY GOAGENT_LISTEN";2266 if (dnsDomainIs(host, ".snaptu.com") || host == "snaptu.com") return "PROXY GOAGENT_LISTEN";2267 if (host.indexOf("sneakme.net") >= 0) return "PROXY GOAGENT_LISTEN";2268 if (dnsDomainIs(host, ".snooper.co.uk") || host == "snooper.co.uk") return "PROXY GOAGENT_LISTEN";2269 if (dnsDomainIs(host, ".sobees.com") || host == "sobees.com") return "PROXY GOAGENT_LISTEN";2270 if (host.indexOf("socialwhale.com") >= 0) return "PROXY GOAGENT_LISTEN";2271 if (host.indexOf(".softether.co.jp") >= 0) return "PROXY GOAGENT_LISTEN";2272 if (dnsDomainIs(host, ".softwarebychuck.com") || host == "softwarebychuck.com") return "PROXY GOAGENT_LISTEN";2273 if (host.indexOf("blog.sogoo.org") >= 0) return "PROXY GOAGENT_LISTEN";2274 if (dnsDomainIs(host, ".soh.tw") || host == "soh.tw") return "PROXY GOAGENT_LISTEN";2275 if (dnsDomainIs(host, ".sohfrance.org") || host == "sohfrance.org") return "PROXY GOAGENT_LISTEN";2276 if (host.indexOf("chinese.soifind.com") >= 0) return "PROXY GOAGENT_LISTEN";2277 if (host.indexOf("sokamonline.com") >= 0) return "PROXY GOAGENT_LISTEN";2278 if (dnsDomainIs(host, ".somee.com") || host == "somee.com") return "PROXY GOAGENT_LISTEN";2279 if (dnsDomainIs(host, ".songjianjun.com") || host == "songjianjun.com") return "PROXY GOAGENT_LISTEN";2280 if (host.indexOf(".sonidodelaesperanza.org") >= 0) return "PROXY GOAGENT_LISTEN";2281 if (host.indexOf(".sopcast.com") >= 0) return "PROXY GOAGENT_LISTEN";2282 if (host.indexOf(".sopcast.org") >= 0) return "PROXY GOAGENT_LISTEN";2283 if (url.indexOf("http://bbs.soul-plus.net") == 0) return "PROXY GOAGENT_LISTEN";2284 if (dnsDomainIs(host, ".soundcloud.com") || host == "soundcloud.com") return "PROXY GOAGENT_LISTEN";2285 if (host.indexOf(".soundofhope.kr") >= 0) return "PROXY GOAGENT_LISTEN";2286 if (dnsDomainIs(host, ".soundofhope.org") || host == "soundofhope.org") return "PROXY GOAGENT_LISTEN";2287 if (dnsDomainIs(host, ".soupofmedia.com") || host == "soupofmedia.com") return "PROXY GOAGENT_LISTEN";2288 if (host.indexOf(".sourceforge.net") >= 0) return "PROXY GOAGENT_LISTEN";2289 if (url.indexOf("http://sourceforge.net/p*/shadowsocksgui/") == 0) return "PROXY GOAGENT_LISTEN";2290 if (host.indexOf("southnews.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2291 if (host.indexOf("sowers.org.hk") >= 0) return "PROXY GOAGENT_LISTEN";2292 if (dnsDomainIs(host, ".wlx.sowiki.net") || host == "wlx.sowiki.net") return "PROXY GOAGENT_LISTEN";2293 if (dnsDomainIs(host, ".space-scape.com") || host == "space-scape.com") return "PROXY GOAGENT_LISTEN";2294 if (host.indexOf(".spankwire.com") >= 0) return "PROXY GOAGENT_LISTEN";2295 if (dnsDomainIs(host, ".spb.com") || host == "spb.com") return "PROXY GOAGENT_LISTEN";2296 if (dnsDomainIs(host, ".spencertipping.com") || host == "spencertipping.com") return "PROXY GOAGENT_LISTEN";2297 if (host.indexOf("spinejs.com") >= 0) return "PROXY GOAGENT_LISTEN";2298 if (dnsDomainIs(host, ".sproutcore.com") || host == "sproutcore.com") return "PROXY GOAGENT_LISTEN";2299 if (host.indexOf("squarespace.com") >= 0) return "PROXY GOAGENT_LISTEN";2300 if (dnsDomainIs(host, ".ssh91.com") || host == "ssh91.com") return "PROXY GOAGENT_LISTEN";2301 if (url.indexOf("www.stackfile.com/freedur") >= 0) return "PROXY GOAGENT_LISTEN";2302 if (dnsDomainIs(host, ".standupfortibet.org") || host == "standupfortibet.org") return "PROXY GOAGENT_LISTEN";2303 if (host.indexOf("usinfo.state.gov") >= 0) return "PROXY GOAGENT_LISTEN";2304 if (dnsDomainIs(host, ".starp2p.com") || host == "starp2p.com") return "PROXY GOAGENT_LISTEN";2305 if (dnsDomainIs(host, ".startpage.com") || host == "startpage.com") return "PROXY GOAGENT_LISTEN";2306 if (host.indexOf(".state168.com") >= 0) return "PROXY GOAGENT_LISTEN";2307 if (dnsDomainIs(host, ".steel-storm.com") || host == "steel-storm.com") return "PROXY GOAGENT_LISTEN";2308 if (dnsDomainIs(host, ".sthoo.com") || host == "sthoo.com") return "PROXY GOAGENT_LISTEN";2309 if (host.indexOf(".stickam.com") >= 0) return "PROXY GOAGENT_LISTEN";2310 if (url.indexOf("stickeraction.com/sesawe") >= 0) return "PROXY GOAGENT_LISTEN";2311 if (dnsDomainIs(host, ".stonegames.net") || host == "stonegames.net") return "PROXY GOAGENT_LISTEN";2312 if (dnsDomainIs(host, ".stoneip.info") || host == "stoneip.info") return "PROXY GOAGENT_LISTEN";2313 if (dnsDomainIs(host, ".storagenewsletter.com") || host == "storagenewsletter.com") return "PROXY GOAGENT_LISTEN";2314 if (dnsDomainIs(host, ".stoptibetcrisis.net") || host == "stoptibetcrisis.net") return "PROXY GOAGENT_LISTEN";2315 if (dnsDomainIs(host, ".storify.com") || host == "storify.com") return "PROXY GOAGENT_LISTEN";2316 if (dnsDomainIs(host, ".stoweboyd.com") || host == "stoweboyd.com") return "PROXY GOAGENT_LISTEN";2317 if (dnsDomainIs(host, ".streamingthe.net") || host == "streamingthe.net") return "PROXY GOAGENT_LISTEN";2318 if (url.indexOf("cn.streetvoice.com/article") >= 0) return "PROXY GOAGENT_LISTEN";2319 if (url.indexOf("cn.streetvoice.com/diary") >= 0) return "PROXY GOAGENT_LISTEN";2320 if (host.indexOf("cn2.streetvoice.com") >= 0) return "PROXY GOAGENT_LISTEN";2321 if (host.indexOf("tw.streetvoice.com") >= 0) return "PROXY GOAGENT_LISTEN";2322 if (dnsDomainIs(host, ".strongvpn.com") || host == "strongvpn.com") return "PROXY GOAGENT_LISTEN";2323 if (url.indexOf(".student.tw/db") >= 0) return "PROXY GOAGENT_LISTEN";2324 if (dnsDomainIs(host, ".studentsforafreetibet.org") || host == "studentsforafreetibet.org") return "PROXY GOAGENT_LISTEN";2325 if (host.indexOf("stupidvideos.com") >= 0) return "PROXY GOAGENT_LISTEN";2326 if (dnsDomainIs(host, ".sugarsync.com") || host == "sugarsync.com") return "PROXY GOAGENT_LISTEN";2327 if (host.indexOf("summify.com") >= 0) return "PROXY GOAGENT_LISTEN";2328 if (host.indexOf("sun1911.com") >= 0) return "PROXY GOAGENT_LISTEN";2329 if (host.indexOf(".suoluo.org") >= 0) return "PROXY GOAGENT_LISTEN";2330 if (host.indexOf("api.supertweet.net") >= 0) return "PROXY GOAGENT_LISTEN";2331 if (host.indexOf("www.supertweet.net") >= 0) return "PROXY GOAGENT_LISTEN";2332 if (host.indexOf(".surfeasy.com.au") >= 0) return "PROXY GOAGENT_LISTEN";2333 if (dnsDomainIs(host, ".surrenderat20.net") || host == "surrenderat20.net") return "PROXY GOAGENT_LISTEN";2334 if (dnsDomainIs(host, ".svwind.com") || host == "svwind.com") return "PROXY GOAGENT_LISTEN";2335 if (dnsDomainIs(host, ".sweux.com") || host == "sweux.com") return "PROXY GOAGENT_LISTEN";2336 if (dnsDomainIs(host, ".swift-tools.net") || host == "swift-tools.net") return "PROXY GOAGENT_LISTEN";2337 if (host.indexOf(".sydneytoday.com") >= 0) return "PROXY GOAGENT_LISTEN";2338 if (host.indexOf(".sylfoundation.org") >= 0) return "PROXY GOAGENT_LISTEN";2339 if (dnsDomainIs(host, ".syncback.com") || host == "syncback.com") return "PROXY GOAGENT_LISTEN";2340 if (dnsDomainIs(host, ".sysadmin1138.net") || host == "sysadmin1138.net") return "PROXY GOAGENT_LISTEN";2341 if (host.indexOf("sysresccd.org") >= 0) return "PROXY GOAGENT_LISTEN";2342 if (host.indexOf(".sytes.net") >= 0) return "PROXY GOAGENT_LISTEN";2343 if (url.indexOf("blog.syx86.com/2009/09/puff") >= 0) return "PROXY GOAGENT_LISTEN";2344 if (url.indexOf("blog.syx86.cn/2009/09/puff") >= 0) return "PROXY GOAGENT_LISTEN";2345 if (host.indexOf(".szbbs.net") >= 0) return "PROXY GOAGENT_LISTEN";2346 if (dnsDomainIs(host, ".szetowah.org.hk") || host == "szetowah.org.hk") return "PROXY GOAGENT_LISTEN";2347 if (host.indexOf(".t35.com") >= 0) return "PROXY GOAGENT_LISTEN";2348 if (dnsDomainIs(host, ".t66y.com") || host == "t66y.com") return "PROXY GOAGENT_LISTEN";2349 if (dnsDomainIs(host, ".t88.ca") || host == "t88.ca") return "PROXY GOAGENT_LISTEN";2350 if (host.indexOf(".taa-usa.org") >= 0) return "PROXY GOAGENT_LISTEN";2351 if (url.indexOf("http://taa-usa.org") == 0) return "PROXY GOAGENT_LISTEN";2352 if (url.indexOf("http://www.tablesgenerator.com/") == 0) return "PROXY GOAGENT_LISTEN";2353 if (host.indexOf("tabtter.jp") >= 0) return "PROXY GOAGENT_LISTEN";2354 if (host.indexOf(".tacem.org") >= 0) return "PROXY GOAGENT_LISTEN";2355 if (dnsDomainIs(host, ".tafaward.com") || host == "tafaward.com") return "PROXY GOAGENT_LISTEN";2356 if (dnsDomainIs(host, ".tagwalk.com") || host == "tagwalk.com") return "PROXY GOAGENT_LISTEN";2357 if (host.indexOf("taipei.gov.tw") >= 0) return "PROXY GOAGENT_LISTEN";2358 if (dnsDomainIs(host, ".taipeisociety.org") || host == "taipeisociety.org") return "PROXY GOAGENT_LISTEN";2359 if (host.indexOf(".taiwandaily.net") >= 0) return "PROXY GOAGENT_LISTEN";2360 if (dnsDomainIs(host, ".taiwantt.org.tw") || host == "taiwantt.org.tw") return "PROXY GOAGENT_LISTEN";2361 if (dnsDomainIs(host, ".taiwandaily.net") || host == "taiwandaily.net") return "PROXY GOAGENT_LISTEN";2362 if (host.indexOf("taiwankiss.com") >= 0) return "PROXY GOAGENT_LISTEN";2363 if (host.indexOf("taiwannation.com") >= 0) return "PROXY GOAGENT_LISTEN";2364 if (host.indexOf("taiwannation.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2365 if (dnsDomainIs(host, ".taiwannews.com.tw") || host == "taiwannews.com.tw") return "PROXY GOAGENT_LISTEN";2366 if (url.indexOf("http://www.taiwanonline.cc/") == 0) return "PROXY GOAGENT_LISTEN";2367 if (host.indexOf("taiwantp.net") >= 0) return "PROXY GOAGENT_LISTEN";2368 if (host.indexOf("taiwanus.net") >= 0) return "PROXY GOAGENT_LISTEN";2369 if (host.indexOf("taiwanyes.com") >= 0) return "PROXY GOAGENT_LISTEN";2370 if (host.indexOf("taiwan-sex.com") >= 0) return "PROXY GOAGENT_LISTEN";2371 if (host.indexOf(".talk853.com") >= 0) return "PROXY GOAGENT_LISTEN";2372 if (dnsDomainIs(host, ".tamiaode.tk") || host == "tamiaode.tk") return "PROXY GOAGENT_LISTEN";2373 if (dnsDomainIs(host, ".tanc.org") || host == "tanc.org") return "PROXY GOAGENT_LISTEN";2374 if (host.indexOf("tangben.com") >= 0) return "PROXY GOAGENT_LISTEN";2375 if (dnsDomainIs(host, ".taolun.info") || host == "taolun.info") return "PROXY GOAGENT_LISTEN";2376 if (host.indexOf("blog.taragana.com") >= 0) return "PROXY GOAGENT_LISTEN";2377 if (dnsDomainIs(host, ".taup.net") || host == "taup.net") return "PROXY GOAGENT_LISTEN";2378 if (url.indexOf("http://www.taup.org.tw") == 0) return "PROXY GOAGENT_LISTEN";2379 if (dnsDomainIs(host, ".taweet.com") || host == "taweet.com") return "PROXY GOAGENT_LISTEN";2380 if (dnsDomainIs(host, ".tbpic.info") || host == "tbpic.info") return "PROXY GOAGENT_LISTEN";2381 if (dnsDomainIs(host, ".tbsec.org") || host == "tbsec.org") return "PROXY GOAGENT_LISTEN";2382 if (dnsDomainIs(host, ".tbsn.org") || host == "tbsn.org") return "PROXY GOAGENT_LISTEN";2383 if (host.indexOf(".tbsseattle.org") >= 0) return "PROXY GOAGENT_LISTEN";2384 if (host.indexOf("tchrd.org") >= 0) return "PROXY GOAGENT_LISTEN";2385 if (shExpMatch(url, "*tcno.net*doc*tor*")) return "PROXY GOAGENT_LISTEN";2386 if (dnsDomainIs(host, ".teamseesmic.com") || host == "teamseesmic.com") return "PROXY GOAGENT_LISTEN";2387 if (url.indexOf(".teashark.com/download.html") >= 0) return "PROXY GOAGENT_LISTEN";2388 if (dnsDomainIs(host, ".techlifeweb.com") || host == "techlifeweb.com") return "PROXY GOAGENT_LISTEN";2389 if (dnsDomainIs(host, ".techparaiso.com") || host == "techparaiso.com") return "PROXY GOAGENT_LISTEN";2390 if (dnsDomainIs(host, ".teck.in/") || host == "teck.in/") return "PROXY GOAGENT_LISTEN";2391 if (host.indexOf(".telecomspace.com") >= 0) return "PROXY GOAGENT_LISTEN";2392 if (dnsDomainIs(host, ".telegraph.co.uk") || host == "telegraph.co.uk") return "PROXY GOAGENT_LISTEN";2393 if (host.indexOf(".tenacy.com") >= 0) return "PROXY GOAGENT_LISTEN";2394 if (dnsDomainIs(host, ".theampfactory.com") || host == "theampfactory.com") return "PROXY GOAGENT_LISTEN";2395 if (dnsDomainIs(host, ".theappleblog.com") || host == "theappleblog.com") return "PROXY GOAGENT_LISTEN";2396 if (dnsDomainIs(host, ".theatrum-belli.com") || host == "theatrum-belli.com") return "PROXY GOAGENT_LISTEN";2397 if (dnsDomainIs(host, ".thebodyshop-usa.com") || host == "thebodyshop-usa.com") return "PROXY GOAGENT_LISTEN";2398 if (host.indexOf("theblemish.com") >= 0) return "PROXY GOAGENT_LISTEN";2399 if (dnsDomainIs(host, ".thebcomplex.com") || host == "thebcomplex.com") return "PROXY GOAGENT_LISTEN";2400 if (host.indexOf(".thechinabeat.org") >= 0) return "PROXY GOAGENT_LISTEN";2401 if (url.indexOf("http://www.thechinastory.org/yearbooks/yearbook-2012/") == 0) return "PROXY GOAGENT_LISTEN";2402 if (dnsDomainIs(host, ".thedieline.com") || host == "thedieline.com") return "PROXY GOAGENT_LISTEN";2403 if (dnsDomainIs(host, ".thedw.us") || host == "thedw.us") return "PROXY GOAGENT_LISTEN";2404 if (dnsDomainIs(host, ".thegatesnotes.com") || host == "thegatesnotes.com") return "PROXY GOAGENT_LISTEN";2405 if (url.indexOf("http://thegioitinhoc.vn/") == 0) return "PROXY GOAGENT_LISTEN";2406 if (host.indexOf(".thehots.info") >= 0) return "PROXY GOAGENT_LISTEN";2407 if (host.indexOf("thehousenews.com") >= 0) return "PROXY GOAGENT_LISTEN";2408 if (dnsDomainIs(host, ".thehun.net") || host == "thehun.net") return "PROXY GOAGENT_LISTEN";2409 if (dnsDomainIs(host, ".thelifeyoucansave.com") || host == "thelifeyoucansave.com") return "PROXY GOAGENT_LISTEN";2410 if (dnsDomainIs(host, ".thelius.org") || host == "thelius.org") return "PROXY GOAGENT_LISTEN";2411 if (host.indexOf("thepiratebay.org") >= 0) return "PROXY GOAGENT_LISTEN";2412 if (url.indexOf("theqii.info/blog") >= 0) return "PROXY GOAGENT_LISTEN";2413 if (host.indexOf("thereallove.kr") >= 0) return "PROXY GOAGENT_LISTEN";2414 if (dnsDomainIs(host, ".thesartorialist.com") || host == "thesartorialist.com") return "PROXY GOAGENT_LISTEN";2415 if (host.indexOf("thespeeder.com") >= 0) return "PROXY GOAGENT_LISTEN";2416 if (url.indexOf("http://thestandnews.com/") == 0) return "PROXY GOAGENT_LISTEN";2417 if (dnsDomainIs(host, ".thetibetpost.com") || host == "thetibetpost.com") return "PROXY GOAGENT_LISTEN";2418 if (url.indexOf("thetrotskymovie.com/") >= 0) return "PROXY GOAGENT_LISTEN";2419 if (host.indexOf("thevivekspot.com") >= 0) return "PROXY GOAGENT_LISTEN";2420 if (dnsDomainIs(host, ".thewgo.org") || host == "thewgo.org") return "PROXY GOAGENT_LISTEN";2421 if (host.indexOf(".thinkingtaiwan.com") >= 0) return "PROXY GOAGENT_LISTEN";2422 if (host.indexOf(".thisav.com") >= 0) return "PROXY GOAGENT_LISTEN";2423 if (url.indexOf("http://thisav.com") == 0) return "PROXY GOAGENT_LISTEN";2424 if (host.indexOf("thkphoto.com") >= 0) return "PROXY GOAGENT_LISTEN";2425 if (dnsDomainIs(host, ".thomasbernhard.org") || host == "thomasbernhard.org") return "PROXY GOAGENT_LISTEN";2426 if (host.indexOf("threatchaos.com") >= 0) return "PROXY GOAGENT_LISTEN";2427 if (dnsDomainIs(host, ".throughnightsfire.com") || host == "throughnightsfire.com") return "PROXY GOAGENT_LISTEN";2428 if (host.indexOf(".thumbzilla.com") >= 0) return "PROXY GOAGENT_LISTEN";2429 if (dnsDomainIs(host, ".thywords.com") || host == "thywords.com") return "PROXY GOAGENT_LISTEN";2430 if (host.indexOf("tiananmenmother.org") >= 0) return "PROXY GOAGENT_LISTEN";2431 if (dnsDomainIs(host, ".tiananmenuniv.com") || host == "tiananmenuniv.com") return "PROXY GOAGENT_LISTEN";2432 if (dnsDomainIs(host, ".tiananmenuniv.net") || host == "tiananmenuniv.net") return "PROXY GOAGENT_LISTEN";2433 if (dnsDomainIs(host, ".tiandixing.org") || host == "tiandixing.org") return "PROXY GOAGENT_LISTEN";2434 if (host.indexOf(".tianhuayuan.com") >= 0) return "PROXY GOAGENT_LISTEN";2435 if (host.indexOf("tiantibooks.org") >= 0) return "PROXY GOAGENT_LISTEN";2436 if (host.indexOf(".tianzhu.org") >= 0) return "PROXY GOAGENT_LISTEN";2437 if (host.indexOf(".tibet.at") >= 0) return "PROXY GOAGENT_LISTEN";2438 if (dnsDomainIs(host, ".tibet.com") || host == "tibet.com") return "PROXY GOAGENT_LISTEN";2439 if (dnsDomainIs(host, ".tibet.net") || host == "tibet.net") return "PROXY GOAGENT_LISTEN";2440 if (dnsDomainIs(host, ".tibet.org") || host == "tibet.org") return "PROXY GOAGENT_LISTEN";2441 if (host.indexOf("tibet.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";2442 if (host.indexOf("tibetalk.com") >= 0) return "PROXY GOAGENT_LISTEN";2443 if (dnsDomainIs(host, ".tibetanyouthcongress.org") || host == "tibetanyouthcongress.org") return "PROXY GOAGENT_LISTEN";2444 if (host.indexOf(".tibetcorps.org") >= 0) return "PROXY GOAGENT_LISTEN";2445 if (host.indexOf("tibetfund.org") >= 0) return "PROXY GOAGENT_LISTEN";2446 if (host.indexOf(".tibetjustice.org") >= 0) return "PROXY GOAGENT_LISTEN";2447 if (host.indexOf("tibetoffice.org") >= 0) return "PROXY GOAGENT_LISTEN";2448 if (dnsDomainIs(host, ".tibetonline.com") || host == "tibetonline.com") return "PROXY GOAGENT_LISTEN";2449 if (dnsDomainIs(host, ".tibetonline.tv") || host == "tibetonline.tv") return "PROXY GOAGENT_LISTEN";2450 if (host.indexOf(".tibetonline.tv") >= 0) return "PROXY GOAGENT_LISTEN";2451 if (host.indexOf(".tibetsun.com") >= 0) return "PROXY GOAGENT_LISTEN";2452 if (dnsDomainIs(host, ".tibetwrites.org") || host == "tibetwrites.org") return "PROXY GOAGENT_LISTEN";2453 if (url.indexOf(".time.com/time/time100/leaders/profile/rebel") >= 0) return "PROXY GOAGENT_LISTEN";2454 if (url.indexOf(".time.com/time/specials/packages/article/0,28804") >= 0) return "PROXY GOAGENT_LISTEN";2455 if (url.indexOf(".time.com/time/magazine") >= 0) return "PROXY GOAGENT_LISTEN";2456 if (dnsDomainIs(host, ".blog.tiney.com") || host == "blog.tiney.com") return "PROXY GOAGENT_LISTEN";2457 if (host.indexOf("tinychat.com") >= 0) return "PROXY GOAGENT_LISTEN";2458 if (dnsDomainIs(host, ".tinypaste.com") || host == "tinypaste.com") return "PROXY GOAGENT_LISTEN";2459 if (dnsDomainIs(host, ".tidyread.com") || host == "tidyread.com") return "PROXY GOAGENT_LISTEN";2460 if (host.indexOf(".tistory.com") >= 0) return "PROXY GOAGENT_LISTEN";2461 if (dnsDomainIs(host, ".tkcs-collins.com") || host == "tkcs-collins.com") return "PROXY GOAGENT_LISTEN";2462 if (dnsDomainIs(host, ".tkforum.tk") || host == "tkforum.tk") return "PROXY GOAGENT_LISTEN";2463 if (dnsDomainIs(host, ".tmagazine.com") || host == "tmagazine.com") return "PROXY GOAGENT_LISTEN";2464 if (url.indexOf("http://tmi.me") == 0) return "PROXY GOAGENT_LISTEN";2465 if (dnsDomainIs(host, ".tnaflix.com") || host == "tnaflix.com") return "PROXY GOAGENT_LISTEN";2466 if (host.indexOf("togetter.com") >= 0) return "PROXY GOAGENT_LISTEN";2467 if (host.indexOf(".tokyo-247.com") >= 0) return "PROXY GOAGENT_LISTEN";2468 if (host.indexOf("tokyo-hot.com") >= 0) return "PROXY GOAGENT_LISTEN";2469 if (dnsDomainIs(host, ".tokyocn.com") || host == "tokyocn.com") return "PROXY GOAGENT_LISTEN";2470 if (host.indexOf(".tono-oka.jp") >= 0) return "PROXY GOAGENT_LISTEN";2471 if (host.indexOf("tonyyan.net") >= 0) return "PROXY GOAGENT_LISTEN";2472 if (host.indexOf(".toodoc.com") >= 0) return "PROXY GOAGENT_LISTEN";2473 if (host.indexOf("toonel.net") >= 0) return "PROXY GOAGENT_LISTEN";2474 if (host.indexOf(".topnews.in") >= 0) return "PROXY GOAGENT_LISTEN";2475 if (dnsDomainIs(host, ".topshare.us") || host == "topshare.us") return "PROXY GOAGENT_LISTEN";2476 if (host.indexOf(".topshareware.com") >= 0) return "PROXY GOAGENT_LISTEN";2477 if (dnsDomainIs(host, ".topstyle4.com") || host == "topstyle4.com") return "PROXY GOAGENT_LISTEN";2478 if (dnsDomainIs(host, ".topsy.com") || host == "topsy.com") return "PROXY GOAGENT_LISTEN";2479 if (host.indexOf("topsy.com") >= 0) return "PROXY GOAGENT_LISTEN";2480 if (host.indexOf("tora.to") >= 0) return "PROXY GOAGENT_LISTEN";2481 if (dnsDomainIs(host, ".torproject.org") || host == "torproject.org") return "PROXY GOAGENT_LISTEN";2482 if (dnsDomainIs(host, ".torrentcrazy.com") || host == "torrentcrazy.com") return "PROXY GOAGENT_LISTEN";2483 if (dnsDomainIs(host, ".torrentproject.se") || host == "torrentproject.se") return "PROXY GOAGENT_LISTEN";2484 if (dnsDomainIs(host, ".torvpn.com") || host == "torvpn.com") return "PROXY GOAGENT_LISTEN";2485 if (host.indexOf("touch99.com") >= 0) return "PROXY GOAGENT_LISTEN";2486 if (dnsDomainIs(host, ".toutfr.com") || host == "toutfr.com") return "PROXY GOAGENT_LISTEN";2487 if (dnsDomainIs(host, ".tpi.org.tw") || host == "tpi.org.tw") return "PROXY GOAGENT_LISTEN";2488 if (dnsDomainIs(host, ".transgressionism.org") || host == "transgressionism.org") return "PROXY GOAGENT_LISTEN";2489 if (dnsDomainIs(host, ".transparency.org") || host == "transparency.org") return "PROXY GOAGENT_LISTEN";2490 if (dnsDomainIs(host, ".travelinlocal.com") || host == "travelinlocal.com") return "PROXY GOAGENT_LISTEN";2491 if (dnsDomainIs(host, ".treemall.com.tw") || host == "treemall.com.tw") return "PROXY GOAGENT_LISTEN";2492 if (dnsDomainIs(host, ".trendsmap.com") || host == "trendsmap.com") return "PROXY GOAGENT_LISTEN";2493 if (dnsDomainIs(host, ".trialofccp.org") || host == "trialofccp.org") return "PROXY GOAGENT_LISTEN";2494 if (dnsDomainIs(host, ".tripod.com") || host == "tripod.com") return "PROXY GOAGENT_LISTEN";2495 if (host.indexOf(".trouw.nl") >= 0) return "PROXY GOAGENT_LISTEN";2496 if (host.indexOf(".trt.net.tr") >= 0) return "PROXY GOAGENT_LISTEN";2497 if (host.indexOf("trtc.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2498 if (host.indexOf("trulyergonomic.com") >= 0) return "PROXY GOAGENT_LISTEN";2499 if (dnsDomainIs(host, ".trustedbi.com") || host == "trustedbi.com") return "PROXY GOAGENT_LISTEN";2500 if (host.indexOf(".truth101.co.tv") >= 0) return "PROXY GOAGENT_LISTEN";2501 if (url.indexOf("http://truth101.co.tv") == 0) return "PROXY GOAGENT_LISTEN";2502 if (dnsDomainIs(host, ".truthcn.com") || host == "truthcn.com") return "PROXY GOAGENT_LISTEN";2503 if (host.indexOf(".truveo.com") >= 0) return "PROXY GOAGENT_LISTEN";2504 if (host.indexOf(".tsemtulku.com") >= 0) return "PROXY GOAGENT_LISTEN";2505 if (host.indexOf("tsquare.tv") >= 0) return "PROXY GOAGENT_LISTEN";2506 if (url.indexOf("http:/www.tsu.org.tw") == 0) return "PROXY GOAGENT_LISTEN";2507 if (host.indexOf("tsunagarumon.com") >= 0) return "PROXY GOAGENT_LISTEN";2508 if (url.indexOf("http://www.tsuru-bird.net/") == 0) return "PROXY GOAGENT_LISTEN";2509 if (host.indexOf(".tsctv.net") >= 0) return "PROXY GOAGENT_LISTEN";2510 if (dnsDomainIs(host, ".tt-rss.org") || host == "tt-rss.org") return "PROXY GOAGENT_LISTEN";2511 if (dnsDomainIs(host, ".tt1069.com") || host == "tt1069.com") return "PROXY GOAGENT_LISTEN";2512 if (dnsDomainIs(host, ".tttan.com") || host == "tttan.com") return "PROXY GOAGENT_LISTEN";2513 if (host.indexOf(".tttan.com") >= 0) return "PROXY GOAGENT_LISTEN";2514 if (url.indexOf("bb.ttv.com.tw/bb") >= 0) return "PROXY GOAGENT_LISTEN";2515 if (host.indexOf(".tuanzt.com") >= 0) return "PROXY GOAGENT_LISTEN";2516 if (host.indexOf(".tube.com") >= 0) return "PROXY GOAGENT_LISTEN";2517 if (dnsDomainIs(host, ".tube8.com") || host == "tube8.com") return "PROXY GOAGENT_LISTEN";2518 if (host.indexOf("tubecao.com") >= 0) return "PROXY GOAGENT_LISTEN";2519 if (dnsDomainIs(host, ".tubewolf.com") || host == "tubewolf.com") return "PROXY GOAGENT_LISTEN";2520 if (host.indexOf("tuidang.net") >= 0) return "PROXY GOAGENT_LISTEN";2521 if (host.indexOf("tuidang.org") >= 0) return "PROXY GOAGENT_LISTEN";2522 if (host.indexOf("bbs.tuitui.info") >= 0) return "PROXY GOAGENT_LISTEN";2523 if (dnsDomainIs(host, ".tumutanzi.com") || host == "tumutanzi.com") return "PROXY GOAGENT_LISTEN";2524 if (host.indexOf(".tunein.com") >= 0) return "PROXY GOAGENT_LISTEN";2525 if (url.indexOf("http://tunein.com") == 0) return "PROXY GOAGENT_LISTEN";2526 if (dnsDomainIs(host, ".tunnelbear.com") || host == "tunnelbear.com") return "PROXY GOAGENT_LISTEN";2527 if (host.indexOf(".turbobit.net") >= 0) return "PROXY GOAGENT_LISTEN";2528 if (url.indexOf("http://turbobit.net") == 0) return "PROXY GOAGENT_LISTEN";2529 if (dnsDomainIs(host, ".turningtorso.com") || host == "turningtorso.com") return "PROXY GOAGENT_LISTEN";2530 if (dnsDomainIs(host, ".tuxtraining.com") || host == "tuxtraining.com") return "PROXY GOAGENT_LISTEN";2531 if (dnsDomainIs(host, ".301works.org") || host == "301works.org") return "PROXY GOAGENT_LISTEN";2532 if (dnsDomainIs(host, ".365singles.com.ar") || host == "365singles.com.ar") return "PROXY GOAGENT_LISTEN";2533 if (dnsDomainIs(host, ".all-that-is-interesting.com") || host == "all-that-is-interesting.com") return "PROXY GOAGENT_LISTEN";2534 if (dnsDomainIs(host, ".art-or-porn.com") || host == "art-or-porn.com") return "PROXY GOAGENT_LISTEN";2535 if (dnsDomainIs(host, ".news.atebits.com") || host == "news.atebits.com") return "PROXY GOAGENT_LISTEN";2536 if (dnsDomainIs(host, ".tumblr.awflasher.com") || host == "tumblr.awflasher.com") return "PROXY GOAGENT_LISTEN";2537 if (dnsDomainIs(host, ".badassjs.com") || host == "badassjs.com") return "PROXY GOAGENT_LISTEN";2538 if (dnsDomainIs(host, ".basetimesheightdividedby2.com") || host == "basetimesheightdividedby2.com") return "PROXY GOAGENT_LISTEN";2539 if (dnsDomainIs(host, ".benjaminste.in") || host == "benjaminste.in") return "PROXY GOAGENT_LISTEN";2540 if (dnsDomainIs(host, ".blog.birdhouseapp.com") || host == "blog.birdhouseapp.com") return "PROXY GOAGENT_LISTEN";2541 if (dnsDomainIs(host, ".bobulate.com") || host == "bobulate.com") return "PROXY GOAGENT_LISTEN";2542 if (dnsDomainIs(host, ".bonjourlesgeeks.com") || host == "bonjourlesgeeks.com") return "PROXY GOAGENT_LISTEN";2543 if (dnsDomainIs(host, ".bookshelfporn.com") || host == "bookshelfporn.com") return "PROXY GOAGENT_LISTEN";2544 if (dnsDomainIs(host, ".blog.boxcar.io") || host == "blog.boxcar.io") return "PROXY GOAGENT_LISTEN";2545 if (dnsDomainIs(host, ".blog.bitly.com") || host == "blog.bitly.com") return "PROXY GOAGENT_LISTEN";2546 if (dnsDomainIs(host, ".chevronwp7.com") || host == "chevronwp7.com") return "PROXY GOAGENT_LISTEN";2547 if (dnsDomainIs(host, ".clientsfromhell.net") || host == "clientsfromhell.net") return "PROXY GOAGENT_LISTEN";2548 if (dnsDomainIs(host, ".codeboxapp.com") || host == "codeboxapp.com") return "PROXY GOAGENT_LISTEN";2549 if (dnsDomainIs(host, ".cookingtothegoodlife.com") || host == "cookingtothegoodlife.com") return "PROXY GOAGENT_LISTEN";2550 if (dnsDomainIs(host, ".cubicle17.com") || host == "cubicle17.com") return "PROXY GOAGENT_LISTEN";2551 if (dnsDomainIs(host, ".photos.dailyme.com") || host == "photos.dailyme.com") return "PROXY GOAGENT_LISTEN";2552 if (dnsDomainIs(host, ".davidslog.com") || host == "davidslog.com") return "PROXY GOAGENT_LISTEN";2553 if (dnsDomainIs(host, ".blog.davidziegler.net") || host == "blog.davidziegler.net") return "PROXY GOAGENT_LISTEN";2554 if (dnsDomainIs(host, ".blog.dayoneapp.com") || host == "blog.dayoneapp.com") return "PROXY GOAGENT_LISTEN";2555 if (dnsDomainIs(host, ".drewolanoff.com") || host == "drewolanoff.com") return "PROXY GOAGENT_LISTEN";2556 if (dnsDomainIs(host, ".blog.dribbble.com") || host == "blog.dribbble.com") return "PROXY GOAGENT_LISTEN";2557 if (dnsDomainIs(host, ".chaos.e-spacy.com") || host == "chaos.e-spacy.com") return "PROXY GOAGENT_LISTEN";2558 if (dnsDomainIs(host, ".eamonnbrennan.com") || host == "eamonnbrennan.com") return "PROXY GOAGENT_LISTEN";2559 if (dnsDomainIs(host, ".everyday-carry.com") || host == "everyday-carry.com") return "PROXY GOAGENT_LISTEN";2560 if (dnsDomainIs(host, ".eyespirit.info") || host == "eyespirit.info") return "PROXY GOAGENT_LISTEN";2561 if (dnsDomainIs(host, ".life.fly4ever.me") || host == "life.fly4ever.me") return "PROXY GOAGENT_LISTEN";2562 if (dnsDomainIs(host, ".fredwilson.vc") || host == "fredwilson.vc") return "PROXY GOAGENT_LISTEN";2563 if (dnsDomainIs(host, ".fuckgfw.com") || host == "fuckgfw.com") return "PROXY GOAGENT_LISTEN";2564 if (dnsDomainIs(host, ".geekmade.co.uk") || host == "geekmade.co.uk") return "PROXY GOAGENT_LISTEN";2565 if (dnsDomainIs(host, ".generesis.com") || host == "generesis.com") return "PROXY GOAGENT_LISTEN";2566 if (dnsDomainIs(host, ".news.ghostery.com") || host == "news.ghostery.com") return "PROXY GOAGENT_LISTEN";2567 if (dnsDomainIs(host, ".givemesomethingtoread.com") || host == "givemesomethingtoread.com") return "PROXY GOAGENT_LISTEN";2568 if (dnsDomainIs(host, ".blog.gowalla.com") || host == "blog.gowalla.com") return "PROXY GOAGENT_LISTEN";2569 if (dnsDomainIs(host, ".heiyo.info") || host == "heiyo.info") return "PROXY GOAGENT_LISTEN";2570 if (dnsDomainIs(host, ".hellonewyork.us") || host == "hellonewyork.us") return "PROXY GOAGENT_LISTEN";2571 if (dnsDomainIs(host, ".blog.hotpotato.com") || host == "blog.hotpotato.com") return "PROXY GOAGENT_LISTEN";2572 if (dnsDomainIs(host, ".ialmostlaugh.com") || host == "ialmostlaugh.com") return "PROXY GOAGENT_LISTEN";2573 if (dnsDomainIs(host, ".blog.ifttt.com") || host == "blog.ifttt.com") return "PROXY GOAGENT_LISTEN";2574 if (dnsDomainIs(host, ".blog.instagram.com") || host == "blog.instagram.com") return "PROXY GOAGENT_LISTEN";2575 if (dnsDomainIs(host, ".blog.instapaper.com") || host == "blog.instapaper.com") return "PROXY GOAGENT_LISTEN";2576 if (dnsDomainIs(host, ".interestinglaugh.com") || host == "interestinglaugh.com") return "PROXY GOAGENT_LISTEN";2577 if (dnsDomainIs(host, ".blog.iphone-dev.org") || host == "blog.iphone-dev.org") return "PROXY GOAGENT_LISTEN";2578 if (dnsDomainIs(host, ".jayparkinsonmd.com") || host == "jayparkinsonmd.com") return "PROXY GOAGENT_LISTEN";2579 if (dnsDomainIs(host, ".blog.joeyrobert.org") || host == "blog.joeyrobert.org") return "PROXY GOAGENT_LISTEN";2580 if (dnsDomainIs(host, ".kt.kcome.org") || host == "kt.kcome.org") return "PROXY GOAGENT_LISTEN";2581 if (dnsDomainIs(host, ".my.keso.cn") || host == "my.keso.cn") return "PROXY GOAGENT_LISTEN";2582 if (dnsDomainIs(host, ".blog.kickstarter.com") || host == "blog.kickstarter.com") return "PROXY GOAGENT_LISTEN";2583 if (dnsDomainIs(host, ".blog.kl.am") || host == "blog.kl.am") return "PROXY GOAGENT_LISTEN";2584 if (dnsDomainIs(host, ".blog.klip.me") || host == "blog.klip.me") return "PROXY GOAGENT_LISTEN";2585 if (dnsDomainIs(host, ".t.kun.im") || host == "t.kun.im") return "PROXY GOAGENT_LISTEN";2586 if (dnsDomainIs(host, ".blog.lightbox.com") || host == "blog.lightbox.com") return "PROXY GOAGENT_LISTEN";2587 if (dnsDomainIs(host, ".littlebigdetails.com") || host == "littlebigdetails.com") return "PROXY GOAGENT_LISTEN";2588 if (dnsDomainIs(host, ".lovequicksilver.com") || host == "lovequicksilver.com") return "PROXY GOAGENT_LISTEN";2589 if (dnsDomainIs(host, ".lyricsquote.com") || host == "lyricsquote.com") return "PROXY GOAGENT_LISTEN";2590 if (dnsDomainIs(host, ".madmenunbuttoned.com") || host == "madmenunbuttoned.com") return "PROXY GOAGENT_LISTEN";2591 if (dnsDomainIs(host, ".marco.org") || host == "marco.org") return "PROXY GOAGENT_LISTEN";2592 if (dnsDomainIs(host, ".minimalmac.com") || host == "minimalmac.com") return "PROXY GOAGENT_LISTEN";2593 if (dnsDomainIs(host, ".mixedmedialabs.com") || host == "mixedmedialabs.com") return "PROXY GOAGENT_LISTEN";2594 if (dnsDomainIs(host, ".modfetish.com") || host == "modfetish.com") return "PROXY GOAGENT_LISTEN";2595 if (dnsDomainIs(host, ".blog.mongodb.org") || host == "blog.mongodb.org") return "PROXY GOAGENT_LISTEN";2596 if (dnsDomainIs(host, ".navigeaters.com") || host == "navigeaters.com") return "PROXY GOAGENT_LISTEN";2597 if (dnsDomainIs(host, ".london.neighborhoodr.com") || host == "london.neighborhoodr.com") return "PROXY GOAGENT_LISTEN";2598 if (dnsDomainIs(host, ".blog.path.com") || host == "blog.path.com") return "PROXY GOAGENT_LISTEN";2599 if (dnsDomainIs(host, ".parislemon.com") || host == "parislemon.com") return "PROXY GOAGENT_LISTEN";2600 if (dnsDomainIs(host, ".blog.pikchur.com") || host == "blog.pikchur.com") return "PROXY GOAGENT_LISTEN";2601 if (dnsDomainIs(host, ".blog.rockmelt.com") || host == "blog.rockmelt.com") return "PROXY GOAGENT_LISTEN";2602 if (dnsDomainIs(host, ".blog.romanandreg.com") || host == "blog.romanandreg.com") return "PROXY GOAGENT_LISTEN";2603 if (dnsDomainIs(host, ".solozorro.tk") || host == "solozorro.tk") return "PROXY GOAGENT_LISTEN";2604 if (dnsDomainIs(host, ".blog.sparrowmailapp.com") || host == "blog.sparrowmailapp.com") return "PROXY GOAGENT_LISTEN";2605 if (dnsDomainIs(host, ".stuffimreading.com") || host == "stuffimreading.com") return "PROXY GOAGENT_LISTEN";2606 if (dnsDomainIs(host, ".blog.summify.com") || host == "blog.summify.com") return "PROXY GOAGENT_LISTEN";2607 if (dnsDomainIs(host, ".thedailywh.at") || host == "thedailywh.at") return "PROXY GOAGENT_LISTEN";2608 if (dnsDomainIs(host, ".theinternetwishlist.com") || host == "theinternetwishlist.com") return "PROXY GOAGENT_LISTEN";2609 if (dnsDomainIs(host, ".thisiswhyyouarefat.com") || host == "thisiswhyyouarefat.com") return "PROXY GOAGENT_LISTEN";2610 if (dnsDomainIs(host, ".www.tiffanyarment.com") || host == "www.tiffanyarment.com") return "PROXY GOAGENT_LISTEN";2611 if (dnsDomainIs(host, ".tjholowaychuk.com") || host == "tjholowaychuk.com") return "PROXY GOAGENT_LISTEN";2612 if (dnsDomainIs(host, ".tomsc.com") || host == "tomsc.com") return "PROXY GOAGENT_LISTEN";2613 if (dnsDomainIs(host, ".blog.topify.com") || host == "blog.topify.com") return "PROXY GOAGENT_LISTEN";2614 if (dnsDomainIs(host, ".thehungrydudes.com") || host == "thehungrydudes.com") return "PROXY GOAGENT_LISTEN";2615 if (dnsDomainIs(host, ".tumblweed.org") || host == "tumblweed.org") return "PROXY GOAGENT_LISTEN";2616 if (dnsDomainIs(host, ".status.twhirl.org") || host == "status.twhirl.org") return "PROXY GOAGENT_LISTEN";2617 if (dnsDomainIs(host, ".blog.usa.gov") || host == "blog.usa.gov") return "PROXY GOAGENT_LISTEN";2618 if (dnsDomainIs(host, ".photo.utom.us") || host == "photo.utom.us") return "PROXY GOAGENT_LISTEN";2619 if (dnsDomainIs(host, ".v-state.org") || host == "v-state.org") return "PROXY GOAGENT_LISTEN";2620 if (dnsDomainIs(host, ".wellplacedpixels.com") || host == "wellplacedpixels.com") return "PROXY GOAGENT_LISTEN";2621 if (dnsDomainIs(host, ".whydidyoubuymethat.com") || host == "whydidyoubuymethat.com") return "PROXY GOAGENT_LISTEN";2622 if (dnsDomainIs(host, ".wordboner.com") || host == "wordboner.com") return "PROXY GOAGENT_LISTEN";2623 if (dnsDomainIs(host, ".wordsandturds.com") || host == "wordsandturds.com") return "PROXY GOAGENT_LISTEN";2624 if (dnsDomainIs(host, ".worstthingieverate.com") || host == "worstthingieverate.com") return "PROXY GOAGENT_LISTEN";2625 if (dnsDomainIs(host, ".xmusic.fm") || host == "xmusic.fm") return "PROXY GOAGENT_LISTEN";2626 if (dnsDomainIs(host, ".xuzhuoer.com") || host == "xuzhuoer.com") return "PROXY GOAGENT_LISTEN";2627 if (dnsDomainIs(host, ".bd.zhe.la") || host == "bd.zhe.la") return "PROXY GOAGENT_LISTEN";2628 if (dnsDomainIs(host, ".cocoa.zonble.net") || host == "cocoa.zonble.net") return "PROXY GOAGENT_LISTEN";2629 if (host.indexOf(".tv.com") >= 0) return "PROXY GOAGENT_LISTEN";2630 if (dnsDomainIs(host, ".www.tv.com") || host == "www.tv.com") return "PROXY GOAGENT_LISTEN";2631 if (url.indexOf("http://tv.com") == 0) return "PROXY GOAGENT_LISTEN";2632 if (dnsDomainIs(host, ".tv-intros.com") || host == "tv-intros.com") return "PROXY GOAGENT_LISTEN";2633 if (host.indexOf("tvants.com") >= 0) return "PROXY GOAGENT_LISTEN";2634 if (url.indexOf("forum.tvb.com/") >= 0) return "PROXY GOAGENT_LISTEN";2635 if (host.indexOf("tvboxnow.com") >= 0) return "PROXY GOAGENT_LISTEN";2636 if (host.indexOf("tvider.com") >= 0) return "PROXY GOAGENT_LISTEN";2637 if (dnsDomainIs(host, ".tvunetworks.com") || host == "tvunetworks.com") return "PROXY GOAGENT_LISTEN";2638 if (host.indexOf(".tw-npo.org") >= 0) return "PROXY GOAGENT_LISTEN";2639 if (dnsDomainIs(host, ".twapperkeeper.com") || host == "twapperkeeper.com") return "PROXY GOAGENT_LISTEN";2640 if (dnsDomainIs(host, ".twaud.io") || host == "twaud.io") return "PROXY GOAGENT_LISTEN";2641 if (host.indexOf(".twaud.io") >= 0) return "PROXY GOAGENT_LISTEN";2642 if (host.indexOf(".twbbs.net.tw") >= 0) return "PROXY GOAGENT_LISTEN";2643 if (host.indexOf("twbbs.org") >= 0) return "PROXY GOAGENT_LISTEN";2644 if (host.indexOf("twbbs.tw") >= 0) return "PROXY GOAGENT_LISTEN";2645 if (dnsDomainIs(host, ".twblogger.com") || host == "twblogger.com") return "PROXY GOAGENT_LISTEN";2646 if (host.indexOf("tweepmag.com") >= 0) return "PROXY GOAGENT_LISTEN";2647 if (dnsDomainIs(host, ".tweepml.org") || host == "tweepml.org") return "PROXY GOAGENT_LISTEN";2648 if (dnsDomainIs(host, ".tweetbackup.com") || host == "tweetbackup.com") return "PROXY GOAGENT_LISTEN";2649 if (dnsDomainIs(host, ".tweetboard.com") || host == "tweetboard.com") return "PROXY GOAGENT_LISTEN";2650 if (dnsDomainIs(host, ".tweetboner.biz") || host == "tweetboner.biz") return "PROXY GOAGENT_LISTEN";2651 if (dnsDomainIs(host, ".tweetdeck.com") || host == "tweetdeck.com") return "PROXY GOAGENT_LISTEN";2652 if (url.indexOf("http://deck.ly") == 0) return "PROXY GOAGENT_LISTEN";2653 if (dnsDomainIs(host, ".mtw.tl") || host == "mtw.tl") return "PROXY GOAGENT_LISTEN";2654 if (dnsDomainIs(host, ".tweetedtimes.com") || host == "tweetedtimes.com") return "PROXY GOAGENT_LISTEN";2655 if (dnsDomainIs(host, ".tweetmylast.fm") || host == "tweetmylast.fm") return "PROXY GOAGENT_LISTEN";2656 if (dnsDomainIs(host, ".tweetphoto.com") || host == "tweetphoto.com") return "PROXY GOAGENT_LISTEN";2657 if (dnsDomainIs(host, ".tweetrans.com") || host == "tweetrans.com") return "PROXY GOAGENT_LISTEN";2658 if (dnsDomainIs(host, ".tweetree.com") || host == "tweetree.com") return "PROXY GOAGENT_LISTEN";2659 if (dnsDomainIs(host, ".tweetwally.com") || host == "tweetwally.com") return "PROXY GOAGENT_LISTEN";2660 if (host.indexOf("tweetymail.com") >= 0) return "PROXY GOAGENT_LISTEN";2661 if (dnsDomainIs(host, ".twftp.org") || host == "twftp.org") return "PROXY GOAGENT_LISTEN";2662 if (host.indexOf("twibase.com") >= 0) return "PROXY GOAGENT_LISTEN";2663 if (dnsDomainIs(host, ".twibble.de") || host == "twibble.de") return "PROXY GOAGENT_LISTEN";2664 if (host.indexOf("twibbon.com") >= 0) return "PROXY GOAGENT_LISTEN";2665 if (dnsDomainIs(host, ".twibs.com") || host == "twibs.com") return "PROXY GOAGENT_LISTEN";2666 if (host.indexOf("twicsy.com") >= 0) return "PROXY GOAGENT_LISTEN";2667 if (host.indexOf(".twifan.com") >= 0) return "PROXY GOAGENT_LISTEN";2668 if (url.indexOf("http://twifan.com") == 0) return "PROXY GOAGENT_LISTEN";2669 if (dnsDomainIs(host, ".twiffo.com") || host == "twiffo.com") return "PROXY GOAGENT_LISTEN";2670 if (host.indexOf("twilog.org") >= 0) return "PROXY GOAGENT_LISTEN";2671 if (dnsDomainIs(host, ".twimbow.com") || host == "twimbow.com") return "PROXY GOAGENT_LISTEN";2672 if (dnsDomainIs(host, ".twindexx.com") || host == "twindexx.com") return "PROXY GOAGENT_LISTEN";2673 if (dnsDomainIs(host, ".twipple.jp") || host == "twipple.jp") return "PROXY GOAGENT_LISTEN";2674 if (dnsDomainIs(host, ".twip.me/") || host == "twip.me/") return "PROXY GOAGENT_LISTEN";2675 if (host.indexOf("twistar.cc") >= 0) return "PROXY GOAGENT_LISTEN";2676 if (dnsDomainIs(host, ".twister.net.co") || host == "twister.net.co") return "PROXY GOAGENT_LISTEN";2677 if (host.indexOf("twisternow.com") >= 0) return "PROXY GOAGENT_LISTEN";2678 if (host.indexOf("twistory.net") >= 0) return "PROXY GOAGENT_LISTEN";2679 if (host.indexOf("twitbrowser.net") >= 0) return "PROXY GOAGENT_LISTEN";2680 if (dnsDomainIs(host, ".twitcause.com") || host == "twitcause.com") return "PROXY GOAGENT_LISTEN";2681 if (dnsDomainIs(host, ".twitgether.com") || host == "twitgether.com") return "PROXY GOAGENT_LISTEN";2682 if (dnsDomainIs(host, ".twiggit.org") || host == "twiggit.org") return "PROXY GOAGENT_LISTEN";2683 if (host.indexOf("twitgoo.com") >= 0) return "PROXY GOAGENT_LISTEN";2684 if (dnsDomainIs(host, ".twitiq.com") || host == "twitiq.com") return "PROXY GOAGENT_LISTEN";2685 if (dnsDomainIs(host, ".twitlonger.com") || host == "twitlonger.com") return "PROXY GOAGENT_LISTEN";2686 if (url.indexOf("http://tl.gd/") == 0) return "PROXY GOAGENT_LISTEN";2687 if (dnsDomainIs(host, ".twitoaster.com") || host == "twitoaster.com") return "PROXY GOAGENT_LISTEN";2688 if (dnsDomainIs(host, ".twitonmsn.com") || host == "twitonmsn.com") return "PROXY GOAGENT_LISTEN";2689 if (dnsDomainIs(host, ".twitpic.com") || host == "twitpic.com") return "PROXY GOAGENT_LISTEN";2690 if (host.indexOf("twitreferral.com") >= 0) return "PROXY GOAGENT_LISTEN";2691 if (dnsDomainIs(host, ".twit2d.com") || host == "twit2d.com") return "PROXY GOAGENT_LISTEN";2692 if (dnsDomainIs(host, ".twitstat.com") || host == "twitstat.com") return "PROXY GOAGENT_LISTEN";2693 if (dnsDomainIs(host, ".dotheyfolloweachother.com") || host == "dotheyfolloweachother.com") return "PROXY GOAGENT_LISTEN";2694 if (dnsDomainIs(host, ".firstfivefollowers.com") || host == "firstfivefollowers.com") return "PROXY GOAGENT_LISTEN";2695 if (dnsDomainIs(host, ".retweeteffect.com") || host == "retweeteffect.com") return "PROXY GOAGENT_LISTEN";2696 if (dnsDomainIs(host, ".tweeplike.me") || host == "tweeplike.me") return "PROXY GOAGENT_LISTEN";2697 if (dnsDomainIs(host, ".tweepguide.com") || host == "tweepguide.com") return "PROXY GOAGENT_LISTEN";2698 if (dnsDomainIs(host, ".turbotwitter.com") || host == "turbotwitter.com") return "PROXY GOAGENT_LISTEN";2699 if (dnsDomainIs(host, ".twitvid.com") || host == "twitvid.com") return "PROXY GOAGENT_LISTEN";2700 if (host.indexOf("199.59.148.20") >= 0) return "PROXY GOAGENT_LISTEN";2701 if (dnsDomainIs(host, ".t.co") || host == "t.co") return "PROXY GOAGENT_LISTEN";2702 if (host.indexOf(".t.co") >= 0) return "PROXY GOAGENT_LISTEN";2703 if (url.indexOf("http://twt.tl") == 0) return "PROXY GOAGENT_LISTEN";2704 if (host.indexOf("twittbot.net") >= 0) return "PROXY GOAGENT_LISTEN";2705 if (dnsDomainIs(host, ".twitter.com") || host == "twitter.com") return "PROXY GOAGENT_LISTEN";2706 if (dnsDomainIs(host, ".twitter.jp") || host == "twitter.jp") return "PROXY GOAGENT_LISTEN";2707 if (dnsDomainIs(host, ".twttr.com") || host == "twttr.com") return "PROXY GOAGENT_LISTEN";2708 if (/^https?:\/\/[^\/]+twitter\.com/i.test(url)) return "PROXY GOAGENT_LISTEN";2709 if (dnsDomainIs(host, ".twitter4j.org") || host == "twitter4j.org") return "PROXY GOAGENT_LISTEN";2710 if (dnsDomainIs(host, ".twittercounter.com") || host == "twittercounter.com") return "PROXY GOAGENT_LISTEN";2711 if (host.indexOf("twitterfeed.com") >= 0) return "PROXY GOAGENT_LISTEN";2712 if (dnsDomainIs(host, ".twittergadget.com") || host == "twittergadget.com") return "PROXY GOAGENT_LISTEN";2713 if (dnsDomainIs(host, ".twitterkr.com") || host == "twitterkr.com") return "PROXY GOAGENT_LISTEN";2714 if (dnsDomainIs(host, ".twittermail.com") || host == "twittermail.com") return "PROXY GOAGENT_LISTEN";2715 if (dnsDomainIs(host, ".twittertim.es") || host == "twittertim.es") return "PROXY GOAGENT_LISTEN";2716 if (host.indexOf("twitthat.com") >= 0) return "PROXY GOAGENT_LISTEN";2717 if (dnsDomainIs(host, ".twitturk.com") || host == "twitturk.com") return "PROXY GOAGENT_LISTEN";2718 if (dnsDomainIs(host, ".twitturly.com") || host == "twitturly.com") return "PROXY GOAGENT_LISTEN";2719 if (host.indexOf(".twitzap.com") >= 0) return "PROXY GOAGENT_LISTEN";2720 if (host.indexOf("twiyia.com") >= 0) return "PROXY GOAGENT_LISTEN";2721 if (dnsDomainIs(host, ".twstar.net") || host == "twstar.net") return "PROXY GOAGENT_LISTEN";2722 if (host.indexOf(".twtkr.com") >= 0) return "PROXY GOAGENT_LISTEN";2723 if (url.indexOf("http://twtkr.com") == 0) return "PROXY GOAGENT_LISTEN";2724 if (dnsDomainIs(host, ".twimg.com") || host == "twimg.com") return "PROXY GOAGENT_LISTEN";2725 if (host.indexOf("twtrland.com") >= 0) return "PROXY GOAGENT_LISTEN";2726 if (host.indexOf("twurl.nl") >= 0) return "PROXY GOAGENT_LISTEN";2727 if (dnsDomainIs(host, ".twyac.org") || host == "twyac.org") return "PROXY GOAGENT_LISTEN";2728 if (dnsDomainIs(host, ".tycool.com") || host == "tycool.com") return "PROXY GOAGENT_LISTEN";2729 if (dnsDomainIs(host, ".tzangms.com") || host == "tzangms.com") return "PROXY GOAGENT_LISTEN";2730 if (dnsDomainIs(host, ".typepad.com") || host == "typepad.com") return "PROXY GOAGENT_LISTEN";2731 if (dnsDomainIs(host, ".blog.expofutures.com") || host == "blog.expofutures.com") return "PROXY GOAGENT_LISTEN";2732 if (dnsDomainIs(host, ".legaltech.law.com") || host == "legaltech.law.com") return "PROXY GOAGENT_LISTEN";2733 if (dnsDomainIs(host, ".latimesblogs.latimes.com") || host == "latimesblogs.latimes.com") return "PROXY GOAGENT_LISTEN";2734 if (dnsDomainIs(host, ".blog.palm.com") || host == "blog.palm.com") return "PROXY GOAGENT_LISTEN";2735 if (dnsDomainIs(host, ".blogs.tampabay.com") || host == "blogs.tampabay.com") return "PROXY GOAGENT_LISTEN";2736 if (dnsDomainIs(host, ".contests.twilio.com") || host == "contests.twilio.com") return "PROXY GOAGENT_LISTEN";2737 if (dnsDomainIs(host, ".embr.in") || host == "embr.in") return "PROXY GOAGENT_LISTEN";2738 if (url.indexOf("guomin.us/login") >= 0) return "PROXY GOAGENT_LISTEN";2739 if (dnsDomainIs(host, ".uberproxy.net") || host == "uberproxy.net") return "PROXY GOAGENT_LISTEN";2740 if (url.indexOf(".srcf.ucam.org/salon/") >= 0) return "PROXY GOAGENT_LISTEN";2741 if (dnsDomainIs(host, ".ucdc1998.org") || host == "ucdc1998.org") return "PROXY GOAGENT_LISTEN";2742 if (url.indexOf("http://hum*.uchicago.edu/faculty/ywang/history/") == 0) return "PROXY GOAGENT_LISTEN";2743 if (dnsDomainIs(host, ".uderzo.it") || host == "uderzo.it") return "PROXY GOAGENT_LISTEN";2744 if (dnsDomainIs(host, ".udn.com") || host == "udn.com") return "PROXY GOAGENT_LISTEN";2745 if (host.indexOf(".udn.com") >= 0) return "PROXY GOAGENT_LISTEN";2746 if (host.indexOf("ufreevpn.com") >= 0) return "PROXY GOAGENT_LISTEN";2747 if (host.indexOf(".ugo.com") >= 0) return "PROXY GOAGENT_LISTEN";2748 if (dnsDomainIs(host, ".uhrp.org") || host == "uhrp.org") return "PROXY GOAGENT_LISTEN";2749 if (host.indexOf("uighurbiz.net") >= 0) return "PROXY GOAGENT_LISTEN";2750 if (host.indexOf(".ulike.net") >= 0) return "PROXY GOAGENT_LISTEN";2751 if (dnsDomainIs(host, ".ukliferadio.co.uk") || host == "ukliferadio.co.uk") return "PROXY GOAGENT_LISTEN";2752 if (dnsDomainIs(host, ".ultravpn.fr") || host == "ultravpn.fr") return "PROXY GOAGENT_LISTEN";2753 if (host.indexOf("ultraxs.com") >= 0) return "PROXY GOAGENT_LISTEN";2754 if (dnsDomainIs(host, ".unblock.cn.com") || host == "unblock.cn.com") return "PROXY GOAGENT_LISTEN";2755 if (dnsDomainIs(host, ".unblocksit.es") || host == "unblocksit.es") return "PROXY GOAGENT_LISTEN";2756 if (host.indexOf("uncyclomedia.org") >= 0) return "PROXY GOAGENT_LISTEN";2757 if (host.indexOf("uncyclopedia.info") >= 0) return "PROXY GOAGENT_LISTEN";2758 if (url.indexOf("http://uncyclopedia.tw") == 0) return "PROXY GOAGENT_LISTEN";2759 if (dnsDomainIs(host, ".unholyknight.com") || host == "unholyknight.com") return "PROXY GOAGENT_LISTEN";2760 if (host.indexOf(".uni.cc") >= 0) return "PROXY GOAGENT_LISTEN";2761 if (host.indexOf("unicode.org") >= 0) return "PROXY GOAGENT_LISTEN";2762 if (url.indexOf(".uniteddaily.com.my/index.php?") >= 0) return "PROXY GOAGENT_LISTEN";2763 if (host.indexOf(".unix100.com") >= 0) return "PROXY GOAGENT_LISTEN";2764 if (dnsDomainIs(host, ".unknownspace.org") || host == "unknownspace.org") return "PROXY GOAGENT_LISTEN";2765 if (host.indexOf("unpo.org") >= 0) return "PROXY GOAGENT_LISTEN";2766 if (dnsDomainIs(host, ".uocn.org") || host == "uocn.org") return "PROXY GOAGENT_LISTEN";2767 if (host.indexOf("tor.updatestar.com") >= 0) return "PROXY GOAGENT_LISTEN";2768 if (host.indexOf(".upholdjustice.org") >= 0) return "PROXY GOAGENT_LISTEN";2769 if (host.indexOf(".upload4u.info") >= 0) return "PROXY GOAGENT_LISTEN";2770 if (url.indexOf("http://uploaded.net/file/") == 0) return "PROXY GOAGENT_LISTEN";2771 if (url.indexOf(".uploaded.to/file") >= 0) return "PROXY GOAGENT_LISTEN";2772 if (url.indexOf("http://uploaded.to/file") == 0) return "PROXY GOAGENT_LISTEN";2773 if (url.indexOf(".uploadstation.com/file") >= 0) return "PROXY GOAGENT_LISTEN";2774 if (host.indexOf("www.urbanoutfitters.com") >= 0) return "PROXY GOAGENT_LISTEN";2775 if (url.indexOf("myshare.url.com.tw/") >= 0) return "PROXY GOAGENT_LISTEN";2776 if (dnsDomainIs(host, ".urlborg.com") || host == "urlborg.com") return "PROXY GOAGENT_LISTEN";2777 if (dnsDomainIs(host, ".urlparser.com") || host == "urlparser.com") return "PROXY GOAGENT_LISTEN";2778 if (host.indexOf("us.to") >= 0) return "PROXY GOAGENT_LISTEN";2779 if (dnsDomainIs(host, ".usacn.com") || host == "usacn.com") return "PROXY GOAGENT_LISTEN";2780 if (host.indexOf("beta.usejump.com") >= 0) return "PROXY GOAGENT_LISTEN";2781 if (dnsDomainIs(host, ".usfk.mil") || host == "usfk.mil") return "PROXY GOAGENT_LISTEN";2782 if (url.indexOf("earthquake.usgs.gov/eqcenter/recenteqsww/Maps/10/105_30.php") >= 0) return "PROXY GOAGENT_LISTEN";2783 if (dnsDomainIs(host, ".usmc.mil") || host == "usmc.mil") return "PROXY GOAGENT_LISTEN";2784 if (dnsDomainIs(host, ".ustream.tv") || host == "ustream.tv") return "PROXY GOAGENT_LISTEN";2785 if (dnsDomainIs(host, ".ustwrap.info") || host == "ustwrap.info") return "PROXY GOAGENT_LISTEN";2786 if (host.indexOf("usus.cc") >= 0) return "PROXY GOAGENT_LISTEN";2787 if (host.indexOf(".uushare.com") >= 0) return "PROXY GOAGENT_LISTEN";2788 if (url.indexOf("http://uushare.com") == 0) return "PROXY GOAGENT_LISTEN";2789 if (host.indexOf(".uwants.com") >= 0) return "PROXY GOAGENT_LISTEN";2790 if (host.indexOf(".uwants.net") >= 0) return "PROXY GOAGENT_LISTEN";2791 if (url.indexOf("http://uyghur-j.org/") == 0) return "PROXY GOAGENT_LISTEN";2792 if (host.indexOf(".uyghurcanadiansociety.org") >= 0) return "PROXY GOAGENT_LISTEN";2793 if (dnsDomainIs(host, ".uyghurcongress.org") || host == "uyghurcongress.org") return "PROXY GOAGENT_LISTEN";2794 if (dnsDomainIs(host, ".uyghuramerican.org") || host == "uyghuramerican.org") return "PROXY GOAGENT_LISTEN";2795 if (host.indexOf("uygur.org") >= 0) return "PROXY GOAGENT_LISTEN";2796 if (url.indexOf("http://uymaarip.com/") == 0) return "PROXY GOAGENT_LISTEN";2797 if (host.indexOf("v70.us") >= 0) return "PROXY GOAGENT_LISTEN";2798 if (url.indexOf("http://v7976888.info/") == 0) return "PROXY GOAGENT_LISTEN";2799 if (dnsDomainIs(host, ".vaayoo.com") || host == "vaayoo.com") return "PROXY GOAGENT_LISTEN";2800 if (dnsDomainIs(host, ".value-domain.com") || host == "value-domain.com") return "PROXY GOAGENT_LISTEN";2801 if (host.indexOf(".van698.com") >= 0) return "PROXY GOAGENT_LISTEN";2802 if (host.indexOf(".vanemu.cn") >= 0) return "PROXY GOAGENT_LISTEN";2803 if (host.indexOf(".vanilla-jp.com") >= 0) return "PROXY GOAGENT_LISTEN";2804 if (host.indexOf("vansky.com") >= 0) return "PROXY GOAGENT_LISTEN";2805 if (dnsDomainIs(host, ".vapurl.com") || host == "vapurl.com") return "PROXY GOAGENT_LISTEN";2806 if (dnsDomainIs(host, ".vcf-online.org") || host == "vcf-online.org") return "PROXY GOAGENT_LISTEN";2807 if (dnsDomainIs(host, ".vcfbuilder.org") || host == "vcfbuilder.org") return "PROXY GOAGENT_LISTEN";2808 if (host.indexOf(".velkaepocha.sk") >= 0) return "PROXY GOAGENT_LISTEN";2809 if (host.indexOf(".venbbs.com") >= 0) return "PROXY GOAGENT_LISTEN";2810 if (host.indexOf(".venchina.com") >= 0) return "PROXY GOAGENT_LISTEN";2811 if (host.indexOf("veoh.com") >= 0) return "PROXY GOAGENT_LISTEN";2812 if (host.indexOf(".verizon.net") >= 0) return "PROXY GOAGENT_LISTEN";2813 if (dnsDomainIs(host, ".verybs.com") || host == "verybs.com") return "PROXY GOAGENT_LISTEN";2814 if (host.indexOf(".vft.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";2815 if (dnsDomainIs(host, ".videobam.com") || host == "videobam.com") return "PROXY GOAGENT_LISTEN";2816 if (host.indexOf(".videomo.com") >= 0) return "PROXY GOAGENT_LISTEN";2817 if (dnsDomainIs(host, ".vidoemo.com") || host == "vidoemo.com") return "PROXY GOAGENT_LISTEN";2818 if (dnsDomainIs(host, ".viki.com") || host == "viki.com") return "PROXY GOAGENT_LISTEN";2819 if (host.indexOf("vimeo.com") >= 0) return "PROXY GOAGENT_LISTEN";2820 if (dnsDomainIs(host, ".vimgolf.com") || host == "vimgolf.com") return "PROXY GOAGENT_LISTEN";2821 if (dnsDomainIs(host, ".vimperator.org") || host == "vimperator.org") return "PROXY GOAGENT_LISTEN";2822 if (dnsDomainIs(host, ".vincnd.com") || host == "vincnd.com") return "PROXY GOAGENT_LISTEN";2823 if (dnsDomainIs(host, ".vinniev.com") || host == "vinniev.com") return "PROXY GOAGENT_LISTEN";2824 if (url.indexOf("http://ny.visiontimes.com/") == 0) return "PROXY GOAGENT_LISTEN";2825 if (host.indexOf(".vjmedia.com.hk") >= 0) return "PROXY GOAGENT_LISTEN";2826 if (host.indexOf(".vllcs.org") >= 0) return "PROXY GOAGENT_LISTEN";2827 if (dnsDomainIs(host, ".vmixcore.com") || host == "vmixcore.com") return "PROXY GOAGENT_LISTEN";2828 if (host.indexOf("cn.voa.mobi") >= 0) return "PROXY GOAGENT_LISTEN";2829 if (host.indexOf("tw.voa.mobi") >= 0) return "PROXY GOAGENT_LISTEN";2830 if (dnsDomainIs(host, ".voachineseblog.com") || host == "voachineseblog.com") return "PROXY GOAGENT_LISTEN";2831 if (host.indexOf("voagd.com") >= 0) return "PROXY GOAGENT_LISTEN";2832 if (dnsDomainIs(host, ".voacantonese.com") || host == "voacantonese.com") return "PROXY GOAGENT_LISTEN";2833 if (dnsDomainIs(host, ".voachinese.com") || host == "voachinese.com") return "PROXY GOAGENT_LISTEN";2834 if (dnsDomainIs(host, ".voatibetan.com") || host == "voatibetan.com") return "PROXY GOAGENT_LISTEN";2835 if (host.indexOf(".voanews.com") >= 0) return "PROXY GOAGENT_LISTEN";2836 if (host.indexOf("vocn.tv") >= 0) return "PROXY GOAGENT_LISTEN";2837 if (dnsDomainIs(host, ".vot.org") || host == "vot.org") return "PROXY GOAGENT_LISTEN";2838 if (host.indexOf("www.voy.com") >= 0) return "PROXY GOAGENT_LISTEN";2839 if (dnsDomainIs(host, ".www.vpncup.com") || host == "www.vpncup.com") return "PROXY GOAGENT_LISTEN";2840 if (host.indexOf("vpnbook.com") >= 0) return "PROXY GOAGENT_LISTEN";2841 if (host.indexOf("vpnfire.com") >= 0) return "PROXY GOAGENT_LISTEN";2842 if (dnsDomainIs(host, ".vpngate.jp") || host == "vpngate.jp") return "PROXY GOAGENT_LISTEN";2843 if (dnsDomainIs(host, ".vpngate.net") || host == "vpngate.net") return "PROXY GOAGENT_LISTEN";2844 if (dnsDomainIs(host, ".vpnpop.com") || host == "vpnpop.com") return "PROXY GOAGENT_LISTEN";2845 if (dnsDomainIs(host, ".vpnpronet.com") || host == "vpnpronet.com") return "PROXY GOAGENT_LISTEN";2846 if (dnsDomainIs(host, ".vtunnel.com") || host == "vtunnel.com") return "PROXY GOAGENT_LISTEN";2847 if (dnsDomainIs(host, ".w.org") || host == "w.org") return "PROXY GOAGENT_LISTEN";2848 if (url.indexOf("lists.w3.org/archives/public") >= 0) return "PROXY GOAGENT_LISTEN";2849 if (dnsDomainIs(host, ".waffle1999.com") || host == "waffle1999.com") return "PROXY GOAGENT_LISTEN";2850 if (host.indexOf(".wahas.com") >= 0) return "PROXY GOAGENT_LISTEN";2851 if (host.indexOf(".waigaobu.com") >= 0) return "PROXY GOAGENT_LISTEN";2852 if (url.indexOf("waikeung.org/php_wind") >= 0) return "PROXY GOAGENT_LISTEN";2853 if (host.indexOf(".waiwaier.com") >= 0) return "PROXY GOAGENT_LISTEN";2854 if (url.indexOf("http://waiwaier.com") == 0) return "PROXY GOAGENT_LISTEN";2855 if (host.indexOf("wallornot.org") >= 0) return "PROXY GOAGENT_LISTEN";2856 if (dnsDomainIs(host, ".wallpapercasa.com") || host == "wallpapercasa.com") return "PROXY GOAGENT_LISTEN";2857 if (dnsDomainIs(host, ".www.wan-press.org") || host == "www.wan-press.org") return "PROXY GOAGENT_LISTEN";2858 if (dnsDomainIs(host, ".wanderinghorse.net") || host == "wanderinghorse.net") return "PROXY GOAGENT_LISTEN";2859 if (dnsDomainIs(host, ".wangafu.net") || host == "wangafu.net") return "PROXY GOAGENT_LISTEN";2860 if (dnsDomainIs(host, ".wangjinbo.org") || host == "wangjinbo.org") return "PROXY GOAGENT_LISTEN";2861 if (host.indexOf(".wangjinbo.org") >= 0) return "PROXY GOAGENT_LISTEN";2862 if (host.indexOf("wanglixiong.com") >= 0) return "PROXY GOAGENT_LISTEN";2863 if (host.indexOf("wangruoshui.net") >= 0) return "PROXY GOAGENT_LISTEN";2864 if (host.indexOf("www.wangruowang.org") >= 0) return "PROXY GOAGENT_LISTEN";2865 if (host.indexOf("want-daily.com") >= 0) return "PROXY GOAGENT_LISTEN";2866 if (url.indexOf("wapedia.mobi/zhsimp") >= 0) return "PROXY GOAGENT_LISTEN";2867 if (dnsDomainIs(host, ".waselpro.com") || host == "waselpro.com") return "PROXY GOAGENT_LISTEN";2868 if (dnsDomainIs(host, ".wattpad.com") || host == "wattpad.com") return "PROXY GOAGENT_LISTEN";2869 if (host.indexOf(".makzhou.warehouse333.com") >= 0) return "PROXY GOAGENT_LISTEN";2870 if (host.indexOf("washeng.net") >= 0) return "PROXY GOAGENT_LISTEN";2871 if (dnsDomainIs(host, ".watchmygf.net") || host == "watchmygf.net") return "PROXY GOAGENT_LISTEN";2872 if (dnsDomainIs(host, ".wav.tv") || host == "wav.tv") return "PROXY GOAGENT_LISTEN";2873 if (host.indexOf(".wdf5.com") >= 0) return "PROXY GOAGENT_LISTEN";2874 if (dnsDomainIs(host, ".wearn.com") || host == "wearn.com") return "PROXY GOAGENT_LISTEN";2875 if (dnsDomainIs(host, ".hudatoriq.web.id") || host == "hudatoriq.web.id") return "PROXY GOAGENT_LISTEN";2876 if (dnsDomainIs(host, ".web2project.net") || host == "web2project.net") return "PROXY GOAGENT_LISTEN";2877 if (host.indexOf("webbang.net") >= 0) return "PROXY GOAGENT_LISTEN";2878 if (host.indexOf("weblagu.com") >= 0) return "PROXY GOAGENT_LISTEN";2879 if (dnsDomainIs(host, ".webmproject.org") || host == "webmproject.org") return "PROXY GOAGENT_LISTEN";2880 if (host.indexOf("webs-tv.net") >= 0) return "PROXY GOAGENT_LISTEN";2881 if (host.indexOf("webshots.com") >= 0) return "PROXY GOAGENT_LISTEN";2882 if (url.indexOf("websitepulse.com/help/testtools.china-test.html") >= 0) return "PROXY GOAGENT_LISTEN";2883 if (host.indexOf("webworkerdaily.com") >= 0) return "PROXY GOAGENT_LISTEN";2884 if (url.indexOf("weeewooo.net/hss/hotspot_cn") >= 0) return "PROXY GOAGENT_LISTEN";2885 if (host.indexOf(".weekmag.info") >= 0) return "PROXY GOAGENT_LISTEN";2886 if (host.indexOf(".wefong.com") >= 0) return "PROXY GOAGENT_LISTEN";2887 if (host.indexOf("weiboleak.com") >= 0) return "PROXY GOAGENT_LISTEN";2888 if (host.indexOf("weijingsheng.org") >= 0) return "PROXY GOAGENT_LISTEN";2889 if (host.indexOf(".weiming.info") >= 0) return "PROXY GOAGENT_LISTEN";2890 if (host.indexOf("weiquanwang.org") >= 0) return "PROXY GOAGENT_LISTEN";2891 if (url.indexOf("http://weisuo.ws") == 0) return "PROXY GOAGENT_LISTEN";2892 if (host.indexOf("wengewang.com") >= 0) return "PROXY GOAGENT_LISTEN";2893 if (dnsDomainIs(host, ".wengewang.org") || host == "wengewang.org") return "PROXY GOAGENT_LISTEN";2894 if (host.indexOf(".wenhui.ch") >= 0) return "PROXY GOAGENT_LISTEN";2895 if (dnsDomainIs(host, ".wenku.com") || host == "wenku.com") return "PROXY GOAGENT_LISTEN";2896 if (url.indexOf("http://blog.wenweipo.com/") == 0) return "PROXY GOAGENT_LISTEN";2897 if (host.indexOf("wenxuecity.com") >= 0) return "PROXY GOAGENT_LISTEN";2898 if (dnsDomainIs(host, ".wenyunchao.com") || host == "wenyunchao.com") return "PROXY GOAGENT_LISTEN";2899 if (dnsDomainIs(host, ".westca.com") || host == "westca.com") return "PROXY GOAGENT_LISTEN";2900 if (dnsDomainIs(host, ".westernwolves.com") || host == "westernwolves.com") return "PROXY GOAGENT_LISTEN";2901 if (host.indexOf("hkg.westkit.net") >= 0) return "PROXY GOAGENT_LISTEN";2902 if (host.indexOf("www.wet123.com") >= 0) return "PROXY GOAGENT_LISTEN";2903 if (dnsDomainIs(host, ".wepn.info") || host == "wepn.info") return "PROXY GOAGENT_LISTEN";2904 if (host.indexOf("wetpussygames.com") >= 0) return "PROXY GOAGENT_LISTEN";2905 if (host.indexOf(".wetplace.com") >= 0) return "PROXY GOAGENT_LISTEN";2906 if (dnsDomainIs(host, ".wexiaobo.org") || host == "wexiaobo.org") return "PROXY GOAGENT_LISTEN";2907 if (host.indexOf("wezhiyong.org") >= 0) return "PROXY GOAGENT_LISTEN";2908 if (dnsDomainIs(host, ".wezone.net") || host == "wezone.net") return "PROXY GOAGENT_LISTEN";2909 if (host.indexOf(".wforum.com") >= 0) return "PROXY GOAGENT_LISTEN";2910 if (dnsDomainIs(host, ".wforum.com/") || host == "wforum.com/") return "PROXY GOAGENT_LISTEN";2911 if (dnsDomainIs(host, ".whatblocked.com") || host == "whatblocked.com") return "PROXY GOAGENT_LISTEN";2912 if (host.indexOf(".whippedass.com") >= 0) return "PROXY GOAGENT_LISTEN";2913 if (url.indexOf("http://who.is/") == 0) return "PROXY GOAGENT_LISTEN";2914 if (host.indexOf("whylover.com") >= 0) return "PROXY GOAGENT_LISTEN";2915 if (dnsDomainIs(host, ".whyx.org") || host == "whyx.org") return "PROXY GOAGENT_LISTEN";2916 if (url.indexOf("http://evchk.wikia.com") == 0) return "PROXY GOAGENT_LISTEN";2917 if (host.indexOf("cn.uncyclopedia.wikia.com") >= 0) return "PROXY GOAGENT_LISTEN";2918 if (host.indexOf("zh.uncyclopedia.wikia.com") >= 0) return "PROXY GOAGENT_LISTEN";2919 if (dnsDomainIs(host, ".wikileaks.ch") || host == "wikileaks.ch") return "PROXY GOAGENT_LISTEN";2920 if (dnsDomainIs(host, ".wikileaks.de") || host == "wikileaks.de") return "PROXY GOAGENT_LISTEN";2921 if (dnsDomainIs(host, ".wikileaks.eu") || host == "wikileaks.eu") return "PROXY GOAGENT_LISTEN";2922 if (dnsDomainIs(host, ".wikileaks.lu") || host == "wikileaks.lu") return "PROXY GOAGENT_LISTEN";2923 if (dnsDomainIs(host, ".wikileaks.org") || host == "wikileaks.org") return "PROXY GOAGENT_LISTEN";2924 if (dnsDomainIs(host, ".wikileaks.pl") || host == "wikileaks.pl") return "PROXY GOAGENT_LISTEN";2925 if (dnsDomainIs(host, ".collateralmurder.com") || host == "collateralmurder.com") return "PROXY GOAGENT_LISTEN";2926 if (dnsDomainIs(host, ".collateralmurder.org") || host == "collateralmurder.org") return "PROXY GOAGENT_LISTEN";2927 if (url.indexOf("wikilivres.info/wiki/%E9%9B%B6%E5%85%AB%E5%AE%AA%E7%AB%A0") >= 0) return "PROXY GOAGENT_LISTEN";2928 if (dnsDomainIs(host, ".wikimapia.org") || host == "wikimapia.org") return "PROXY GOAGENT_LISTEN";2929 if (dnsDomainIs(host, ".secure.wikimedia.org") || host == "secure.wikimedia.org") return "PROXY GOAGENT_LISTEN";2930 if (dnsDomainIs(host, ".wikimedia.org.mo") || host == "wikimedia.org.mo") return "PROXY GOAGENT_LISTEN";2931 if (host.indexOf("zh.wikinews.org") >= 0) return "PROXY GOAGENT_LISTEN";2932 if (dnsDomainIs(host, ".wikiwiki.jp") || host == "wikiwiki.jp") return "PROXY GOAGENT_LISTEN";2933 if (dnsDomainIs(host, ".sports.williamhill.com") || host == "sports.williamhill.com") return "PROXY GOAGENT_LISTEN";2934 if (dnsDomainIs(host, ".willw.net") || host == "willw.net") return "PROXY GOAGENT_LISTEN";2935 if (dnsDomainIs(host, ".windowsphoneme.com") || host == "windowsphoneme.com") return "PROXY GOAGENT_LISTEN";2936 if (host.indexOf("winwhispers.info") >= 0) return "PROXY GOAGENT_LISTEN";2937 if (dnsDomainIs(host, ".wiredbytes.com") || host == "wiredbytes.com") return "PROXY GOAGENT_LISTEN";2938 if (dnsDomainIs(host, ".wiredpen.com") || host == "wiredpen.com") return "PROXY GOAGENT_LISTEN";2939 if (dnsDomainIs(host, ".wireshark.org") || host == "wireshark.org") return "PROXY GOAGENT_LISTEN";2940 if (dnsDomainIs(host, ".wisevid.com") || host == "wisevid.com") return "PROXY GOAGENT_LISTEN";2941 if (host.indexOf(".witnessleeteaching.com") >= 0) return "PROXY GOAGENT_LISTEN";2942 if (host.indexOf(".witopia.net") >= 0) return "PROXY GOAGENT_LISTEN";2943 if (host.indexOf(".wnacg.com") >= 0) return "PROXY GOAGENT_LISTEN";2944 if (host.indexOf(".wo.tc") >= 0) return "PROXY GOAGENT_LISTEN";2945 if (dnsDomainIs(host, ".woeser.com") || host == "woeser.com") return "PROXY GOAGENT_LISTEN";2946 if (url.indexOf("http://woesermiddle-way.net/") == 0) return "PROXY GOAGENT_LISTEN";2947 if (dnsDomainIs(host, ".wolfax.com") || host == "wolfax.com") return "PROXY GOAGENT_LISTEN";2948 if (dnsDomainIs(host, ".womensrightsofchina.org") || host == "womensrightsofchina.org") return "PROXY GOAGENT_LISTEN";2949 if (dnsDomainIs(host, ".woopie.jp") || host == "woopie.jp") return "PROXY GOAGENT_LISTEN";2950 if (dnsDomainIs(host, ".woopie.tv") || host == "woopie.tv") return "PROXY GOAGENT_LISTEN";2951 if (dnsDomainIs(host, ".workatruna.com") || host == "workatruna.com") return "PROXY GOAGENT_LISTEN";2952 if (host.indexOf(".worldcat.org") >= 0) return "PROXY GOAGENT_LISTEN";2953 if (host.indexOf("worldjournal.com") >= 0) return "PROXY GOAGENT_LISTEN";2954 if (host.indexOf(".wordpress.com") >= 0) return "PROXY GOAGENT_LISTEN";2955 if (url.indexOf("http://*.wordpress.com") == 0) return "PROXY GOAGENT_LISTEN";2956 if (dnsDomainIs(host, ".wp.com") || host == "wp.com") return "PROXY GOAGENT_LISTEN";2957 if (host.indexOf("woxinghuiguo.com") >= 0) return "PROXY GOAGENT_LISTEN";2958 if (host.indexOf("wow-life.net") >= 0) return "PROXY GOAGENT_LISTEN";2959 if (dnsDomainIs(host, ".wowlegacy.ml") || host == "wowlegacy.ml") return "PROXY GOAGENT_LISTEN";2960 if (dnsDomainIs(host, ".wpoforum.com") || host == "wpoforum.com") return "PROXY GOAGENT_LISTEN";2961 if (host.indexOf(".wqlhw.com") >= 0) return "PROXY GOAGENT_LISTEN";2962 if (dnsDomainIs(host, ".wqyd.org") || host == "wqyd.org") return "PROXY GOAGENT_LISTEN";2963 if (host.indexOf("wrchina.org") >= 0) return "PROXY GOAGENT_LISTEN";2964 if (host.indexOf("wretch.cc") >= 0) return "PROXY GOAGENT_LISTEN";2965 if (host.indexOf(".wsj.com") >= 0) return "PROXY GOAGENT_LISTEN";2966 if (host.indexOf(".wsj.net") >= 0) return "PROXY GOAGENT_LISTEN";2967 if (host.indexOf(".wtfpeople.com") >= 0) return "PROXY GOAGENT_LISTEN";2968 if (host.indexOf(".wuala.com") >= 0) return "PROXY GOAGENT_LISTEN";2969 if (host.indexOf("wuerkaixi.com") >= 0) return "PROXY GOAGENT_LISTEN";2970 if (host.indexOf("wufi.org.tw") >= 0) return "PROXY GOAGENT_LISTEN";2971 if (dnsDomainIs(host, ".wuguoguang.com") || host == "wuguoguang.com") return "PROXY GOAGENT_LISTEN";2972 if (host.indexOf("wujie.net") >= 0) return "PROXY GOAGENT_LISTEN";2973 if (dnsDomainIs(host, ".wujieliulan.com") || host == "wujieliulan.com") return "PROXY GOAGENT_LISTEN";2974 if (host.indexOf("wukangrui.net") >= 0) return "PROXY GOAGENT_LISTEN";2975 if (host.indexOf("wwitv.com") >= 0) return "PROXY GOAGENT_LISTEN";2976 if (url.indexOf("wzyboy.im/post/160") >= 0) return "PROXY GOAGENT_LISTEN";2977 if (host.indexOf(".x-berry.com") >= 0) return "PROXY GOAGENT_LISTEN";2978 if (dnsDomainIs(host, ".x-art.com") || host == "x-art.com") return "PROXY GOAGENT_LISTEN";2979 if (dnsDomainIs(host, ".x-wall.org") || host == "x-wall.org") return "PROXY GOAGENT_LISTEN";2980 if (host.indexOf("x1949x.com") >= 0) return "PROXY GOAGENT_LISTEN";2981 if (host.indexOf("x365x.com") >= 0) return "PROXY GOAGENT_LISTEN";2982 if (host.indexOf("xanga.com") >= 0) return "PROXY GOAGENT_LISTEN";2983 if (dnsDomainIs(host, ".xbabe.com") || host == "xbabe.com") return "PROXY GOAGENT_LISTEN";2984 if (dnsDomainIs(host, ".xbookcn.com") || host == "xbookcn.com") return "PROXY GOAGENT_LISTEN";2985 if (dnsDomainIs(host, ".xcafe.in") || host == "xcafe.in") return "PROXY GOAGENT_LISTEN";2986 if (host.indexOf("x.xcity.jp") >= 0) return "PROXY GOAGENT_LISTEN";2987 if (host.indexOf(".xcritic.com") >= 0) return "PROXY GOAGENT_LISTEN";2988 if (url.indexOf("http://cdn*.xda-developers.com") == 0) return "PROXY GOAGENT_LISTEN";2989 if (url.indexOf("destiny.xfiles.to/ubbthreads") >= 0) return "PROXY GOAGENT_LISTEN";2990 if (host.indexOf(".xfm.pp.ru") >= 0) return "PROXY GOAGENT_LISTEN";2991 if (host.indexOf("xgmyd.com") >= 0) return "PROXY GOAGENT_LISTEN";2992 if (url.indexOf("xh4n.cn/blog") >= 0) return "PROXY GOAGENT_LISTEN";2993 if (host.indexOf("xhamster.com") >= 0) return "PROXY GOAGENT_LISTEN";2994 if (host.indexOf("one.xthost.info") >= 0) return "PROXY GOAGENT_LISTEN";2995 if (host.indexOf(".xiaochuncnjp.com") >= 0) return "PROXY GOAGENT_LISTEN";2996 if (host.indexOf("s.xiaod.in") >= 0) return "PROXY GOAGENT_LISTEN";2997 if (host.indexOf(".xiaohexie.com") >= 0) return "PROXY GOAGENT_LISTEN";2998 if (dnsDomainIs(host, ".xiaoma.org") || host == "xiaoma.org") return "PROXY GOAGENT_LISTEN";2999 if (dnsDomainIs(host, ".xiaohexie.com") || host == "xiaohexie.com") return "PROXY GOAGENT_LISTEN";3000 if (host.indexOf("xiezhua.com") >= 0) return "PROXY GOAGENT_LISTEN";3001 if (dnsDomainIs(host, ".xing.com") || host == "xing.com") return "PROXY GOAGENT_LISTEN";3002 if (dnsDomainIs(host, ".xinmiao.com.hk") || host == "xinmiao.com.hk") return "PROXY GOAGENT_LISTEN";3003 if (host.indexOf("xinsheng.net") >= 0) return "PROXY GOAGENT_LISTEN";3004 if (host.indexOf("xinshijue.com") >= 0) return "PROXY GOAGENT_LISTEN";3005 if (host.indexOf("xinhuanet.org") >= 0) return "PROXY GOAGENT_LISTEN";3006 if (url.indexOf("http://xinyubbs.net") == 0) return "PROXY GOAGENT_LISTEN";3007 if (host.indexOf("xizang-zhiye.org") >= 0) return "PROXY GOAGENT_LISTEN";3008 if (dnsDomainIs(host, ".xjp.cc") || host == "xjp.cc") return "PROXY GOAGENT_LISTEN";3009 if (dnsDomainIs(host, ".xlfmwz.info") || host == "xlfmwz.info") return "PROXY GOAGENT_LISTEN";3010 if (dnsDomainIs(host, ".xml-training-guide.com") || host == "xml-training-guide.com") return "PROXY GOAGENT_LISTEN";3011 if (host.indexOf("xmovies.com") >= 0) return "PROXY GOAGENT_LISTEN";3012 if (dnsDomainIs(host, ".xnxx.com") || host == "xnxx.com") return "PROXY GOAGENT_LISTEN";3013 if (host.indexOf("xpdo.net") >= 0) return "PROXY GOAGENT_LISTEN";3014 if (dnsDomainIs(host, ".xpud.org") || host == "xpud.org") return "PROXY GOAGENT_LISTEN";3015 if (dnsDomainIs(host, ".k2.xrea.com") || host == "k2.xrea.com") return "PROXY GOAGENT_LISTEN";3016 if (dnsDomainIs(host, ".xtube.com") || host == "xtube.com") return "PROXY GOAGENT_LISTEN";3017 if (host.indexOf("blog.xuite.net") >= 0) return "PROXY GOAGENT_LISTEN";3018 if (host.indexOf("vlog.xuite.net") >= 0) return "PROXY GOAGENT_LISTEN";3019 if (host.indexOf("xuzhiyong.net") >= 0) return "PROXY GOAGENT_LISTEN";3020 if (dnsDomainIs(host, ".xuchao.org") || host == "xuchao.org") return "PROXY GOAGENT_LISTEN";3021 if (dnsDomainIs(host, ".xuchao.net") || host == "xuchao.net") return "PROXY GOAGENT_LISTEN";3022 if (host.indexOf("xvedios.com") >= 0) return "PROXY GOAGENT_LISTEN";3023 if (host.indexOf(".xvideos.com") >= 0) return "PROXY GOAGENT_LISTEN";3024 if (host.indexOf(".xxbbx.com") >= 0) return "PROXY GOAGENT_LISTEN";3025 if (dnsDomainIs(host, ".xxxx.com.au") || host == "xxxx.com.au") return "PROXY GOAGENT_LISTEN";3026 if (host.indexOf("xys.org") >= 0) return "PROXY GOAGENT_LISTEN";3027 if (host.indexOf("xysblogs.org") >= 0) return "PROXY GOAGENT_LISTEN";3028 if (host.indexOf("xyy69.com") >= 0) return "PROXY GOAGENT_LISTEN";3029 if (host.indexOf("xyy69.info") >= 0) return "PROXY GOAGENT_LISTEN";3030 if (host.indexOf("page.bid.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3031 if (host.indexOf("blogs.yahoo.co.jp") >= 0) return "PROXY GOAGENT_LISTEN";3032 if (url.indexOf("buy.yahoo.com.tw/gdsale") >= 0) return "PROXY GOAGENT_LISTEN";3033 if (host.indexOf("hk.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3034 if (host.indexOf("hk.knowledge.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3035 if (host.indexOf("hk.myblog.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3036 if (dnsDomainIs(host, ".hk.news.yahoo.com") || host == "hk.news.yahoo.com") return "PROXY GOAGENT_LISTEN";3037 if (host.indexOf("hk.rd.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3038 if (url.indexOf("hk.search.yahoo.com/search") >= 0) return "PROXY GOAGENT_LISTEN";3039 if (url.indexOf("hk.video.news.yahoo.com/video") >= 0) return "PROXY GOAGENT_LISTEN";3040 if (host.indexOf("meme.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3041 if (host.indexOf("tw.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3042 if (host.indexOf("tw.myblog.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3043 if (dnsDomainIs(host, ".tw.news.yahoo.com") || host == "tw.news.yahoo.com") return "PROXY GOAGENT_LISTEN";3044 if (host.indexOf("pulse.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3045 if (host.indexOf("upcoming.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3046 if (host.indexOf("video.yahoo.com") >= 0) return "PROXY GOAGENT_LISTEN";3047 if (dnsDomainIs(host, ".yahoo.com.hk") || host == "yahoo.com.hk") return "PROXY GOAGENT_LISTEN";3048 if (dnsDomainIs(host, ".yam.com") || host == "yam.com") return "PROXY GOAGENT_LISTEN";3049 if (host.indexOf("yasni.co.uk") >= 0) return "PROXY GOAGENT_LISTEN";3050 if (dnsDomainIs(host, ".yasukuni.or.jp") || host == "yasukuni.or.jp") return "PROXY GOAGENT_LISTEN";3051 if (host.indexOf(".ydy.com") >= 0) return "PROXY GOAGENT_LISTEN";3052 if (dnsDomainIs(host, ".yeelou.com") || host == "yeelou.com") return "PROXY GOAGENT_LISTEN";3053 if (host.indexOf("yeeyi.com") >= 0) return "PROXY GOAGENT_LISTEN";3054 if (dnsDomainIs(host, ".yegle.net") || host == "yegle.net") return "PROXY GOAGENT_LISTEN";3055 if (host.indexOf("yfrog.com") >= 0) return "PROXY GOAGENT_LISTEN";3056 if (dnsDomainIs(host, ".yhcw.net") || host == "yhcw.net") return "PROXY GOAGENT_LISTEN";3057 if (host.indexOf(".yi.org") >= 0) return "PROXY GOAGENT_LISTEN";3058 if (host.indexOf(".yibada.com") >= 0) return "PROXY GOAGENT_LISTEN";3059 if (dnsDomainIs(host, ".yidio.com") || host == "yidio.com") return "PROXY GOAGENT_LISTEN";3060 if (host.indexOf("yilubbs.com") >= 0) return "PROXY GOAGENT_LISTEN";3061 if (host.indexOf("xa.yimg.com") >= 0) return "PROXY GOAGENT_LISTEN";3062 if (dnsDomainIs(host, ".yipub.com") || host == "yipub.com") return "PROXY GOAGENT_LISTEN";3063 if (dnsDomainIs(host, ".yogichen.org") || host == "yogichen.org") return "PROXY GOAGENT_LISTEN";3064 if (host.indexOf("yong.hu") >= 0) return "PROXY GOAGENT_LISTEN";3065 if (host.indexOf(".yorkbbs.ca") >= 0) return "PROXY GOAGENT_LISTEN";3066 if (dnsDomainIs(host, ".youxu.info") || host == "youxu.info") return "PROXY GOAGENT_LISTEN";3067 if (dnsDomainIs(host, ".yyii.org") || host == "yyii.org") return "PROXY GOAGENT_LISTEN";3068 if (dnsDomainIs(host, ".yzzk.com") || host == "yzzk.com") return "PROXY GOAGENT_LISTEN";3069 if (dnsDomainIs(host, ".youjizz.com") || host == "youjizz.com") return "PROXY GOAGENT_LISTEN";3070 if (host.indexOf("youmaker.com") >= 0) return "PROXY GOAGENT_LISTEN";3071 if (dnsDomainIs(host, ".youpai.org") || host == "youpai.org") return "PROXY GOAGENT_LISTEN";3072 if (host.indexOf(".your-freedom.net") >= 0) return "PROXY GOAGENT_LISTEN";3073 if (dnsDomainIs(host, ".yourepeat.com") || host == "yourepeat.com") return "PROXY GOAGENT_LISTEN";3074 if (dnsDomainIs(host, ".yousendit.com") || host == "yousendit.com") return "PROXY GOAGENT_LISTEN";3075 if (host.indexOf("youthbao.com") >= 0) return "PROXY GOAGENT_LISTEN";3076 if (url.indexOf(".youthnetradio.org/tmit/forum") >= 0) return "PROXY GOAGENT_LISTEN";3077 if (host.indexOf("blog.youthwant.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";3078 if (host.indexOf("share.youthwant.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";3079 if (host.indexOf("topic.youthwant.com.tw") >= 0) return "PROXY GOAGENT_LISTEN";3080 if (dnsDomainIs(host, ".youporn.com") || host == "youporn.com") return "PROXY GOAGENT_LISTEN";3081 if (dnsDomainIs(host, ".youtu.be") || host == "youtu.be") return "PROXY GOAGENT_LISTEN";3082 if (dnsDomainIs(host, ".youtube.com") || host == "youtube.com") return "PROXY GOAGENT_LISTEN";3083 if (dnsDomainIs(host, ".youtube-nocookie.com") || host == "youtube-nocookie.com") return "PROXY GOAGENT_LISTEN";3084 if (host.indexOf(".youtubecn.com") >= 0) return "PROXY GOAGENT_LISTEN";3085 if (dnsDomainIs(host, ".youversion.com") || host == "youversion.com") return "PROXY GOAGENT_LISTEN";3086 if (url.indexOf("blog.youxu.info/2010/03/14/west-chamber") >= 0) return "PROXY GOAGENT_LISTEN";3087 if (dnsDomainIs(host, ".ytimg.com") || host == "ytimg.com") return "PROXY GOAGENT_LISTEN";3088 if (host.indexOf("ytht.net") >= 0) return "PROXY GOAGENT_LISTEN";3089 if (host.indexOf("yuanming.net") >= 0) return "PROXY GOAGENT_LISTEN";3090 if (dnsDomainIs(host, ".yunchao.net") || host == "yunchao.net") return "PROXY GOAGENT_LISTEN";3091 if (dnsDomainIs(host, ".yvesgeleyn.com") || host == "yvesgeleyn.com") return "PROXY GOAGENT_LISTEN";3092 if (host.indexOf("yx51.net") >= 0) return "PROXY GOAGENT_LISTEN";3093 if (dnsDomainIs(host, ".yymaya.com") || host == "yymaya.com") return "PROXY GOAGENT_LISTEN";3094 if (host.indexOf("zacebook.com") >= 0) return "PROXY GOAGENT_LISTEN";3095 if (dnsDomainIs(host, ".zannel.com") || host == "zannel.com") return "PROXY GOAGENT_LISTEN";3096 if (dnsDomainIs(host, ".tap11.com") || host == "tap11.com") return "PROXY GOAGENT_LISTEN";3097 if (host.indexOf(".zaobao.com") >= 0) return "PROXY GOAGENT_LISTEN";3098 if (dnsDomainIs(host, ".zaobao.com.sg") || host == "zaobao.com.sg") return "PROXY GOAGENT_LISTEN";3099 if (host.indexOf(".zaozon.com") >= 0) return "PROXY GOAGENT_LISTEN";3100 if (dnsDomainIs(host, ".zarias.com") || host == "zarias.com") return "PROXY GOAGENT_LISTEN";3101 if (host.indexOf("www.zaurus.org.uk") >= 0) return "PROXY GOAGENT_LISTEN";3102 if (url.indexOf(".zdnet.com.tw/news/software/0,2000085678,20111187,00") >= 0) return "PROXY GOAGENT_LISTEN";3103 if (host.indexOf(".zengjinyan.org") >= 0) return "PROXY GOAGENT_LISTEN";3104 if (dnsDomainIs(host, ".zeutch.com") || host == "zeutch.com") return "PROXY GOAGENT_LISTEN";3105 if (url.indexOf("www.zfreet.com/post/usejump-browns.html") >= 0) return "PROXY GOAGENT_LISTEN";3106 if (host.indexOf("zgzcjj.net") >= 0) return "PROXY GOAGENT_LISTEN";3107 if (dnsDomainIs(host, ".zhanbin.net") || host == "zhanbin.net") return "PROXY GOAGENT_LISTEN";3108 if (host.indexOf("zhenghui.org") >= 0) return "PROXY GOAGENT_LISTEN";3109 if (dnsDomainIs(host, ".zhenlibu.info") || host == "zhenlibu.info") return "PROXY GOAGENT_LISTEN";3110 if (host.indexOf(".zhinengluyou.com") >= 0) return "PROXY GOAGENT_LISTEN";3111 if (dnsDomainIs(host, ".zhongguotese.net") || host == "zhongguotese.net") return "PROXY GOAGENT_LISTEN";3112 if (dnsDomainIs(host, ".zhongmeng.org") || host == "zhongmeng.org") return "PROXY GOAGENT_LISTEN";3113 if (dnsDomainIs(host, ".zhreader.com") || host == "zhreader.com") return "PROXY GOAGENT_LISTEN";3114 if (dnsDomainIs(host, ".zhuichaguoji.org") || host == "zhuichaguoji.org") return "PROXY GOAGENT_LISTEN";3115 if (url.indexOf(".ziddu.com/download") >= 0) return "PROXY GOAGENT_LISTEN";3116 if (dnsDomainIs(host, ".zillionk.com") || host == "zillionk.com") return "PROXY GOAGENT_LISTEN";3117 if (dnsDomainIs(host, ".zinio.com") || host == "zinio.com") return "PROXY GOAGENT_LISTEN";3118 if (dnsDomainIs(host, ".ziplib.com") || host == "ziplib.com") return "PROXY GOAGENT_LISTEN";3119 if (dnsDomainIs(host, ".zkaip.com") || host == "zkaip.com") return "PROXY GOAGENT_LISTEN";3120 if (dnsDomainIs(host, ".zlib.net/") || host == "zlib.net/") return "PROXY GOAGENT_LISTEN";3121 if (host.indexOf("zmw.cn") >= 0) return "PROXY GOAGENT_LISTEN";3122 if (host.indexOf("zomobo.net") >= 0) return "PROXY GOAGENT_LISTEN";3123 if (dnsDomainIs(host, ".zonaeuropa.com") || host == "zonaeuropa.com") return "PROXY GOAGENT_LISTEN";3124 if (dnsDomainIs(host, ".zootool.com") || host == "zootool.com") return "PROXY GOAGENT_LISTEN";3125 if (host.indexOf(".zoozle.net") >= 0) return "PROXY GOAGENT_LISTEN";3126 if (host.indexOf("writer.zoho.com") >= 0) return "PROXY GOAGENT_LISTEN";3127 if (url.indexOf(".zshare.net/download") >= 0) return "PROXY GOAGENT_LISTEN";3128 if (host.indexOf(".zsrhao.com") >= 0) return "PROXY GOAGENT_LISTEN";3129 if (dnsDomainIs(host, ".zuo.la") || host == "zuo.la") return "PROXY GOAGENT_LISTEN";3130 if (dnsDomainIs(host, ".zuobiao.me") || host == "zuobiao.me") return "PROXY GOAGENT_LISTEN";3131 if (dnsDomainIs(host, ".zuola.com") || host == "zuola.com") return "PROXY GOAGENT_LISTEN";3132 if (dnsDomainIs(host, ".zvereff.com") || host == "zvereff.com") return "PROXY GOAGENT_LISTEN";3133 if (host.indexOf("zyzc9.com") >= 0) return "PROXY GOAGENT_LISTEN";3134 if (host.indexOf("freenet") >= 0) return "PROXY GOAGENT_LISTEN";3135 if (host.indexOf("q=freedom") >= 0) return "PROXY GOAGENT_LISTEN";3136 if (host.indexOf("q%3Dfreedom") >= 0) return "PROXY GOAGENT_LISTEN";3137 if (host.indexOf("remembering_tiananmen_20_years") >= 0) return "PROXY GOAGENT_LISTEN";3138 if (shExpMatch(url, "*search*safeweb*")) return "PROXY GOAGENT_LISTEN";3139 if (host.indexOf("q=triangle") >= 0) return "PROXY GOAGENT_LISTEN";3140 if (host.indexOf("q%3DTriangle") >= 0) return "PROXY GOAGENT_LISTEN";3141 if (host.indexOf("ultrareach") >= 0) return "PROXY GOAGENT_LISTEN";3142 if (host.indexOf("ultrasurf") >= 0) return "PROXY GOAGENT_LISTEN";3143 if (host.indexOf("zhengjian") >= 0) return "PROXY GOAGENT_LISTEN";3144 if (host.indexOf("%E7%BD%A2%E8%AF%BE") >= 0) return "PROXY GOAGENT_LISTEN";3145 if (shExpMatch(url, "*search*%E5%8D%9A%E8%AE%AF*")) return "PROXY GOAGENT_LISTEN";3146 if (shExpMatch(url, "*search*%E5%A4%A7%E7%BA%AA%E5%85%83*")) return "PROXY GOAGENT_LISTEN";3147 if (shExpMatch(url, "*search*%E9%92%93%E9%B1%BC%E5%B2%9B*")) return "PROXY GOAGENT_LISTEN";3148 if (host.indexOf("%E5%8A%A8%E6%80%81%E7%BD%91") >= 0) return "PROXY GOAGENT_LISTEN";3149 if (shExpMatch(url, "*search*%E5%A4%9A%E7%B6%AD*")) return "PROXY GOAGENT_LISTEN";3150 if (shExpMatch(url, "*search*%E5%A4%9A%E7%BB%B4*")) return "PROXY GOAGENT_LISTEN";3151 if (shExpMatch(url, "*search*freegate*")) return "PROXY GOAGENT_LISTEN";3152 if (shExpMatch(url, "*search*%E6%B3%95%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3153 if (host.indexOf("%E6%B3%95%E8%BD%AE%E5%A4%A7%E6%B3%95") >= 0) return "PROXY GOAGENT_LISTEN";3154 if (host.indexOf("%E6%B3%95%E8%BC%AA%E5%8A%9F") >= 0) return "PROXY GOAGENT_LISTEN";3155 if (host.indexOf("%E6%B3%95%E8%BD%AE%E5%8A%9F") >= 0) return "PROXY GOAGENT_LISTEN";3156 if (host.indexOf("%E8%83%A1%E6%B5%B7%E5%B3%B0") >= 0) return "PROXY GOAGENT_LISTEN";3157 if (host.indexOf("%E8%83%A1%E6%B5%B7%E6%B8%85") >= 0) return "PROXY GOAGENT_LISTEN";3158 if (shExpMatch(url, "*search*%E8%8A%B1%E8%8A%B1%E5%85%AC%E5%AD%90*")) return "PROXY GOAGENT_LISTEN";3159 if (shExpMatch(url, "*search*%BC%CD%D4%AA*")) return "PROXY GOAGENT_LISTEN";3160 if (shExpMatch(url, "*search*%BC%D3%C3%DC%B4%FA%C0%ED*")) return "PROXY GOAGENT_LISTEN";3161 if (shExpMatch(url, "*search*%E5%8A%A0%E5%AF%86%E4%BB%A3%E7%90%86*")) return "PROXY GOAGENT_LISTEN";3162 if (shExpMatch(url, "*search*%E6%B1%9F%E6%B5%81%E6%B0%93*")) return "PROXY GOAGENT_LISTEN";3163 if (shExpMatch(url, "*search*%E7%9C%8B%E4%B8%AD%E5%9B%BD*")) return "PROXY GOAGENT_LISTEN";3164 if (shExpMatch(url, "*search*%E5%85%AD%E5%9B%9B*")) return "PROXY GOAGENT_LISTEN";3165 if (host.indexOf("%E5%88%98%E6%99%93%E6%B3%A2") >= 0) return "PROXY GOAGENT_LISTEN";3166 if (host.indexOf("%E7%BE%8E%E5%9B%BD%E4%B9%8B%E9%9F%B3") >= 0) return "PROXY GOAGENT_LISTEN";3167 if (host.indexOf("%E6%B0%91%E8%BF%9B%E5%85%9A") >= 0) return "PROXY GOAGENT_LISTEN";3168 if (host.indexOf("%E6%B0%91%E8%BF%90") >= 0) return "PROXY GOAGENT_LISTEN";3169 if (shExpMatch(url, "*search*%E8%89%B2%E6%83%85*")) return "PROXY GOAGENT_LISTEN";3170 if (host.indexOf("%E7%8E%8B%E4%B8%B9") >= 0) return "PROXY GOAGENT_LISTEN";3171 if (shExpMatch(url, "*search*%E7%BD%91%E7%89%B9*")) return "PROXY GOAGENT_LISTEN";3172 if (shExpMatch(url, "*search*%E7%8E%8B%E5%B8%8C%E5%93%B2*")) return "PROXY GOAGENT_LISTEN";3173 if (shExpMatch(url, "*search*%E9%AD%8F%E4%BA%AC%E7%94%9F*")) return "PROXY GOAGENT_LISTEN";3174 if (shExpMatch(url, "*search*%E6%96%87%E5%AD%97%E7%8B%B1*")) return "PROXY GOAGENT_LISTEN";3175 if (shExpMatch(url, "*search*%E6%88%91%E7%9A%84%E5%A5%8B%E6%96%97*")) return "PROXY GOAGENT_LISTEN";3176 if (shExpMatch(url, "*search*%E6%97%A0%E7%95%8C*")) return "PROXY GOAGENT_LISTEN";3177 if (shExpMatch(url, "*search*%E9%82%AA%E6%81%B6*")) return "PROXY GOAGENT_LISTEN";3178 if (shExpMatch(url, "*search*%E6%B4%97%E8%84%91*")) return "PROXY GOAGENT_LISTEN";3179 if (shExpMatch(url, "*search*%E6%96%B0%E5%94%90%E4%BA%BA*")) return "PROXY GOAGENT_LISTEN";3180 if (shExpMatch(url, "*search*%E6%96%B0%E8%AF%AD%E4%B8%9D*")) return "PROXY GOAGENT_LISTEN";3181 if (shExpMatch(url, "*search*%E5%AD%A6%E8%BF%90*")) return "PROXY GOAGENT_LISTEN";3182 if (shExpMatch(url, "*search*%E4%B8%AD%E5%8A%9F*")) return "PROXY GOAGENT_LISTEN";3183 if (shExpMatch(url, "*search*%E4%B8%AD%E5%9B%BD%E8%AE%BA%E5%9D%9B*")) return "PROXY GOAGENT_LISTEN";3184 if (shExpMatch(url, "*search*%E4%B8%AD%E5%AE%A3%E9%83%A8*")) return "PROXY GOAGENT_LISTEN";3185 if (url.indexOf("https://upload.wikimedia.org") == 0) return "PROXY GOAGENT_LISTEN";3186 if (url.indexOf("https://*.wikipedia.org") == 0) return "PROXY GOAGENT_LISTEN";3187 if (url.indexOf(".wikipedia.org/wiki/Dalai_Lama") >= 0) return "PROXY GOAGENT_LISTEN";3188 if (url.indexOf(".wikipedia.org/wiki/Dalai-Lama") >= 0) return "PROXY GOAGENT_LISTEN";3189 if (shExpMatch(url, "*ar.wikipedia.org*%D8%AF%D8%A7%D9%84%D8%A7%D9%8A_%D9%84%D8%A7%D9%85%D8%A7*")) return "PROXY GOAGENT_LISTEN";3190 if (url.indexOf("zh-yue.wikipedia.org/wiki/%E5%8A%89%E6%9B%89%E6%B3%A2") >= 0) return "PROXY GOAGENT_LISTEN";3191 if (url.indexOf("en.wikipedia.org/wiki/Anti-communism") >= 0) return "PROXY GOAGENT_LISTEN";3192 if (url.indexOf("en.wikipedia.org/wiki/Book_burning") >= 0) return "PROXY GOAGENT_LISTEN";3193 if (url.indexOf("en.wikipedia.org/wiki/Censorship_in_the_People%27s_Republic_of_China") >= 0) return "PROXY GOAGENT_LISTEN";3194 if (url.indexOf("en.wikipedia.org/wiki/Charter_08") >= 0) return "PROXY GOAGENT_LISTEN";3195 if (url.indexOf("en.wikipedia.org/wiki/Chen_Guangcheng") >= 0) return "PROXY GOAGENT_LISTEN";3196 if (url.indexOf("en.wikipedia.org/wiki/Deep_packet_inspection") >= 0) return "PROXY GOAGENT_LISTEN";3197 if (url.indexOf("en.wikipedia.org/wiki/Freegate") >= 0) return "PROXY GOAGENT_LISTEN";3198 if (url.indexOf("en.wikipedia.org/wiki/Golden_Shield_Project") >= 0) return "PROXY GOAGENT_LISTEN";3199 if (url.indexOf("en.wikipedia.org/wiki/Great_Firewall_of_China") >= 0) return "PROXY GOAGENT_LISTEN";3200 if (url.indexOf("en.wikipedia.org/wiki/Hong_Kong") >= 0) return "PROXY GOAGENT_LISTEN";3201 if (url.indexOf("en.wikipedia.org/wiki/Huang_Qi") >= 0) return "PROXY GOAGENT_LISTEN";3202 if (url.indexOf("en.wikipedia.org/wiki/Internet_censorship") >= 0) return "PROXY GOAGENT_LISTEN";3203 if (url.indexOf("en.wikipedia.org/wiki/Java_Anon_Proxy") >= 0) return "PROXY GOAGENT_LISTEN";3204 if (url.indexOf("en.wikipedia.org/wiki/Liu_Xiaobo") >= 0) return "PROXY GOAGENT_LISTEN";3205 if (url.indexOf("en.wikipedia.org/wiki/Shi_Tao") >= 0) return "PROXY GOAGENT_LISTEN";3206 if (url.indexOf("en.wikipedia.org/wiki/Students_for_a_Free_Tibet") >= 0) return "PROXY GOAGENT_LISTEN";3207 if (url.indexOf("en.wikipedia.org/wiki/Tank_man") >= 0) return "PROXY GOAGENT_LISTEN";3208 if (url.indexOf("en.wikipedia.org/wiki/Tiananmen_Papers") >= 0) return "PROXY GOAGENT_LISTEN";3209 if (url.indexOf("en.wikipedia.org/wiki/Tiananmen_Square_protests_of_1989") >= 0) return "PROXY GOAGENT_LISTEN";3210 if (url.indexOf("en.wikipedia.org/wiki/Tibetan_independence_movement") >= 0) return "PROXY GOAGENT_LISTEN";3211 if (url.indexOf("zh.wikipedia.org/wiki/Wikipedia:%E9%A0%81%E9%9D%A2%E5%AD%98%E5%BB%A2%E8%A8%8E%E8%AB%96") >= 0) return "PROXY GOAGENT_LISTEN";3212 if (host.indexOf("zh.m.wikipedia.org") >= 0) return "PROXY GOAGENT_LISTEN";3213 if (host.indexOf("zh.wikisource.org") >= 0) return "PROXY GOAGENT_LISTEN";3214 if (shExpMatch(url, "*zh.wikipedia.org*2012%E5%B9%B4%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E8%85%90%E8%B4%A5%E6%A1%88%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3215 if (shExpMatch(url, "*zh.wikipedia.org*2014%E5%B9%B4%E6%98%86%E6%98%8E%E7%81%AB%E8%BD%A6%E7%AB%99%E6%9A%B4%E5%8A%9B%E6%81%90%E6%80%96%E8%A2%AD%E5%87%BB%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3216 if (shExpMatch(url, "*zh.wikipedia.org*512%E5%A4%A7%E5%9C%B0%E9%9C%87*")) return "PROXY GOAGENT_LISTEN";3217 if (shExpMatch(url, "*zh.wikipedia.org*08%E5%AE%AA%E7%AB%A0*")) return "PROXY GOAGENT_LISTEN";3218 if (shExpMatch(url, "*zh.wikipedia.org*1959%E5%B9%B4*")) return "PROXY GOAGENT_LISTEN";3219 if (shExpMatch(url, "*zh.wikipedia.org*1989%E5%B9%B4*")) return "PROXY GOAGENT_LISTEN";3220 if (shExpMatch(url, "*zh.wikipedia.org*610%E8%BE%A6%E5%85%AC%E5%AE%A4*")) return "PROXY GOAGENT_LISTEN";3221 if (shExpMatch(url, "*zh.wikipedia.org*Anti-CNN*")) return "PROXY GOAGENT_LISTEN";3222 if (shExpMatch(url, "*zh.wikipedia.org*%E9%98%BF%E5%BA%95%E5%B3%BD*")) return "PROXY GOAGENT_LISTEN";3223 if (shExpMatch(url, "*zh.wikipedia.org*%E9%98%BF%E6%B2%9B%C2%B7%E9%98%BF%E6%97%BA%E6%99%8B%E7%BE%8E*")) return "PROXY GOAGENT_LISTEN";3224 if (shExpMatch(url, "*zh.wikipedia.org*%E8%89%BE%E6%9C%AA%E6%9C%AA*")) return "PROXY GOAGENT_LISTEN";3225 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%AB%E4%B9%9D%E5%AD%A6%E8%BF%90*")) return "PROXY GOAGENT_LISTEN";3226 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%AB%E6%80%9D%E5%B7%B4*")) return "PROXY GOAGENT_LISTEN";3227 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8F%AD%E7%A6%85*")) return "PROXY GOAGENT_LISTEN";3228 if (shExpMatch(url, "*zh.wikipedia.org*%E9%B2%8D%E5%BD%A4*")) return "PROXY GOAGENT_LISTEN";3229 if (shExpMatch(url, "*zh.wikipedia.org*%E9%AE%91%E5%BD%A4*")) return "PROXY GOAGENT_LISTEN";3230 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8C%97%E4%BA%AC%E9%AB%98%E6%A0%A1%E5%AD%A6%E7%94%9F%E8%87%AA%E6%B2%BB%E8%81%94%E5%90%88%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3231 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8C%97%E4%BA%AC%E4%B9%8B%E6%98%A5*")) return "PROXY GOAGENT_LISTEN";3232 if (shExpMatch(url, "*zh.wikipedia.org*%E8%96%84%E7%86%99%E6%9D%A5*")) return "PROXY GOAGENT_LISTEN";3233 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8D%9A%E8%AE%AF*")) return "PROXY GOAGENT_LISTEN";3234 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B8%83%E6%8B%89%E6%A0%BC%E4%B9%8B%E6%98%A5*")) return "PROXY GOAGENT_LISTEN";3235 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9F%B4%E7%8E%B2*")) return "PROXY GOAGENT_LISTEN";3236 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BB%93%E5%A4%AE%E5%98%89%E6%8E%AA*")) return "PROXY GOAGENT_LISTEN";3237 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9B%B9%E9%95%B7%E9%9D%92*")) return "PROXY GOAGENT_LISTEN";3238 if (shExpMatch(url, "*zh.wikipedia.org*%E9%99%88%E5%85%89%E8%AF%9A*")) return "PROXY GOAGENT_LISTEN";3239 if (shExpMatch(url, "*zh.wikipedia.org*%E6%A5%9A%E5%B8%83%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3240 if (shExpMatch(url, "*zh.wikipedia.org*%e5%a4%a7%e5%8f%82%e8%80%83_(%e7%bd%91%e7%bb%9c%e6%9d%82%e5%bf%97)*")) return "PROXY GOAGENT_LISTEN";3241 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E7%B4%80%E5%85%83*")) return "PROXY GOAGENT_LISTEN";3242 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E7%BA%AA%E5%85%83%E6%97%B6%E6%8A%A5*")) return "PROXY GOAGENT_LISTEN";3243 if (shExpMatch(url, "*zh.wikipedia.org*%E8%BE%BE%E8%B5%96%E5%96%87%E5%98%9B*")) return "PROXY GOAGENT_LISTEN";3244 if (shExpMatch(url, "*zh.wikipedia.org*%E8%BE%BE%E5%85%B0%E8%90%A8%E6%8B%89*")) return "PROXY GOAGENT_LISTEN";3245 if (shExpMatch(url, "*zh.wikipedia.org*%E9%81%94%E8%98%AD%E8%96%A9%E6%8B%89*")) return "PROXY GOAGENT_LISTEN";3246 if (shExpMatch(url, "*zh.wikipedia.org*%E8%BE%BE%E5%B0%94%E7%BD%95%E6%B4%BB%E4%BD%9B*")) return "PROXY GOAGENT_LISTEN";3247 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E8%B5%A6%E5%9B%BD%E9%99%85*")) return "PROXY GOAGENT_LISTEN";3248 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E8%B5%A6%E5%9C%8B%E9%9A%9B*")) return "PROXY GOAGENT_LISTEN";3249 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E5%B1%A0%E6%9D%80%E5%88%97%E8%A1%A8*")) return "PROXY GOAGENT_LISTEN";3250 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E8%97%8F%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3251 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A7%E6%98%AD%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3252 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%B9%E5%A2%9E%E5%98%89%E6%8E%AA*")) return "PROXY GOAGENT_LISTEN";3253 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%81%E5%AD%90%E9%9C%96*")) return "PROXY GOAGENT_LISTEN";3254 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%9C%E9%A3%8E-21%E4%B8%AD%E7%A8%8B%E5%BC%B9%E9%81%93%E5%AF%BC%E5%BC%B9 *")) return "PROXY GOAGENT_LISTEN";3255 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%B1%E9%A2%A8-31%E6%B4%B2%E9%9A%9B%E5%BD%88%E9%81%93%E5%B0%8E%E5%BD%88*")) return "PROXY GOAGENT_LISTEN";3256 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%B1%E7%AA%81%E5%8E%A5*")) return "PROXY GOAGENT_LISTEN";3257 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%9C%E7%AA%81%E5%8E%A5%E6%96%AF%E5%9D%A6*")) return "PROXY GOAGENT_LISTEN";3258 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%9A%E7%BB%B4*")) return "PROXY GOAGENT_LISTEN";3259 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%9A%E7%B6%AD*")) return "PROXY GOAGENT_LISTEN";3260 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BF%84%E7%BE%85%E6%96%AF*")) return "PROXY GOAGENT_LISTEN";3261 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B3%95%E6%8B%89%E5%88%A9%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3262 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8F%8D%E5%8D%8E%E5%8A%BF%E5%8A%9B*")) return "PROXY GOAGENT_LISTEN";3263 if (shExpMatch(url, "*zh.wikipedia.org*%E9%98%B2%E7%81%AB%E9%95%BF%E5%9F%8E*")) return "PROXY GOAGENT_LISTEN";3264 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B9%E5%8A%B1%E4%B9%8B*")) return "PROXY GOAGENT_LISTEN";3265 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B9%E5%8B%B5%E4%B9%8B*")) return "PROXY GOAGENT_LISTEN";3266 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B9%E8%88%9F%E5%AD%90*")) return "PROXY GOAGENT_LISTEN";3267 if (shExpMatch(url, "*zh.wikipedia.org*%E6%84%A4%E9%9D%92*")) return "PROXY GOAGENT_LISTEN";3268 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B0%81%E4%BB%8E%E5%BE%B7*")) return "PROXY GOAGENT_LISTEN";3269 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B0%81%E5%BE%9E%E5%BE%B7*")) return "PROXY GOAGENT_LISTEN";3270 if (shExpMatch(url, "*zh.wikipedia.org*%E5%86%AF%E6%AD%A3%E8%99%8E*")) return "PROXY GOAGENT_LISTEN";3271 if (shExpMatch(url, "*zh.wikipedia.org*%E5%82%85%E9%93%81%E5%B1%B1*")) return "PROXY GOAGENT_LISTEN";3272 if (shExpMatch(url, "*zh.wikipedia.org*%E5%99%B6%E5%80%AB%E8%B5%A4%E5%B7%B4*")) return "PROXY GOAGENT_LISTEN";3273 if (shExpMatch(url, "*zh.wikipedia.org*%E9%AB%98%E6%99%BA%E6%99%9F*")) return "PROXY GOAGENT_LISTEN";3274 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9B%B4%E7%99%BB%E7%A2%BA%E5%90%89%E5%B0%BC%E7%91%AA*")) return "PROXY GOAGENT_LISTEN";3275 if (shExpMatch(url, "*zh.wikipedia.org*%E5%99%B6%E4%B8%BE%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3276 if (shExpMatch(url, "*zh.wikipedia.org*%E6%94%B9%E9%9D%A9%E5%8E%86%E7%A8%8B*")) return "PROXY GOAGENT_LISTEN";3277 if (shExpMatch(url, "*zh.wikipedia.org*%E7%94%98%E4%B8%B9%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3278 if (shExpMatch(url, "*zh.wikipedia.org*%E9%AB%98%E8%A1%8C%E5%81%A5*")) return "PROXY GOAGENT_LISTEN";3279 if (shExpMatch(url, "*zh.wikipedia.org*%E5%99%B6%E5%BD%93%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3280 if (shExpMatch(url, "*zh.wikipedia.org*%E6%A0%BC%E9%B2%81%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3281 if (shExpMatch(url, "*zh.wikipedia.org*GFW*")) return "PROXY GOAGENT_LISTEN";3282 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%B1%E5%8C%AA*")) return "PROXY GOAGENT_LISTEN";3283 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%AC%E5%85%B1%E7%9F%A5%E8%AF%86%E5%88%86%E5%AD%90*")) return "PROXY GOAGENT_LISTEN";3284 if (shExpMatch(url, "*zh.wikipedia.org*Google%E5%AE%A1%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3285 if (url.indexOf("zh.wikipedia.org/zh-cn/%E8%B0%B7%E6%AD%8C%E9%80%80%E5%87%BA%E4%B8%AD%E5%9B%BD%E4%BA%8B%E4%BB%B6") >= 0) return "PROXY GOAGENT_LISTEN";3286 if (url.indexOf("zh.wikipedia.org/wiki/%E8%B0%B7%E6%AD%8C%E9%80%80%E5%87%BA%E4%B8%AD%E5%9B%BD%E4%BA%8B%E4%BB%B6") >= 0) return "PROXY GOAGENT_LISTEN";3287 if (url.indexOf("zh.wikipedia.org/wiki/%E5%B9%BF%E5%B7%9E%E5%B8%82%E6%96%B0%E5%A1%98%E4%BA%8B%E4%BB%B6") >= 0) return "PROXY GOAGENT_LISTEN";3288 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9B%BD%E4%BF%9D*")) return "PROXY GOAGENT_LISTEN";3289 if (shExpMatch(url, "*zh.wikipedia.org*%E9%83%AD%E4%BC%AF%E9%9B%84*")) return "PROXY GOAGENT_LISTEN";3290 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9B%BD%E9%99%85%E7%89%B9%E8%B5%A6%E7%BB%84%E7%BB%87*")) return "PROXY GOAGENT_LISTEN";3291 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9B%BD%E5%86%85%E5%AE%89%E5%85%A8%E4%BF%9D%E5%8D%AB%E6%94%AF%E9%98%9F*")) return "PROXY GOAGENT_LISTEN";3292 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9C%8B%E5%8B%99%E9%99%A2%E9%98%B2%E7%AF%84%E5%92%8C%E8%99%95%E7%90%86%E9%82%AA%E6%95%99%E5%95%8F%E9%A1%8C%E8%BE%A6%E5%85%AC%E5%AE%A4*")) return "PROXY GOAGENT_LISTEN";3293 if (shExpMatch(url, "*zh.wikipedia.org*%E9%9F%A9%E4%B8%9C%E6%96%B9*")) return "PROXY GOAGENT_LISTEN";3294 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B4%BA%E5%9B%BD%E5%BC%BA*")) return "PROXY GOAGENT_LISTEN";3295 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BD%95%E4%BF%8A%E4%BB%81*")) return "PROXY GOAGENT_LISTEN";3296 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B2%B3%E6%AE%87*")) return "PROXY GOAGENT_LISTEN";3297 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B4%AA%E5%93%B2%E5%8B%9D*")) return "PROXY GOAGENT_LISTEN";3298 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BE%AF%E5%BE%B7%E5%BB%BA*")) return "PROXY GOAGENT_LISTEN";3299 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BE%AF%E8%B5%9B%E5%9B%A0%E6%B1%9F*")) return "PROXY GOAGENT_LISTEN";3300 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BE%AF%E5%BE%B7%E5%81%A5*")) return "PROXY GOAGENT_LISTEN";3301 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E4%BD%B3_%281973%E5%B9%B4%29*")) return "PROXY GOAGENT_LISTEN";3302 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E4%BD%B3_%28%E7%A4%BE%E6%B4%BB%E5%8B%95%E5%AE%B6%29*")) return "PROXY GOAGENT_LISTEN";3303 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E4%BD%B3_%28%E7%A4%BE%E6%9C%83%E6%B4%BB%E5%8B%95%E5%AE%B6%29*")) return "PROXY GOAGENT_LISTEN";3304 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E9%94%A6%E6%B6%9B*")) return "PROXY GOAGENT_LISTEN";3305 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E5%B9%B3_%28%E4%BD%9C%E5%AE%B6%29*")) return "PROXY GOAGENT_LISTEN";3306 if (shExpMatch(url, "*zh.wikipedia.org*%E5%91%BC%E5%9C%96%E5%85%8B%E5%9C%96*")) return "PROXY GOAGENT_LISTEN";3307 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E6%B8%A9%E4%BD%93%E5%88%B6*")) return "PROXY GOAGENT_LISTEN";3308 if (shExpMatch(url, "*zh.wikipedia.org*%E8%83%A1%E8%80%80%E9%82%A6*")) return "PROXY GOAGENT_LISTEN";3309 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8D%8E%E5%9B%BD%E9%94%8B*")) return "PROXY GOAGENT_LISTEN";3310 if (shExpMatch(url, "*zh.wikipedia.org*%E8%8F%AF%E5%9C%8B%E9%8B%92*")) return "PROXY GOAGENT_LISTEN";3311 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8D%8E%E5%A4%8F%E6%96%87%E6%91%98*")) return "PROXY GOAGENT_LISTEN";3312 if (shExpMatch(url, "*zh.wikipedia.org*%E8%8A%B1%E5%9B%AD%E8%BD%AF%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3313 if (shExpMatch(url, "*zh.wikipedia.org*%E8%8A%B1%E5%9B%AD%E7%BD%91*")) return "PROXY GOAGENT_LISTEN";3314 if (shExpMatch(url, "*zh.wikipedia.org*%E9%BB%84%E7%90%A6*")) return "PROXY GOAGENT_LISTEN";3315 if (shExpMatch(url, "*zh.wikipedia.org*%E9%BB%83%E7%90%A6*")) return "PROXY GOAGENT_LISTEN";3316 if (shExpMatch(url, "*zh.wikipedia.org*%E9%BB%83%E9%9B%80%E8%A1%8C%E5%8B%95*")) return "PROXY GOAGENT_LISTEN";3317 if (shExpMatch(url, "*zh.wikipedia.org*%E9%BB%84%E4%B8%87%E9%87%8C*")) return "PROXY GOAGENT_LISTEN";3318 if (shExpMatch(url, "*zh.wikipedia.org*%E9%BB%83%E6%9B%89%E6%95%8F*")) return "PROXY GOAGENT_LISTEN";3319 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9B%9E%E8%89%AF%E7%8E%89*")) return "PROXY GOAGENT_LISTEN";3320 if (shExpMatch(url, "*zh.wikipedia.org*%E9%9C%8D%E8%8B%B1%E6%9D%B1*")) return "PROXY GOAGENT_LISTEN";3321 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AF%82%E8%AD%B7*")) return "PROXY GOAGENT_LISTEN";3322 if (shExpMatch(url, "*zh.wikipedia.org*%E6%BF%80%E6%B5%81%E4%B8%AD%E5%9B%BD*")) return "PROXY GOAGENT_LISTEN";3323 if (shExpMatch(url, "*zh.wikipedia.org*%E5%98%89%E9%9D%96*")) return "PROXY GOAGENT_LISTEN";3324 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AE%B6%E4%B9%90%E7%A6%8F*")) return "PROXY GOAGENT_LISTEN";3325 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B3%88%E6%85%B6%E6%9E%97*")) return "PROXY GOAGENT_LISTEN";3326 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B4%BE%E5%BA%86%E6%9E%97*")) return "PROXY GOAGENT_LISTEN";3327 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BB%BA%E5%9B%BD%E9%97%A8%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3328 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A7%9C%E7%BB%B4%E5%B9%B3*")) return "PROXY GOAGENT_LISTEN";3329 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B1%9F%E6%B3%BD%E6%B0%91*")) return "PROXY GOAGENT_LISTEN";3330 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B1%9F%E6%BE%A4%E6%B0%91*")) return "PROXY GOAGENT_LISTEN";3331 if (shExpMatch(url, "*zh.wikipedia.org*%E9%87%91%E7%9B%BE%E5%B7%A5%E7%A8%8B*")) return "PROXY GOAGENT_LISTEN";3332 if (shExpMatch(url, "*zh.wikipedia.org*%BD%F0%B6%DC%B9%A4%B3%CC*")) return "PROXY GOAGENT_LISTEN";3333 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B9%9D%E8%AF%84%E5%85%B1%E4%BA%A7%E5%85%9A*")) return "PROXY GOAGENT_LISTEN";3334 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B9%9D%E8%A9%95%E5%85%B1%E7%94%A2%E9%BB%A8*")) return "PROXY GOAGENT_LISTEN";3335 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B7%A8%E6%B5%AA2%E5%9E%8B%E6%BD%9C%E5%B0%84%E5%BC%B9%E9%81%93%E5%AF%BC%E5%BC%B9*")) return "PROXY GOAGENT_LISTEN";3336 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A6%BA%E5%9B%8A%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3337 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BB%9D%E9%A3%9F*")) return "PROXY GOAGENT_LISTEN";3338 if (shExpMatch(url, "*zh.wikipedia.org*%E6%8B%89%E5%8D%9C%E6%A5%9E%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3339 if (shExpMatch(url, "*zh.wikipedia.org*%E6%8B%89%E8%90%A8*")) return "PROXY GOAGENT_LISTEN";3340 if (shExpMatch(url, "*zh.wikipedia.org*%E9%BB%8E%E5%AE%89%E5%8F%8B*")) return "PROXY GOAGENT_LISTEN";3341 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E9%95%BF%E6%98%A5*")) return "PROXY GOAGENT_LISTEN";3342 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E9%95%B7%E6%98%A5*")) return "PROXY GOAGENT_LISTEN";3343 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E6%B4%AA%E5%BF%97*")) return "PROXY GOAGENT_LISTEN";3344 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E5%85%8B%E5%BC%BA*")) return "PROXY GOAGENT_LISTEN";3345 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E9%B5%AC*")) return "PROXY GOAGENT_LISTEN";3346 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E9%B9%8F*")) return "PROXY GOAGENT_LISTEN";3347 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E7%91%9E%E7%8E%AF*")) return "PROXY GOAGENT_LISTEN";3348 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E7%91%9E%E7%92%B0*")) return "PROXY GOAGENT_LISTEN";3349 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E6%85%8E%E4%B9%8B*")) return "PROXY GOAGENT_LISTEN";3350 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8E%86%E5%8F%B2%E7%9A%84%E4%BC%A4%E5%8F%A3*")) return "PROXY GOAGENT_LISTEN";3351 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E5%B0%8F%E7%90%B3*")) return "PROXY GOAGENT_LISTEN";3352 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E8%8B%B1%E6%B5%A9*")) return "PROXY GOAGENT_LISTEN";3353 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E6%BA%90%E6%BD%AE*")) return "PROXY GOAGENT_LISTEN";3354 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%8E%E5%8D%93%E4%BA%BA*")) return "PROXY GOAGENT_LISTEN";3355 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BB%96%E4%BA%A6%E6%AD%A6*")) return "PROXY GOAGENT_LISTEN";3356 if (shExpMatch(url, "*zh.wikipedia.org*%E8%93%AE%E8%8A%B1%E7%94%9F*")) return "PROXY GOAGENT_LISTEN";3357 if (shExpMatch(url, "*zh.wikipedia.org*%E6%A2%81%E5%9B%BD%E9%9B%84*")) return "PROXY GOAGENT_LISTEN";3358 if (shExpMatch(url, "*zh.wikipedia.org*%E6%A2%81%E5%9C%8B%E9%9B%84*")) return "PROXY GOAGENT_LISTEN";3359 if (shExpMatch(url, "*zh.wikipedia.org*%E9%9B%B6%E5%85%AB%E5%AE%AA%E7%AB%A0*")) return "PROXY GOAGENT_LISTEN";3360 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BB%A4%E8%B0%B7*")) return "PROXY GOAGENT_LISTEN";3361 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BB%A4%E8%AE%A1%E5%88%92*")) return "PROXY GOAGENT_LISTEN";3362 if (shExpMatch(url, "*zh.wikipedia.org*%E5%88%98%E5%AE%BE%E9%9B%81*")) return "PROXY GOAGENT_LISTEN";3363 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8A%89%E5%89%9B_(%E6%B0%91%E9%81%8B%E4%BA%BA%E5%A3%AB)*")) return "PROXY GOAGENT_LISTEN";3364 if (shExpMatch(url, "*zh.wikipedia.org*%E5%88%98%E6%85%A7%E5%8D%BF*")) return "PROXY GOAGENT_LISTEN";3365 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8A%89%E6%85%A7%E5%8D%BF*")) return "PROXY GOAGENT_LISTEN";3366 if (shExpMatch(url, "*zh.wikipedia.org*%E5%88%98%E6%B7%87*")) return "PROXY GOAGENT_LISTEN";3367 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%AD%E5%9B%9B*")) return "PROXY GOAGENT_LISTEN";3368 if (shExpMatch(url, "*zh-yue.wikipedia.org*%E5%85%AD%E5%9B%9B%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3369 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8A%89%E6%9B%89%E6%B3%A2*")) return "PROXY GOAGENT_LISTEN";3370 if (shExpMatch(url, "*zh.wikipedia.org*%E5%88%98%E5%BB%B6%E4%B8%9C*")) return "PROXY GOAGENT_LISTEN";3371 if (shExpMatch(url, "*zh.wikipedia.org*%E5%88%98%E4%BA%91%E5%B1%B1*")) return "PROXY GOAGENT_LISTEN";3372 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BE%85%E5%B9%B9*")) return "PROXY GOAGENT_LISTEN";3373 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BE%85%E5%B9%B2*")) return "PROXY GOAGENT_LISTEN";3374 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B4%9B%E6%A1%91%E6%A3%AE%E6%A0%BC*")) return "PROXY GOAGENT_LISTEN";3375 if (shExpMatch(url, "*zh.wikipedia.org*%E7%B6%A0%E5%A3%A9%C2%B7%E8%8A%B1%E5%AD%A3%E8%AD%B7%E8%88%AA*")) return "PROXY GOAGENT_LISTEN";3376 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BB%BF%E5%9D%9D%C2%B7%E8%8A%B1%E5%AD%A3%E6%8A%A4%E8%88%AA*")) return "PROXY GOAGENT_LISTEN";3377 if (url.indexOf("zh.wikipedia.org/wiki/%e7%bb%bf%e5%9d%9d%e5%a8%98") >= 0) return "PROXY GOAGENT_LISTEN";3378 if (shExpMatch(url, "*zh.wikipedia.org*%E9%A6%AC%E4%B8%89%E5%AE%B6%E5%A5%B3%E5%AD%90%E5%8B%9E%E6%95%99%E6%89%80*")) return "PROXY GOAGENT_LISTEN";3379 if (shExpMatch(url, "*zh.wikipedia.org*%E9%A6%AC%E8%8B%B1%E4%B9%9D*")) return "PROXY GOAGENT_LISTEN";3380 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BE%8E%E5%9B%BD%E5%9B%BD%E5%AE%B6%E6%B0%91%E4%B8%BB%E5%9F%BA%E9%87%91%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3381 if (shExpMatch(url, "*zh.wikipedia.org*%E6%95%8F%E6%84%9F%E4%BA%BA%E5%A3%AB*")) return "PROXY GOAGENT_LISTEN";3382 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B0%91%E9%96%93%E4%BA%BA%E6%AC%8A%E9%99%A3%E7%B7%9A*")) return "PROXY GOAGENT_LISTEN";3383 if (shExpMatch(url, "*zh.wikipedia.org*%E6%95%8F%E7%8F%A0%E6%9E%97%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3384 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B0%91%E4%B8%BB%E5%A5%B3%E7%A5%9E*")) return "PROXY GOAGENT_LISTEN";3385 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B0%91%E4%B8%BB%E9%BB%A8_(%E9%A6%99%E6%B8%AF)*")) return "PROXY GOAGENT_LISTEN";3386 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B0%91%E4%B8%BB%E6%AD%8C%E8%81%B2%E7%8D%BB%E4%B8%AD%E8%8F%AF*")) return "PROXY GOAGENT_LISTEN";3387 if (shExpMatch(url, "*zh.wikipedia.org*%E8%8C%89%E8%8E%89%E8%8A%B1%E9%9D%A9%E5%91%BD*")) return "PROXY GOAGENT_LISTEN";3388 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8D%97%E6%96%B9%E9%83%BD%E5%B8%82%E6%8A%A5*")) return "PROXY GOAGENT_LISTEN";3389 if (url.indexOf("zh.wikipedia.org/wiki/%E5%86%85%E8%92%99%E5%8F%A4%E6%8A%97%E8%AE%AE") >= 0) return "PROXY GOAGENT_LISTEN";3390 if (url.indexOf("zh.wikipedia.org/zh-hk/%E5%86%85%E8%92%99%E5%8F%A4%E6%8A%97%E8%AE%AE") >= 0) return "PROXY GOAGENT_LISTEN";3391 if (url.indexOf("zh.wikipedia.org/zh-tw/%E5%86%85%E8%92%99%E5%8F%A4%E6%8A%97%E8%AE%AE") >= 0) return "PROXY GOAGENT_LISTEN";3392 if (shExpMatch(url, "*zh.wikipedia.org*%E5%86%85%E8%92%99%E5%8F%A4%E4%BA%BA%E6%B0%91%E5%85%9A*")) return "PROXY GOAGENT_LISTEN";3393 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%A7%E8%92%99%E5%8F%A4%E4%BA%BA%E6%B0%91%E9%BB%A8*")) return "PROXY GOAGENT_LISTEN";3394 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AE%81%E7%8E%9B%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3395 if (shExpMatch(url, "*zh.wikipedia.org*%E7%89%9B%E5%8D%9A%E7%BD%91*")) return "PROXY GOAGENT_LISTEN";3396 if (shExpMatch(url, "*zh.wikipedia.org*%E8%AF%BA%E8%B4%9D%E5%B0%94%E5%92%8C%E5%B9%B3%E5%A5%96*")) return "PROXY GOAGENT_LISTEN";3397 if (shExpMatch(url, "*zh.wikipedia.org*%E6%8C%AA%E5%A8%81*")) return "PROXY GOAGENT_LISTEN";3398 if (shExpMatch(url, "*zh.wikipedia.org*%E7%9B%98%E5%8F%A4%E4%B9%90%E9%98%9F*")) return "PROXY GOAGENT_LISTEN";3399 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BD%AD%E4%B8%BD%E5%AA%9B*")) return "PROXY GOAGENT_LISTEN";3400 if (shExpMatch(url, "*zh.wikipedia.org*%E7%A0%B4%E7%BD%91*")) return "PROXY GOAGENT_LISTEN";3401 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B5%A6%E5%BF%97%E5%BC%BA*")) return "PROXY GOAGENT_LISTEN";3402 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%83%E4%B8%80%E9%81%8A%E8%A1%8C*")) return "PROXY GOAGENT_LISTEN";3403 if (shExpMatch(url, "*zh.wikipedia.org*%E7%A7%A6%E5%9F%8E%E7%9B%91%E7%8B%B1*")) return "PROXY GOAGENT_LISTEN";3404 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B8%85%E6%9C%9D*")) return "PROXY GOAGENT_LISTEN";3405 if (shExpMatch(url, "*zh.wikipedia.org*%E5%85%A8%E7%90%83%E8%97%8F%E4%BA%BA%E7%89%B9%E5%88%AB%E5%A4%A7%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3406 if (shExpMatch(url, "*zh.wikipedia.org*%C8%BC%C9%D5%C6%BF*")) return "PROXY GOAGENT_LISTEN";3407 if (shExpMatch(url, "*zh.wikipedia.org*%E7%87%83%E7%83%A7%E7%93%B6*")) return "PROXY GOAGENT_LISTEN";3408 if (shExpMatch(url, "*zh.wikipedia.org*%E7%83%AD%E6%AF%94%E5%A8%85*")) return "PROXY GOAGENT_LISTEN";3409 if (shExpMatch(url, "*zh.wikipedia.org*%E7%86%B1%E6%AF%94%E5%A9%AD*")) return "PROXY GOAGENT_LISTEN";3410 if (shExpMatch(url, "*zh.wikipedia.org*%E7%91%9E%E5%85%B8*")) return "PROXY GOAGENT_LISTEN";3411 if (shExpMatch(url, "*zh.wikipedia.org*%E8%90%A8%E8%BF%A6%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3412 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%89%E5%B9%B4%E8%87%AA%E7%84%B6%E7%81%BE%E5%AE%B3*")) return "PROXY GOAGENT_LISTEN";3413 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%89%E9%80%80*")) return "PROXY GOAGENT_LISTEN";3414 if (shExpMatch(url, "*zh.wikipedia.org*%E8%89%B2%E6%8B%89%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3415 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9C%A3%E9%9B%84%E7%94%98%E5%9C%B0*")) return "PROXY GOAGENT_LISTEN";3416 if (shExpMatch(url, "*zh.wikipedia.org*%E7%9B%9B%E9%9B%AA*")) return "PROXY GOAGENT_LISTEN";3417 if (url.indexOf("zh.wikipedia.org/zh-cn/%E4%B8%96%E7%95%8C%E5%90%84%E6%94%BF%E6%9D%83%E5%8F%97%E6%89%BF%E8%AE%A4%E7%8A%B6%E5%86%B5%E5%88%97%E8%A1%A8") >= 0) return "PROXY GOAGENT_LISTEN";3418 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%96%E7%95%8C%E7%BB%8F%E6%B5%8E%E5%AF%BC%E6%8A%A5*")) return "PROXY GOAGENT_LISTEN";3419 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%96%E7%95%8C%E7%BB%B4%E5%90%BE%E5%B0%94%E5%A4%A7%E4%BC%9A!--Shi Jie Wei Wu Er Qing Nian Dai Biao Da Hui*")) return "PROXY GOAGENT_LISTEN";3420 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%96%E7%95%8C%E7%BB%B4%E5%90%BE%E5%B0%94%E9%9D%92%E5%B9%B4%E4%BB%A3%E8%A1%A8%E5%A4%A7%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3421 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%96%E7%95%8C%E7%B6%AD%E5%90%BE%E7%88%BE%E4%BB%A3%E8%A1%A8%E5%A4%A7%E6%9C%83*")) return "PROXY GOAGENT_LISTEN";3422 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8D%81%E5%9B%9B%E4%B8%96%E8%BE%BE%E8%B5%96*")) return "PROXY GOAGENT_LISTEN";3423 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B8%88%E6%B6%9B*")) return "PROXY GOAGENT_LISTEN";3424 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B8%AB%E6%BF%A4*")) return "PROXY GOAGENT_LISTEN";3425 if (shExpMatch(url, "*zh.wikipedia.org*%E9%87%8A%E6%98%9F%E4%BA%91*")) return "PROXY GOAGENT_LISTEN";3426 if (shExpMatch(url, "*zh.wikipedia.org*%E7%9F%B3%E6%B2%B9%E5%B8%AE*")) return "PROXY GOAGENT_LISTEN";3427 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8F%B8%E5%BE%92%E5%8D%8E*")) return "PROXY GOAGENT_LISTEN";3428 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8F%B8%E5%BE%92%E8%8F%AF*")) return "PROXY GOAGENT_LISTEN";3429 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9B%9B%E4%BA%94%E8%A1%8C%E5%8B%95*")) return "PROXY GOAGENT_LISTEN";3430 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AE%8B%E5%BD%AC%E5%BD%AC*")) return "PROXY GOAGENT_LISTEN";3431 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AE%8B%E4%BB%BB%E7%A9%B7*")) return "PROXY GOAGENT_LISTEN";3432 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AE%8B%E4%BB%BB%E7%AA%AE*")) return "PROXY GOAGENT_LISTEN";3433 if (shExpMatch(url, "*zh.wikipedia.org*%E8%8B%8F%E5%AE%B6%E5%B1%AF%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3434 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AD%99%E6%96%87%E5%B9%BF*")) return "PROXY GOAGENT_LISTEN";3435 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A1%94%E5%B0%94%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3436 if (shExpMatch(url, "*zh.wikipedia.org*%E5%8F%B0%E7%81%A3%E7%8D%A8%E7%AB%8B%E5%BB%BA%E5%9C%8B%E8%81%AF%E7%9B%9F*")) return "PROXY GOAGENT_LISTEN";3437 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%AA%E5%AD%90%E5%85%9A*")) return "PROXY GOAGENT_LISTEN";3438 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%AA%E5%AD%90%E5%85%9A*")) return "PROXY GOAGENT_LISTEN";3439 if (url.indexOf("zh.wikipedia.org/zh-cn/%E5%A4%AA%E5%AD%90%E5%85%9A") >= 0) return "PROXY GOAGENT_LISTEN";3440 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B0%AD%E4%BD%9C%E4%BA%BA*")) return "PROXY GOAGENT_LISTEN";3441 if (shExpMatch(url, "*zh.wikipedia.org*%E5%94%90%E6%9F%8F%E6%A1%A5*")) return "PROXY GOAGENT_LISTEN";3442 if (url.indexOf("zh.wikipedia.org/zh/%E9%99%B6%E9%A9%B7%E9%A9%B9") >= 0) return "PROXY GOAGENT_LISTEN";3443 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%97%A8%E5%B9%BF%E5%9C%BA*")) return "PROXY GOAGENT_LISTEN";3444 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%97%A8%E6%B0%91%E4%B8%BB%E5%A4%A7%E5%AD%A6*")) return "PROXY GOAGENT_LISTEN";3445 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%97%A8%E6%AF%8D%E4%BA%B2%E8%BF%90%E5%8A%A8*")) return "PROXY GOAGENT_LISTEN";3446 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%96%80%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3447 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%97%A8%E6%96%87%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3448 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%96%80%E6%96%87%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3449 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E5%AE%89%E9%97%A8%E8%87%AA%E7%84%9A%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3450 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%A9%E8%91%AC*")) return "PROXY GOAGENT_LISTEN";3451 if (url.indexOf("zh.wikipedia.org/zh-cn/Tor") >= 0) return "PROXY GOAGENT_LISTEN";3452 if (url.indexOf("zh.wikipedia.org/zh-hk/Twitter") >= 0) return "PROXY GOAGENT_LISTEN";3453 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%87%E9%87%8C*")) return "PROXY GOAGENT_LISTEN";3454 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%89%9B*%E6%94%BF%E6%B2%BB%E4%BA%BA%E7%89%A9*")) return "PROXY GOAGENT_LISTEN";3455 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%88%9A*%E6%94%BF%E6%B2%BB%E4%BA%BA%E7%89%A9*")) return "PROXY GOAGENT_LISTEN";3456 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%86%9B%E6%B6%9B*")) return "PROXY GOAGENT_LISTEN";3457 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E6%A8%82%E6%B3%89*")) return "PROXY GOAGENT_LISTEN";3458 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E7%AB%8B%E5%86%9B*")) return "PROXY GOAGENT_LISTEN";3459 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%B2%90%E5%B1%B1*")) return "PROXY GOAGENT_LISTEN";3460 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%8D%83%E6%BA%90*")) return "PROXY GOAGENT_LISTEN";3461 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E6%B7%91%E5%8D%8E*")) return "PROXY GOAGENT_LISTEN";3462 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E7%BB%B4%E6%9E%97*")) return "PROXY GOAGENT_LISTEN";3463 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E6%9C%89%E6%89%8D*")) return "PROXY GOAGENT_LISTEN";3464 if (shExpMatch(url, "*zh.wikipedia.org*%E9%AD%8F%E4%BA%AC%E7%94%9F*")) return "PROXY GOAGENT_LISTEN";3465 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B1%B6%E5%B7%9D%E5%A4%A7%E5%9C%B0%E9%9C%87*")) return "PROXY GOAGENT_LISTEN";3466 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E7%82%B3%E7%AB%A0*")) return "PROXY GOAGENT_LISTEN";3467 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E4%B9%90%E6%B3%89*")) return "PROXY GOAGENT_LISTEN";3468 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%8A%9B%E9%9B%84*")) return "PROXY GOAGENT_LISTEN";3469 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BD%91%E7%BB%9C%E8%AF%84%E8%AE%BA%E5%91%98*")) return "PROXY GOAGENT_LISTEN";3470 if (url.indexOf("zh.wikipedia.org/wiki/%E7%8E%8B%E5%A7%93") >= 0) return "PROXY GOAGENT_LISTEN";3471 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B1%AA%E6%B4%8B*")) return "PROXY GOAGENT_LISTEN";3472 if (shExpMatch(url, "*zh.wikipedia.org*%E7%8E%8B%E5%85%86%E5%9B%BD*")) return "PROXY GOAGENT_LISTEN";3473 if (shExpMatch(url, "*zh.wikipedia.org*%E5%94%AF%E8%89%B2*")) return "PROXY GOAGENT_LISTEN";3474 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A8%81%E8%A7%86%E8%85%90%E8%B4%A5%E6%A1%88*")) return "PROXY GOAGENT_LISTEN";3475 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B1%B6%E5%B7%9D%E5%9C%B0%E9%9C%87*")) return "PROXY GOAGENT_LISTEN";3476 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B8%A9%E5%AE%B6%E5%AE%9D*")) return "PROXY GOAGENT_LISTEN";3477 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B8%A9%E5%A6%82%E6%98%A5*")) return "PROXY GOAGENT_LISTEN";3478 if (shExpMatch(url, "*zh.wikipedia.org*%E6%B8%A9%E4%BA%91%E6%9D%BE*")) return "PROXY GOAGENT_LISTEN";3479 if (url.indexOf("zh.wikipedia.org/wiki/%E6%96%87%E5%AD%97%E7%8B%B1") >= 0) return "PROXY GOAGENT_LISTEN";3480 if (url.indexOf("zh.wikipedia.org/wiki/%E6%96%87%E5%AD%97%E7%8D%84") >= 0) return "PROXY GOAGENT_LISTEN";3481 if (shExpMatch(url, "*zh.wikipedia.org*%E5%90%B4%E9%82%A6%E5%9B%BD*")) return "PROXY GOAGENT_LISTEN";3482 if (shExpMatch(url, "*zh.wikipedia.org*%E6%88%91%E7%9A%84%E5%A5%8B%E6%96%97*")) return "PROXY GOAGENT_LISTEN";3483 if (shExpMatch(url, "*zh.wikipedia.org*%E5%90%BE%E5%B0%94%E5%BC%80%E5%B8%8C*")) return "PROXY GOAGENT_LISTEN";3484 if (shExpMatch(url, "*zh.wikipedia.org*%E5%90%BE%E7%88%BE%E9%96%8B%E5%B8%8C*")) return "PROXY GOAGENT_LISTEN";3485 if (shExpMatch(url, "*zh.wikipedia.org*%E6%97%A0%E5%9B%BD%E7%95%8C%E8%AE%B0%E8%80%85*")) return "PROXY GOAGENT_LISTEN";3486 if (shExpMatch(url, "*zh.wikipedia.org*%E5%90%B4%E5%BC%98%E8%BE%BE*")) return "PROXY GOAGENT_LISTEN";3487 if (shExpMatch(url, "*zh.wikipedia.org*%E6%97%A0%E7%95%8C*")) return "PROXY GOAGENT_LISTEN";3488 if (shExpMatch(url, "*zh.wikipedia.org*%E7%83%8F%E5%9D%8E%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3489 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B9%8C%E9%B2%81%E6%9C%A8%E9%BD%90%E4%B8%83%C2%B7%E4%BA%94%E6%9A%B4%E5%8A%9B%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3490 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BA%94%E6%AF%9B%E8%9B%8B%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3491 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A5%BF%E5%8D%95%E6%B0%91%E4%B8%BB%E5%A2%99*")) return "PROXY GOAGENT_LISTEN";3492 if (shExpMatch(url, "*zh.wikipedia.org*%E7%BF%92%E8%BF%91%E5%B9%B3*")) return "PROXY GOAGENT_LISTEN";3493 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B9%A0%E8%BF%91%E5%B9%B3*")) return "PROXY GOAGENT_LISTEN";3494 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A5%BF%E5%8E%A2%E8%AE%A1%E5%88%92*")) return "PROXY GOAGENT_LISTEN";3495 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A5%BF%E8%97%8F*")) return "PROXY GOAGENT_LISTEN";3496 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B9%A0%E4%BB%B2%E5%8B%8B*")) return "PROXY GOAGENT_LISTEN";3497 if (shExpMatch(url, "*zh.wikipedia.org*%E5%A4%8F%E7%91%AA%E5%B7%B4*")) return "PROXY GOAGENT_LISTEN";3498 if (shExpMatch(url, "*zh.wikipedia.org*%E9%A6%99%E6%B8%AF%E7%8D%A8%E7%AB%8B%E9%81%8B%E5%8B%95*")) return "PROXY GOAGENT_LISTEN";3499 if (shExpMatch(url, "*zh.wikipedia.org*%E9%A6%99%E6%B8%AF%E6%B0%91%E4%B8%BB%E9%BB%A8*")) return "PROXY GOAGENT_LISTEN";3500 if (shExpMatch(url, "*zh.wikipedia.org*%E9%A6%99%E6%B8%AF*%E6%B0%91%E4%B8%BB%E6%B4%BE*")) return "PROXY GOAGENT_LISTEN";3501 if (shExpMatch(url, "*zh.wikipedia.org*%E9%A6%99%E6%B8%AF%E4%BA%BA%E6%AC%8A%E7%9B%A3%E5%AF%9F*")) return "PROXY GOAGENT_LISTEN";3502 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B0%8F%E6%98%AD%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3503 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B0%A2%E5%BD%A6%E9%A3%9E*")) return "PROXY GOAGENT_LISTEN";3504 if (shExpMatch(url, "*zh.wikipedia.org*%E8%BE%9B%E7%81%8F%E5%B9%B4*")) return "PROXY GOAGENT_LISTEN";3505 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B0%E7%96%86%E7%8B%AC%E7%AB%8B*")) return "PROXY GOAGENT_LISTEN";3506 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B0%E7%96%86%E7%8D%A8%E7%AB%8B*")) return "PROXY GOAGENT_LISTEN";3507 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B0%E5%94%90%E4%BA%BA%E9%9B%BB%E8%A6%96%E5%8F%B0*")) return "PROXY GOAGENT_LISTEN";3508 if (shExpMatch(url, "*zh.wikipedia.org*%E6%96%B0%E9%97%BB%E8%87%AA%E7%94%B1%E6%8E%A0%E5%A4%BA%E8%80%85*")) return "PROXY GOAGENT_LISTEN";3509 if (shExpMatch(url, "*zh.wikipedia.org*%E6%98%9F%E4%BA%91%E6%B3%95%E5%B8%88*")) return "PROXY GOAGENT_LISTEN";3510 if (shExpMatch(url, "*zh.wikipedia.org*%E7%86%8A%E7%84%B1*")) return "PROXY GOAGENT_LISTEN";3511 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BE%90%E6%89%8D%E5%8E%9A*")) return "PROXY GOAGENT_LISTEN";3512 if (shExpMatch(url, "*zh.wikipedia.org*%E8%AE%B8%E5%AE%B6%E5%B1%AF*")) return "PROXY GOAGENT_LISTEN";3513 if (shExpMatch(url, "*zh.wikipedia.org*%E9%9B%AA%E5%B1%B1%E7%8D%85%E5%AD%90%E6%97%97*")) return "PROXY GOAGENT_LISTEN";3514 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A9%A2%E5%95%8F%E8%99%95*")) return "PROXY GOAGENT_LISTEN";3515 if (shExpMatch(url, "*zh.wikipedia.org*%E5%9A%B4%E5%AE%B6%E5%85%B6*")) return "PROXY GOAGENT_LISTEN";3516 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%A5%E5%AE%B6%E5%85%B6*")) return "PROXY GOAGENT_LISTEN";3517 if (shExpMatch(url, "*zh.wikipedia.org*%E9%98%8E%E6%98%8E%E5%A4%8D*")) return "PROXY GOAGENT_LISTEN";3518 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9D%A8%E4%BD%B3%E8%A2%AD%E8%AD%A6%E6%A1%88*")) return "PROXY GOAGENT_LISTEN";3519 if (shExpMatch(url, "*zh.wikipedia.org*%E6%A5%8A%E5%BB%BA%E5%88%A9*")) return "PROXY GOAGENT_LISTEN";3520 if (shExpMatch(url, "*zh.wikipedia.org*%E8%9A%81%E5%8A%9B%E7%A5%9E*")) return "PROXY GOAGENT_LISTEN";3521 if (shExpMatch(url, "*zh.wikipedia.org*%E9%9B%8D%E5%92%8C%E5%AE%AB*")) return "PROXY GOAGENT_LISTEN";3522 if (shExpMatch(url, "*zh.wikipedia.org*%E5%B9%BD%E7%81%B5%E7%BD%91*")) return "PROXY GOAGENT_LISTEN";3523 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BD%99%E6%9D%B0*")) return "PROXY GOAGENT_LISTEN";3524 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BF%9E%E4%B8%BD%E8%90%8D*")) return "PROXY GOAGENT_LISTEN";3525 if (shExpMatch(url, "*zh.wikipedia.org*%E9%9B%A8%E5%82%98%E9%9D%A9%E5%91%BD*")) return "PROXY GOAGENT_LISTEN";3526 if (shExpMatch(url, "*zh.wikipedia.org*%E4%BF%9E%E6%AD%A3%E5%A3%B0*")) return "PROXY GOAGENT_LISTEN";3527 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A2%81%E7%BA%A2%E5%86%B0*")) return "PROXY GOAGENT_LISTEN";3528 if (shExpMatch(url, "*zh.wikipedia.org*%E8%A2%81%E7%B4%85%E5%86%B0*")) return "PROXY GOAGENT_LISTEN";3529 if (shExpMatch(url, "*zh.wikipedia.org*%E8%97%8F%E4%BC%A0%E4%BD%9B%E6%95%99*")) return "PROXY GOAGENT_LISTEN";3530 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9B%BE%E5%BA%86%E7%BA%A2*")) return "PROXY GOAGENT_LISTEN";3531 if (shExpMatch(url, "*zh.wikipedia.org*%E6%9B%BE%E6%85%B6%E7%B4%85*")) return "PROXY GOAGENT_LISTEN";3532 if (shExpMatch(url, "*zh.wikipedia.org*%E6%89%8E%E4%BB%80%E4%BC%A6%E5%B8%83%E5%AF%BA*")) return "PROXY GOAGENT_LISTEN";3533 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%A0%E5%BE%B7%E6%B1%9F*")) return "PROXY GOAGENT_LISTEN";3534 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%A0%E9%AB%98%E4%B8%BD*")) return "PROXY GOAGENT_LISTEN";3535 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%B5%E9%AB%98%E9%BA%97*")) return "PROXY GOAGENT_LISTEN";3536 if (shExpMatch(url, "*zh.wikipedia.org*%E7%AB%A0%E5%98%89%E5%91%BC%E5%9B%BE%E5%85%8B%E5%9B%BE*")) return "PROXY GOAGENT_LISTEN";3537 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%A0%E7%AB%8B%E6%98%8C*")) return "PROXY GOAGENT_LISTEN";3538 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%A0%E5%9F%B9%E8%8E%89*")) return "PROXY GOAGENT_LISTEN";3539 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%B5%E6%96%87%E5%85%89*")) return "PROXY GOAGENT_LISTEN";3540 if (shExpMatch(url, "*zh.wikipedia.org*%E7%AB%A0%E8%A9%92%E5%92%8C*")) return "PROXY GOAGENT_LISTEN";3541 if (shExpMatch(url, "*zh.wikipedia.org*%E7%AB%A0%E8%AF%92%E5%92%8C*")) return "PROXY GOAGENT_LISTEN";3542 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%A0%E9%92%B0*")) return "PROXY GOAGENT_LISTEN";3543 if (shExpMatch(url, "*zh.wikipedia.org*%E5%BC%B5%E9%88%BA*")) return "PROXY GOAGENT_LISTEN";3544 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B5%B5%E7%B4%AB%E9%98%B3*")) return "PROXY GOAGENT_LISTEN";3545 if (shExpMatch(url, "*zh.wikipedia.org*%E8%B6%99%E7%B4%AB%E9%99%BD*")) return "PROXY GOAGENT_LISTEN";3546 if (shExpMatch(url, "*zh.wikipedia.org*%E5%93%B2%E5%B8%83%E5%B0%8A%E4%B8%B9%E5%B7%B4%E5%91%BC%E5%9B%BE%E5%85%8B%E5%9B%BE*")) return "PROXY GOAGENT_LISTEN";3547 if (shExpMatch(url, "*zh.wikipedia.org*%E7%9C%9F%E5%96%84%E5%BF%8D*")) return "PROXY GOAGENT_LISTEN";3548 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%85%B1%E4%B8%AD%E5%A4%AE%E5%AE%A3%E4%BC%A0%E9%83%A8*")) return "PROXY GOAGENT_LISTEN";3549 if (url.indexOf("zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD") >= 0) return "PROXY GOAGENT_LISTEN";3550 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E6%8C%81%E4%B8%8D%E5%90%8C%E6%94%BF%E8%A6%8B%E8%80%85%E5%90%8D%E5%96%AE*")) return "PROXY GOAGENT_LISTEN";3551 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E5%A4%A7%E9%99%86%E5%B0%81%E9%94%81%E7%BB%B4%E5%9F%BA%E5%AA%92%E4%BD%93%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3552 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E5%A4%A7%E9%99%86%E5%B0%81%E9%94%81%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91%E4%BA%8B%E4%BB%B6*")) return "PROXY GOAGENT_LISTEN";3553 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E5%A4%A7%E9%99%B8%E7%B6%B2%E8%B7%AF%E5%B0%81%E9%8E%96*")) return "PROXY GOAGENT_LISTEN";3554 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E7%94%B5%E8%A7%86%E5%AE%A1%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3555 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E6%B3%9B%E8%93%9D%E8%81%94%E7%9B%9F*")) return "PROXY GOAGENT_LISTEN";3556 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E5%85%B1%E4%BA%A7%E5%85%9A*")) return "PROXY GOAGENT_LISTEN";3557 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E5%85%B1%E7%94%A2%E9%BB*")) return "PROXY GOAGENT_LISTEN";3558 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E5%9F%BA%E7%9D%A3%E6%95%99%E5%8D%8F%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3559 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E5%AE%B6%E5%BA%AD%E6%95%99%E4%BC%9A*")) return "PROXY GOAGENT_LISTEN";3560 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E8%81%AF%E9%82%A6%E4%B8%BB%E7%BE%A9*")) return "PROXY GOAGENT_LISTEN";3561 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E4%BA%BA%E6%AC%8A%E6%B0%91%E9%81%8B%E4%BF%A1%E6%81%AF%E4%B8%AD%E5%BF%83*")) return "PROXY GOAGENT_LISTEN";3562 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E6%B0%91%E4%B8%BB%E5%85%9A*")) return "PROXY GOAGENT_LISTEN";3563 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E6%B0%91%E4%B8%BB%E8%BF%90%E5%8A%A8*")) return "PROXY GOAGENT_LISTEN";3564 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E6%B0%91%E4%B8%BB%E9%81%8B%E5%8B%95*")) return "PROXY GOAGENT_LISTEN";3565 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E8%8C%89%E8%8E%89%E8%8A%B1%E9%9D%A9%E5%91%BD*")) return "PROXY GOAGENT_LISTEN";3566 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD*%E5%9B%BD%E4%BA%BA%E6%9D%83*")) return "PROXY GOAGENT_LISTEN";3567 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E7%BD%91%E7%BB%9C%E8%BD%AF%E4%BB%B6%E8%BF%87%E6%BB%A4%E5%85%B3%E9%94%AE%E5%AD%97%E5%88%97%E8%A1%A8*")) return "PROXY GOAGENT_LISTEN";3568 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9B%BD%E7%BD%91%E7%BB%9C%E5%AE%A1%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3569 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%9C%8B%E7%B6%B2%E8%B7%AF%E5%AF%A9%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3570 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E8%A2%AB%E5%B0%81%E9%94%81%E7%BD%91%E7%AB%99%E5%88%97%E8%A1%A8*")) return "PROXY GOAGENT_LISTEN";3571 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9C%8B%E4%BA%BA%E6%AC%8A*")) return "PROXY GOAGENT_LISTEN";3572 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9C%8B%E5%AF%A9%E6%9F%A5%E8%BE%AD%E5%BD%99%E5%88%97%E8%A1%A8*")) return "PROXY GOAGENT_LISTEN";3573 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%AE%AA%E6%B3%95*")) return "PROXY GOAGENT_LISTEN";3574 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E5%9C%8B%E6%B0%91%E5%A4%A7%E6%9C%83*")) return "PROXY GOAGENT_LISTEN";3575 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E6%B2%BB%E8%97%8F%E6%AD%B7%E5%8F%B2*")) return "PROXY GOAGENT_LISTEN";3576 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E7%B8%BD%E7%B5%B1%E5%BA%9C*")) return "PROXY GOAGENT_LISTEN";3577 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E7%BD%91%E7%BB%9C%E5%AE%A1%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3578 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9C%8B%E7%B6%B2%E7%B5%A1%E5%AF%A9%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3579 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9C%8B%E6%B0%91%E4%B8%BB%E9%81%8B%E5%8B%95*")) return "PROXY GOAGENT_LISTEN";3580 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8F%AF%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9C%8B%E5%AE%97%E6%95%99*")) return "PROXY GOAGENT_LISTEN";3581 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E6%96%87%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91*")) return "PROXY GOAGENT_LISTEN";3582 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%A4%AE%E8%AD%A6%E8%A1%9B%E5%B1%80*")) return "PROXY GOAGENT_LISTEN";3583 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E5%A4%AE%E6%96%87%E5%8C%96%E9%9D%A9%E5%91%BD%E5%B0%8F%E7%BB%84*")) return "PROXY GOAGENT_LISTEN";3584 if (shExpMatch(url, "*zh.wikipedia.org*%E4%B8%AD%E8%8B%B1%E7%BA%8C%E8%A8%82%E8%97%8F%E5%8D%B0%E6%A2%9D%E7%B4%84*")) return "PROXY GOAGENT_LISTEN";3585 if (shExpMatch(url, "*zh.wikipedia.org*%E5%91%A8%E6%BB%A8*")) return "PROXY GOAGENT_LISTEN";3586 if (shExpMatch(url, "*zh.wikipedia.org*%E5%91%A8%E6%B0%B8%E5%BA%B7*")) return "PROXY GOAGENT_LISTEN";3587 if (shExpMatch(url, "*zh.wikipedia.org*%E8%BD%AC%E6%B3%95%E8%BD%AE*")) return "PROXY GOAGENT_LISTEN";3588 if (shExpMatch(url, "*zh.wikipedia.org*%E8%87%AA%E7%94%B1%E9%97%A8*")) return "PROXY GOAGENT_LISTEN";3589 if (shExpMatch(url, "*zh.wikipedia.org*%E8%87%AA%E7%94%B1%E4%BA%9A%E6%B4%B2*")) return "PROXY GOAGENT_LISTEN";3590 if (shExpMatch(url, "*zh.wikipedia.org*%E5%AE%97%E5%96%80%E5%B7%B4*")) return "PROXY GOAGENT_LISTEN";3591 if (shExpMatch(url, "*zh.wikibooks.org*%E7%AA%81%E7%A0%B4%E7%BD%91%E7%BB%9C%E5%AE%A1%E6%9F%A5*")) return "PROXY GOAGENT_LISTEN";3592 if (host.indexOf("gov.tw") >= 0) return "PROXY GOAGENT_LISTEN";3593 if (host.indexOf("174.142.105.153") >= 0) return "PROXY GOAGENT_LISTEN";3594 if (host.indexOf("69.65.19.160") >= 0) return "PROXY GOAGENT_LISTEN";3595 return "DIRECT"; ...

Full Screen

Full Screen

com_zimbra_proxy_config.js

Source:com_zimbra_proxy_config.js Github

copy

Full Screen

1/**2 * This zimlet will add proxy config features to Zimbra Admin Console.3 * It push additional XForm items and XModel items into the XForm Object4 * of global configs and server configs. There is no need to add custom5 * MVC code.6 *7 * @author jiankuan@zimbra.com8 * @since ZCS 8.09 */10if (window.console && window.console.log) {11 console.log("Loading com_zimbra_proxy_config.js");12}13if(ZaSettings && ZaSettings.EnabledZimlet["com_zimbra_proxy_config"]) {14/*------------------------Model Section------------------------*/15// we only add tabs to global config and server xform view, therefore we need not to16// create ZaItem and ZaXFormView object. ZaProxyConfig is used for namespace. It's not17// a ZaItem like ZaCos or ZaAccount18ZaProxyConfig = function() {};19ZaProxyConfig.MAIL_MODE_CHOICES = ["http", "https", "both", "mixed", "redirect"];20ZaProxyConfig.CLIENT_CERT_MODE_CHOICES = ["off", "on", "optional"];21ZaProxyConfig.STARTTLS_MODE_CHOICES = [22 {label: com_zimbra_proxy_config.LBL_ProxyStartTLSMode_OFF, value: "off"},23 {label: com_zimbra_proxy_config.LBL_ProxyStartTLSMode_ON, value: "on"},24 {label: com_zimbra_proxy_config.LBL_ProxyStartTLSMode_ONLY, value: "only"}25];26ZaProxyConfig.PROXY_LOG_LEVEL_CHOICES = ["crit", "error", "warn", "notice", "info", "debug_zimbra", "debug_http", "debug_mail", "debug"];27// Proxy Advanced Configurations28ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses = "zimbraReverseProxyWorkerProcesses";29ZaProxyConfig.A_zimbraReverseProxyWorkerConnections = "zimbraReverseProxyWorkerConnections";30ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled = "zimbraReverseProxyDnsLookupInServerEnabled";31ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname = "zimbraReverseProxyGenConfigPerVirtualHostname";32ZaProxyConfig.A_zimbraReverseProxyAdminIPAddress = "zimbraReverseProxyAdminIPAddress";33ZaProxyConfig.A_zimbraReverseProxyLogLevel = "zimbraReverseProxyLogLevel";34ZaProxyConfig.A_zimbraReverseProxyUpstreamServers = "zimbraReverseProxyUpstreamServers";35ZaProxyConfig.A_zimbraReverseProxyAvailableLookupTargets = "zimbraReverseProxyAvailableLookupTargets";36// Web Proxy Configurations37ZaProxyConfig.A_zimbraReverseProxyHttpEnabled = "zimbraReverseProxyHttpEnabled";38ZaProxyConfig.A_zimbraReverseProxyMailMode = "zimbraReverseProxyMailMode";39ZaProxyConfig.A_zimbraMailProxyPort = "zimbraMailProxyPort";40ZaProxyConfig.A_zimbraMailSSLProxyPort = "zimbraMailSSLProxyPort";41ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort = "zimbraMailSSLProxyClientCertPort";42ZaProxyConfig.A_zimbraReverseProxyClientCertMode = "zimbraReverseProxyClientCertMode";43ZaProxyConfig.A_zimbraReverseProxyAdminEnabled = "zimbraReverseProxyAdminEnabled";44ZaProxyConfig.A_zimbraAdminProxyPort = "zimbraAdminProxyPort";45ZaProxyConfig.A_zimbraAdminPort = "zimbraAdminPort";46ZaProxyConfig.A_zimbraMailPort = "zimbraMailPort";47ZaProxyConfig.A_zimbraMailSSLPort = "zimbraMailSSLPort";48ZaProxyConfig.A_zimbraMailMode = "zimbraMailMode";49ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled = "zimbraReverseProxySSLToUpstreamEnabled";50// Mail Proxy Configurations51ZaProxyConfig.A_zimbraReverseProxyMailEnabled = "zimbraReverseProxyMailEnabled";52ZaProxyConfig.A_zimbraReverseProxyAuthWaitInterval = "zimbraReverseProxyAuthWaitInterval";53ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled = "zimbraReverseProxyImapSaslPlainEnabled";54ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled = "zimbraReverseProxyPop3SaslPlainEnabled";55ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled = "zimbraReverseProxyImapSaslGssapiEnabled";56ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled = "zimbraReverseProxyPop3SaslGssapiEnabled";57ZaProxyConfig.A_zimbraImapProxyBindPort = "zimbraImapProxyBindPort";58ZaProxyConfig.A_zimbraPop3ProxyBindPort = "zimbraPop3ProxyBindPort";59ZaProxyConfig.A_zimbraImapSSLProxyBindPort = "zimbraImapSSLProxyBindPort";60ZaProxyConfig.A_zimbraPop3SSLProxyBindPort = "zimbraPop3SSLProxyBindPort";61ZaProxyConfig.A_zimbraImapBindPort = "zimbraImapBindPort";62ZaProxyConfig.A_zimbraPop3BindPort = "zimbraPop3BindPort";63ZaProxyConfig.A_zimbraImapSSLBindPort = "zimbraImapSSLBindPort";64ZaProxyConfig.A_zimbraPop3SSLBindPort = "zimbraPop3SSLBindPort";65ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode = "zimbraReverseProxyImapStartTlsMode";66ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode = "zimbraReverseProxyPop3StartTlsMode";67ZaProxyConfig.A_zimbraImapCleartextLoginEnabled = "zimbraImapCleartextLoginEnabled";68ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled = "zimbraPop3CleartextLoginEnabled";69// other70ZaProxyConfig.A_zimbraServiceEnabled = "zimbraServiceEnabled";71ZaProxyConfig.A_zimbraReverseProxyLookupTarget = "zimbraReverseProxyLookupTarget";72ZaProxyConfig.A_zimbraImapCleartextLoginEnabled = "zimbraImapCleartextLoginEnabled";73ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled = "zimbraPop3CleartextLoginEnabled";74// utility75ZaProxyConfig.A2_proxy_name_array = "proxy_name_array";76ZaProxyConfig.A2_mbx_name_array = "mbx_name_array";77ZaProxyConfig.A2_target_server = "proxy_target_server";78ZaProxyConfig.A2_target_up_servers = "proxy_target_up_servers";79ZaProxyConfig.A2_target_lt_servers = "proxy_target_lt_servers";80ZaProxyConfig.A2_current_server = "proxy_current_server"; // the server in whose UI the wizard is opened81ZaProxyConfig.A2_all_mailbox_as_upstream = "proxy_all_mailbox_as_upstream";82ZaProxyConfig.A2_all_mailbox_as_lookuptarget = "proxy_all_mailbox_as_lookuptarget";83ZaProxyConfig.A2_all_servers = "proxy_all_servers";84// Default Values85ZaProxyConfig.DEFAULT_MAIL_MODE = "http";86ZaProxyConfig.DEFAULT_MAIL_PORT = 80;87ZaProxyConfig.DEFAULT_MAIL_PORT_ZCS = 8080;88ZaProxyConfig.DEFAULT_MAIL_SSL_PORT = 443;89ZaProxyConfig.DEFAULT_MAIL_SSL_PORT_ZCS = 7443;90ZaProxyConfig.DEFAULT_ADMIN_CONSOLE_PORT = 9071;91ZaProxyConfig.DEFAULT_ADMIN_CONSOLE_PORT_ZCS = 7071;92ZaProxyConfig.DEFAULT_IMAP_PORT = 143;93ZaProxyConfig.DEFAULT_IMAP_PORT_ZCS = 7143;94ZaProxyConfig.DEFAULT_IMAP_SSL_PORT = 993;95ZaProxyConfig.DEFAULT_IMAP_SSL_PORT_ZCS = 7993;96ZaProxyConfig.DEFAULT_POP3_PORT = 110;97ZaProxyConfig.DEFAULT_POP3_PORT_ZCS = 7110;98ZaProxyConfig.DEFAULT_POP3_SSL_PORT = 900;99ZaProxyConfig.DEFAULT_POP3_SSL_PORT_ZCS = 7900;100//append model definitions to ZaGlobalConfig.myXModel101if (ZaGlobalConfig && ZaGlobalConfig.myXModel) {102 ZaGlobalConfig.myXModel.items.push(103 {id: ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, type: _INT_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, minInclusive: "1", maxInclusive: "16"},104 {id: ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, type: _INT_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, minInclusive: "1"},105 {id: ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, choices: ZaModel.BOOLEAN_CHOICES},106 {id: ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, choices: ZaModel.BOOLEAN_CHOICES},107 {id: ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, choices: ZaModel.BOOLEAN_CHOICES},108 {id: ZaProxyConfig.A_zimbraReverseProxyAdminIPAddress, type: _LIST_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyAdminIPAddress, listItem:{type: _HOSTNAME_OR_IP_, maxLength: 256} },109 {id: ZaProxyConfig.A_zimbraReverseProxyLogLevel, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyLogLevel, choices: ZaProxyConfig.PROXY_LOG_LEVEL_CHOICES},110 {id: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, choices: ZaModel.BOOLEAN_CHOICES},111 {id: ZaProxyConfig.A_zimbraReverseProxyMailMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailMode, choices: ZaProxyConfig.MAIL_MODE_CHOICES},112 {id: ZaProxyConfig.A_zimbraMailProxyPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailProxyPort},113 {id: ZaProxyConfig.A_zimbraMailSSLProxyPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLProxyPort},114 {id: ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort},115 {id: ZaProxyConfig.A_zimbraReverseProxyClientCertMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyClientCertMode, choices: ZaProxyConfig.CLIENT_CERT_MODE_CHOICES},116 {id: ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, choices: ZaModel.BOOLEAN_CHOICES},117 {id: ZaProxyConfig.A_zimbraAdminProxyPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraAdminProxyPort},118 {id: ZaProxyConfig.A_zimbraReverseProxyMailEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailEnabled, choices: ZaModel.BOOLEAN_CHOICES},119 {id: ZaProxyConfig.A_zimbraReverseProxyAuthWaitInterval, type: _LIFETIME_NUMBER_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyAuthWaitInterval, minInclusive: 0},120 {id: ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled, choices: ZaModel.BOOLEAN_CHOICES},121 {id: ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled, choices: ZaModel.BOOLEAN_CHOICES},122 {id: ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled, choices: ZaModel.BOOLEAN_CHOICES},123 {id: ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled, choices: ZaModel.BOOLEAN_CHOICES},124 {id: ZaProxyConfig.A_zimbraImapProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapProxyBindPort},125 {id: ZaProxyConfig.A_zimbraPop3ProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3ProxyBindPort},126 {id: ZaProxyConfig.A_zimbraImapSSLProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapSSLProxyBindPort},127 {id: ZaProxyConfig.A_zimbraPop3SSLProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3SSLProxyBindPort},128 {id: ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, choices: ZaProxyConfig.STARTTLS_MODE_CHOICES},129 {id: ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, choices: ZaProxyConfig.STARTTLS_MODE_CHOICES}130 );131}132//append model definitions to ZaServer.myXModel133if (ZaServer && ZaServer.myXModel) {134 ZaServer.myXModel.items.push(135 {id: ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, type: _COS_INT_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, minInclusive: "1", maxInclusive: "16"},136 {id: ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, type: _COS_INT_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, minInclusive: "1"},137 {id: ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, choices: ZaModel.BOOLEAN_CHOICES},138 {id: ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, choices: ZaModel.BOOLEAN_CHOICES},139 {id: ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, choices: ZaModel.BOOLEAN_CHOICES},140 {id: ZaProxyConfig.A_zimbraReverseProxyLogLevel, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyLogLevel, choices: ZaProxyConfig.PROXY_LOG_LEVEL_CHOICES},141 {id: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, choices: ZaModel.BOOLEAN_CHOICES},142 {id: ZaProxyConfig.A_zimbraReverseProxyMailMode, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailMode, choices: ZaProxyConfig.MAIL_MODE_CHOICES},143 {id: ZaProxyConfig.A_zimbraMailProxyPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailProxyPort},144 {id: ZaProxyConfig.A_zimbraMailSSLProxyPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLProxyPort},145 {id: ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort},146 {id: ZaProxyConfig.A_zimbraReverseProxyClientCertMode, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyClientCertMode, choices: ZaProxyConfig.CLIENT_CERT_MODE_CHOICES},147 {id: ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, choices: ZaModel.BOOLEAN_CHOICES},148 {id: ZaProxyConfig.A_zimbraAdminProxyPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraAdminProxyPort},149 {id: ZaProxyConfig.A_zimbraReverseProxyMailEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailEnabled, choices: ZaModel.BOOLEAN_CHOICES},150 {id: ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled, choices: ZaModel.BOOLEAN_CHOICES},151 {id: ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled, choices: ZaModel.BOOLEAN_CHOICES},152 {id: ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled, choices: ZaModel.BOOLEAN_CHOICES},153 {id: ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled, choices: ZaModel.BOOLEAN_CHOICES},154 {id: ZaProxyConfig.A_zimbraImapProxyBindPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapProxyBindPort},155 {id: ZaProxyConfig.A_zimbraPop3ProxyBindPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3ProxyBindPort},156 {id: ZaProxyConfig.A_zimbraImapSSLProxyBindPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapSSLProxyBindPort},157 {id: ZaProxyConfig.A_zimbraPop3SSLProxyBindPort, type: _COS_PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3SSLProxyBindPort},158 {id: ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, choices: ZaProxyConfig.STARTTLS_MODE_CHOICES},159 {id: ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, type: _COS_ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, choices: ZaProxyConfig.STARTTLS_MODE_CHOICES}160 );161}162/*---------------------Controller Section---------------------*/163ZaOperation.ENABLE_PROXY = ++ZA_OP_INDEX;164ZaProxyConfig.initPopupMenu = function () {165 166 if (!ZaProxyConfig.isProxyInstalledInAnyServer())167 return;168 169 // here "this" is controller170 this._popupOperations[ZaOperation.ENABLE_PROXY] = (new ZaOperation(ZaOperation.ENABLE_PROXY, "Enable Proxy", "Enable Proxy",171 "Deploy", "Deploy", new AjxListener(this, ZaProxyConfig._enableProxyBtnListener)));172 173 this._popupOperations[ZaOperation.DISABLE_PROXY] = (new ZaOperation(ZaOperation.ENABLE_PROXY, "Disable Proxy", "Disable Proxy",174 "Undeploy", "Undeploy", new AjxListener(this, ZaProxyConfig._disableProxyBtnListener)));175}176if(ZaController.initPopupMenuMethods["ZaServerController"]) {177 ZaController.initPopupMenuMethods["ZaServerController"].push(ZaProxyConfig.initPopupMenu); 178}179if(ZaController.initPopupMenuMethods["ZaServerListController"]) {180 ZaController.initPopupMenuMethods["ZaServerListController"].push(ZaProxyConfig.initPopupMenu); 181}182ZaProxyConfig._enableProxyBtnListener = function (ev) {183 try {184 var ep = new ZaEnableProxy();185 186 if(!this._enableProxyWiz) {187 this._enableProxyWiz = new ZaEnableProxyWizard(this._container, ep);188 }189 190 if(this._currentObject) {191 ep[ZaProxyConfig.A2_current_server] = this._currentObject["zimbraServiceHostname"]; 192 }193 194 this._enableProxyWiz.setObject(ep);195 this._enableProxyWiz.popup();196 } catch (ex) {197 this._handleException(ex, "ZaProxyConfig._enableProxyBtnListener", null, false);198 }199}200ZaProxyConfig._disableProxyBtnListener = function (ev) {201 try {202 var dp = new ZaDisableProxy();203 204 if(!this._disableProxyWiz) {205 this._disableProxyWiz = new ZaDisableProxyWizard(this._container, dp);206 }207 208 if (this._currentObject) {209 dp[ZaProxyConfig.A2_current_server] = this._currentObject["zimbraServiceHostname"];210 }211 212 this._disableProxyWiz.setObject(dp);213 this._disableProxyWiz.popup();214 } catch (ex) {215 this._handleException(ex, "ZaProxyConfig._disableProxyBtnListener", null, false);216 }217}218ZaProxyConfig.isProxyInstalledInAnyServer = function() {219 if (ZaProxyConfig._proxy_installed) {220 return ZaProxyConfig._proxy_installed;221 }222 var servers = ZaServer.getAll().getArray();223 for (var i = 0; i < servers.length; i++) {224 var s = servers[i];225 if (s.attrs[ZaServer.A_zimbraMailProxyServiceInstalled]) {226 ZaProxyConfig._proxy_installed = true;227 break;228 }229 }230 231 if (!ZaProxyConfig._proxy_installed) {232 ZaProxyConfig._proxy_installed = false;233 }234 // TODO: maybe should set a timer to clear this cached result235 236 return ZaProxyConfig._proxy_installed;237}238ZaProxyConfig.isProxyWizardEnabled = function(obj, attrsArray, rightsArray) {239 240 if(!obj)241 return true;242 243 if(AjxUtil.isEmpty(attrsArray) && AjxUtil.isEmpty(rightsArray))244 return true;245 246 if(!AjxUtil.isEmpty(attrsArray)) {247 var cntAttrs = attrsArray.length;248 for(var i=0; i< cntAttrs; i++) {249 if(ZaItem.hasWritePermission(attrsArray[i], obj)) {250 return true;251 }252 }253 } 254 255 if(!AjxUtil.isEmpty(rightsArray)) {256 var cntRights = rightsArray.length;257 for(var i=0; i< cntRights; i++) {258 if(ZaItem.hasRight(rightsArray[i], obj)) {259 return true;260 }261 }262 }263}264ZaProxyConfig.changeActionsStateMethod = function () {265 var obj = this._currentObject; // here "this" is ZaServerController266 var attrsArray = ZaProxyConfig.ENABLE_PROXY_ATTRS;267 var rightsArray = ZaProxyConfig.ENABLE_PROXY_RIGHTS;268 269 // check to enable "Enable Proxy Wizard" or not270 var isToEnable = ZaProxyConfig.isProxyWizardEnabled(obj, attrsArray, rightsArray);271 if(this._popupOperations[ZaOperation.ENABLE_PROXY]) {272 this._popupOperations[ZaOperation.ENABLE_PROXY].enabled = isToEnable;273 }274 275 // check to enable "Disable Proxy Wizard" or not276 isToEnable = ZaProxyConfig.isProxyWizardEnabled(obj, attrsArray, rightsArray);277 278 if(this._popupOperations[ZaOperation.DISABLE_PROXY]) {279 this._popupOperations[ZaOperation.DISABLE_PROXY].enabled = isToEnable;280 }281}282ZaController.changeActionsStateMethods["ZaServerController"].push(ZaProxyConfig.changeActionsStateMethod);283 284/*------------------------View Section------------------------*/285/** enable/disable checks */286ZaProxyConfig.isWebProxyEnabled = function() {287 var webProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyHttpEnabled);288 return (webProxyEnabled == "TRUE");289}290ZaProxyConfig.isAdminProxyEnabled = function() {291 if (!ZaProxyConfig.isWebProxyEnabled.call(this)) { return false;}292 var adminProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyAdminEnabled);293 return (adminProxyEnabled == "TRUE");294}295ZaProxyConfig.isClientCertAuthEnabled = function() {296 if (!ZaProxyConfig.isWebProxyEnabled.call(this)) { return false;}297 var clientCertAuthEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyClientCertMode);298 return (clientCertAuthEnabled == "on" || clientCertAuthEnabled == "optional");299}300ZaProxyConfig.isMailProxyEnabled = function() {301 var mailProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyMailEnabled);302 return (mailProxyEnabled == "TRUE");303}304/** attrs for delegate admin */305ZaProxyConfig.PROXY_CONFIG_GENERAL_ATTRS = [306 ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses,307 ZaProxyConfig.A_zimbraReverseProxyWorkerConnections,308 ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled,309 ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled,310 ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname311];312// zimbraReverseProxyAdminIPAddress is global only attributes313ZaProxyConfig.GLOBAL_PROXY_CONFIG_GENERAL_ATTRS =314 ZaProxyConfig.PROXY_CONFIG_GENERAL_ATTRS.push (315 ZaProxyConfig.A_zimbraReverseProxyAdminIPAddress);316 317ZaProxyConfig.PROXY_CONFIG_WEB_PROXY_ATTRS = [318 ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,319 ZaProxyConfig.A_zimbraReverseProxyMailMode,320 ZaProxyConfig.A_zimbraMailProxyPort,321 ZaProxyConfig.A_zimbraMailSSLProxyPort,322 //ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort,323 //ZaProxyConfig.A_zimbraReverseProxyClientCertMode, bug 71233324 ZaProxyConfig.A_zimbraReverseProxyAdminEnabled,325 ZaProxyConfig.A_zimbraAdminProxyPort326];327ZaProxyConfig.PROXY_CONFIG_MAIL_PROXY_ATTRS = [328 ZaProxyConfig.A_zimbraReverseProxyMailEnabled,329 ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled,330 ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled,331 ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled,332 ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled,333 ZaProxyConfig.A_zimbraImapProxyBindPort,334 ZaProxyConfig.A_zimbraPop3ProxyBindPort,335 ZaProxyConfig.A_zimbraImapSSLProxyBindPort,336 ZaProxyConfig.A_zimbraPop3SSLProxyBindPort,337 ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode,338 ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode339]340//ZaProxyConfig.A_zimbraReverseProxyAuthWaitInterval is global only attribute341ZaProxyConfig.GLOBAL_PROXY_CONFIG_MAIL_PROXY_ATTRS =342 ZaProxyConfig.PROXY_CONFIG_MAIL_PROXY_ATTRS.push(343 ZaProxyConfig.A_zimbraReverseProxyAuthWaitInterval);344ZaProxyConfig.GLOBAL_PROXY_CONFIG_TAB_ATTRS = [].concat(345 ZaProxyConfig.GLOBAL_PROXY_CONFIG_GENERAL_ATTRS,346 ZaProxyConfig.PROXY_CONFIG_WEB_PROXY_ATTRS,347 ZaProxyConfig.GLOBAL_PROXY_CONFIG_MAIL_PROXY_ATTRS);348ZaProxyConfig.SERVER_PROXY_CONFIG_GLOBAL_TAB_ATTRS = [].concat(349 ZaProxyConfig.PROXY_CONFIG_GENERAL_ATTRS,350 ZaProxyConfig.PROXY_CONFIG_WEB_PROXY_ATTRS,351 ZaProxyConfig.PROXY_CONFIG_MAIL_PROXY_ATTRS);352ZaProxyConfig.GLOBAL_PROXY_CONFIG_TAB_RIGHTS = [];353ZaProxyConfig.SERVER_PROXY_CONFIG_TAB_RIGHTS = [];354ZaProxyConfig.ENABLE_PROXY_ATTRS = [355 ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,356 ZaProxyConfig.A_zimbraReverseProxyMailMode,357 ZaProxyConfig.A_zimbraMailMode,358 ZaProxyConfig.A_zimbraMailPort,359 ZaProxyConfig.A_zimbraMailProxyPort,360 ZaProxyConfig.A_zimbraMailSSLPort,361 ZaProxyConfig.A_zimbraMailSSLProxyPort,362 ZaProxyConfig.A_zimbraReverseProxyAdminEnabled,363 ZaProxyConfig.A_zimbraAdminProxyPort,364 ZaProxyConfig.A_zimbraReverseProxyMailEnabled,365 ZaProxyConfig.A_zimbraImapProxyBindPort,366 ZaProxyConfig.A_zimbraImapBindPort,367 ZaProxyConfig.A_zimbraPop3ProxyBindPort,368 ZaProxyConfig.A_zimbraPop3BindPort,369 ZaProxyConfig.A_zimbraImapSSLProxyBindPort,370 ZaProxyConfig.A_zimbraImapSSLBindPort,371 ZaProxyConfig.A_zimbraPop3SSLProxyBindPort,372 ZaProxyConfig.A_zimbraPop3SSLBindPort,373 ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode,374 ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode,375 ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses,376 ZaProxyConfig.A_zimbraReverseProxyWorkerConnections,377 ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled,378 ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled,379 ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname,380 ZaProxyConfig.A_zimbraReverseProxyLookupTarget,381 ZaProxyConfig.A_zimbraReverseProxyUpstreamServers,382 ZaProxyConfig.A_zimbraReverseProxyAvailableLookupTargets383];384ZaProxyConfig.ENABLE_PROXY_RIGHTS = [385 "listServer"386];387/** global level proxy config modifer */388ZaProxyConfig.myGlobalXFormModifier = function(xFormObject, entry) {389 390 if (!ZaProxyConfig.isProxyInstalledInAnyServer()) // don't show anything about proxy if proxy is not installed at all391 return;392 if (ZaTabView.isTAB_ENABLED(entry, ZaProxyConfig.GLOBAL_PROXY_CONFIG_TAB_ATTRS,393 ZaProxyConfig.GLOBAL_PROXY_CONFIG_TAB_RIGHTS)) {394 var proxyConfigCaseKey = ++this.TAB_INDEX;395 var proxyConfigCase = {396 type: _ZATABCASE_, caseKey: proxyConfigCaseKey,397 colSizes: ["auto"], numCols: 1, paddingStyle: "padding-left:15px;", width: "98%",398 items: [399 {type: _ZA_TOP_GROUPER_, numCols:2, colSizes: ["275px", "auto"],400 label: com_zimbra_proxy_config.LBL_ProxyWebProxyConfig,401 visibilityChecks:[[ZATopGrouper_XFormItem.isGroupVisible,402 ZaProxyConfig.PROXY_CONFIG_WEB_PROXY_ATTRS]],403 items: [404 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyEnableWebProxy,405 ref: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,406 trueValue: "TRUE", falseValue: "FALSE"407 },408 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyWebProxyMode,409 ref: ZaProxyConfig.A_zimbraReverseProxyMailMode,410 width: "60px",411 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],412 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]413 },414 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyUseSSLToUpstream,415 ref: ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled,416 trueValue: "TRUE", falseValue: "FALSE"417 },418 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpProxyPort,419 ref: ZaProxyConfig.A_zimbraMailProxyPort,420 width: "60px",421 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],422 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]423 },424 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpSSLProxyPort,425 ref: ZaProxyConfig.A_zimbraMailSSLProxyPort,426 width: "60px",427 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],428 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]429 },430 {type: _SPACER_, height: 10},431 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyAdminEnabled,432 ref: ZaProxyConfig.A_zimbraReverseProxyAdminEnabled,433 trueValue: "TRUE", falseValue: "FALSE",434 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],435 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]436 },437 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyAdminProxyPort,438 ref: ZaProxyConfig.A_zimbraAdminProxyPort,439 width: "60px",440 enableDisableChecks: [ZaProxyConfig.isAdminProxyEnabled],441 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,442 ZaProxyConfig.A_zimbraReverseProxyAdminEnabled]443 }/*,444 ---bug 71233, temporarily remove 2-way SSL features from UI---445 {type: _SPACER_, height: 10},446 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyClientCertAuthMode,447 ref: ZaProxyConfig.A_zimbraReverseProxyClientCertMode,448 width: "60px",449 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],450 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]451 },452 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyClientCertAuthPort,453 ref: ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort,454 width: "60px",455 enableDisableChecks: [ZaProxyConfig.isClientCertAuthEnabled],456 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,457 ZaProxyConfig.A_zimbraReverseProxyClientCertMode]458 } */459 ]460 },461 {type: _ZA_TOP_GROUPER_, numCols:2, colSizes: ["275px", "auto"],462 label: com_zimbra_proxy_config.LBL_ProxyMailProxyConfig,463 visibilityChecks:[[ZATopGrouper_XFormItem.isGroupVisible,464 ZaProxyConfig.GLOBAL_PROXY_CONFIG_MAIL_PROXY_ATTRS]],465 items: [466 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyEnableMailProxy,467 ref: ZaProxyConfig.A_zimbraReverseProxyMailEnabled,468 trueValue: "TRUE", falseValue: "FALSE"469 },470 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyAuthWaitTime,471 ref: ZaProxyConfig.A_zimbraReverseProxyAuthWaitInterval,472 width: "60px",473 getDisplayValue: function(value) {return parseInt(value);}, // only assume the number is in seconds474 elementChanged: function(elementValue, instanceValue, event) {475 instanceValue = elementValue + "s";476 this.getForm().itemChanged(this, instanceValue, event);477 },478 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],479 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]480 },481 {type: _SPACER_, height: 10},482 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapProxyPort,483 ref: ZaProxyConfig.A_zimbraImapProxyBindPort,484 width: "60px",485 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],486 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]487 },488 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapSSLProxyPort,489 ref: ZaProxyConfig.A_zimbraImapSSLProxyBindPort,490 width: "60px",491 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],492 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]493 },494 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyImapEnablePlainAuth,495 ref: ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled,496 trueValue: "TRUE", falseValue: "FALSE",497 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],498 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]499 },500 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyImapEnableGssapiAuth,501 ref: ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled,502 trueValue: "TRUE", falseValue: "FALSE",503 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],504 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]505 },506 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyImapStartTlsMode,507 ref: ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode,508 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],509 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]510 },511 {type: _SPACER_, height: 10},512 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3ProxyPort,513 ref: ZaProxyConfig.A_zimbraPop3ProxyBindPort,514 width: "60px",515 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],516 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]517 },518 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3SSLProxyPort,519 ref: ZaProxyConfig.A_zimbraPop3SSLProxyBindPort,520 width: "60px",521 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],522 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]523 },524 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyPop3EnablePlainAuth,525 ref: ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled,526 trueValue: "TRUE", falseValue: "FALSE",527 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],528 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]529 },530 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyPop3EnableGssapiAuth,531 ref: ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled,532 trueValue: "TRUE", falseValue: "FALSE",533 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],534 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]535 },536 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyPop3StartTlsMode,537 ref: ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode,538 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],539 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]540 }541 ]542 }, // _ZA_TOP_GROUPER_543 {type: _ZA_TOP_GROUPER_, numCols:2, colSizes: ["275px", "auto"],544 label: com_zimbra_proxy_config.LBL_ProxyGeneralConfig,545 visibilityChecks:[[ZATopGrouper_XFormItem.isGroupVisible,546 ZaProxyConfig.GLOBAL_PROXY_CONFIG_GENERAL_ATTRS]],547 items: [548 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyWorkerProcessNum,549 ref: ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses,550 width: "60px"551 },552 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyWorkerConnectionNum,553 ref: ZaProxyConfig.A_zimbraReverseProxyWorkerConnections,554 width: "60px"555 },556 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyLogLevel,557 ref: ZaProxyConfig.A_zimbraReverseProxyLogLevel558 },559 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyAllowServerResolveRoute,560 ref: ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled,561 trueValue: "TRUE", falseValue: "FALSE"562 },563 {type: _DWT_ALERT_, style: DwtAlert.INFO, iconVisible: true, colSpan: "*",564 content: com_zimbra_proxy_config.MSG_GenConfigPerVirtualHostname,565 // this is to make sure the alert will always apply the below item's visibility566 visibilityChecks: [[ZaItem.hasReadPermission,567 ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname]]568 },569 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyGenConfigPerVirtualHostname,570 ref: ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname,571 trueValue: "TRUE", falseValue: "FALSE"572 },573 {type: _SPACER_, height: 10},574 {type: _DWT_ALERT_, style: DwtAlert.INFO, iconVisible: true, colSpan: "*",575 content: com_zimbra_proxy_config.MSG_ReverseProxyAdminIPAddress,576 // this is to make sure the alert will always apply the below item's visibility577 visibilityChecks: [[ZaItem.hasReadPermission,578 ZaProxyConfig.A_zimbraReverseProxyAdminIPAddress]]579 },580 {type: _REPEAT_, label: com_zimbra_proxy_config.LBL_ProxyAdminIPAddresses,581 ref: ZaProxyConfig.A_zimbraReverseProxyAdminIPAddress,582 repeatInstance:"", labelWrap: true ,583 showAddButton: true, showRemoveButton: true, showAddOnNextRow: true,584 items: [585 {ref: ".", type: _TEXTFIELD_, label: null}586 ]587 }588 ]589 } // _ZA_TOP_GROUPER_590 ]591 };592 //items[1] of global config XForm object is a _TAB_BAR_, see GlobalConfigXFormView.js593 var tabBarChoices = xFormObject.items[1].choices;594 tabBarChoices.push({value: proxyConfigCaseKey, label: com_zimbra_proxy_config.OVT_Proxy});595 // items[2] of global config XForm is a _SWITCH_, see GlobalConfigXFormView.js596 var switchItems = xFormObject.items[2].items;597 switchItems.push(proxyConfigCase);598 }599}600ZaTabView.XFormModifiers["GlobalConfigXFormView"].push(ZaProxyConfig.myGlobalXFormModifier);601/** server level visibility check functions */602ZaProxyConfig.isProxyInstalled = function() {603 return XForm.checkInstanceValue.call(this, ZaServer.A_zimbraMailProxyServiceInstalled, true);604}605ZaProxyConfig.isProxyEnabled = function() {606 return XForm.checkInstanceValue.call(this, ZaServer.A_zimbraMailProxyServiceEnabled, true);607}608ZaProxyConfig.isProxyInstalledAndEnabled = function() {609 return (ZaProxyConfig.isProxyInstalled.call(this) && ZaProxyConfig.isProxyEnabled.call(this));610}611ZaProxyConfig.isProxyNotInstalledOrEnabled = function() {612 return !ZaProxyConfig.isProxyInstalledAndEnabled.call(this);613}614/** server level proxy config modifer */615ZaProxyConfig.myServerXFormModifier = function(xFormObject, entry) {616 617 if (!ZaProxyConfig.isProxyInstalledInAnyServer()) // don't show anything about proxy if proxy is not installed at all618 return;619 if (ZaTabView.isTAB_ENABLED(entry, ZaProxyConfig.SERVER_PROXY_CONFIG_TAB_ATTRS,620 ZaProxyConfig.SERVER_PROXY_CONFIG_TAB_RIGHTS)) {621 var proxyConfigCaseKey = ++this.TAB_INDEX;622 var proxyConfigCase = {623 type: _ZATABCASE_, caseKey: proxyConfigCaseKey,624 colSizes: ["auto"], numCols: 1, paddingStyle: "padding-left:15px;", width: "98%",625 items: [626 {type: _GROUP_, numCols: 1,627 visibilityChecks: [ZaProxyConfig.isProxyInstalledAndEnabled],628 visibilityChangeEventSources: [ZaServer.A_zimbraMailProxyServiceInstalled,629 ZaServer.A_zimbraMailProxyServiceEnabled],630 items: [631 {type: _ZA_TOP_GROUPER_, numCols:2, colSizes: ["275px", "*"],632 label: com_zimbra_proxy_config.LBL_ProxyWebProxyConfig,633 visibilityChecks:[[ZATopGrouper_XFormItem.isGroupVisible,634 ZaProxyConfig.PROXY_CONFIG_WEB_PROXY_ATTRS]],635 items: [636 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyEnableWebProxy,637 ref: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,638 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,639 640 onChange: ZaServerXFormView.onFormFieldChanged641 },642 {type: _SUPER_SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyWebProxyMode,643 ref: ZaProxyConfig.A_zimbraReverseProxyMailMode,644 colSpan: "2", // the colSpan here and below are to fix the problem brought by 2 kinds of super control implementation.645 resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,646 onChange: ZaServerXFormView.onFormFieldChanged,647 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],648 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]649 },650 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyUseSSLToUpstream,651 ref: ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, colSpan: "3",652 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,653 onChange: ZaServerXFormView.onFormFieldChanged654 },655 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyHttpProxyPort,656 ref: ZaProxyConfig.A_zimbraMailProxyPort,657 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",658 onChange: ZaServerXFormView.onFormFieldChanged,659 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],660 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]661 },662 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyHttpSSLProxyPort,663 ref: ZaProxyConfig.A_zimbraMailSSLProxyPort,664 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",665 onChange: ZaServerXFormView.onFormFieldChanged,666 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],667 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]668 },669 {type: _SPACER_, height: 10, colSpan: "3"},670 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyAdminEnabled,671 ref: ZaProxyConfig.A_zimbraReverseProxyAdminEnabled,672 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,673 colSpan: "3",674 onChange: ZaServerXFormView.onFormFieldChanged,675 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],676 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]677 },678 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyAdminProxyPort,679 ref: ZaProxyConfig.A_zimbraAdminProxyPort,680 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",681 onChange: ZaServerXFormView.onFormFieldChanged,682 enableDisableChecks: [ZaProxyConfig.isAdminProxyEnabled],683 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,684 ZaProxyConfig.A_zimbraReverseProxyAdminEnabled]685 }/*,686 ---bug 71233, temporarily remove 2-way SSL features from UI---687 {type: _SPACER_, height: 10},688 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyClientCertAuthMode,689 ref: ZaProxyConfig.A_zimbraReverseProxyClientCertMode,690 width: "60px",691 enableDisableChecks: [ZaProxyConfig.isWebProxyEnabled],692 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]693 },694 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyClientCertAuthPort,695 ref: ZaProxyConfig.A_zimbraMailSSLProxyClientCertPort,696 width: "60px",697 enableDisableChecks: [ZaProxyConfig.isClientCertAuthEnabled],698 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,699 ZaProxyConfig.A_zimbraReverseProxyClientCertMode]700 } */701 ]702 },703 {type: _ZA_TOP_GROUPER_, numCols:2, colSizes: ["275px", "*"],704 label: com_zimbra_proxy_config.LBL_ProxyMailProxyConfig,705 visibilityChecks:[[ZATopGrouper_XFormItem.isGroupVisible,706 ZaProxyConfig.PROXY_CONFIG_MAIL_PROXY_ATTRS]],707 items: [708 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyEnableMailProxy,709 ref: ZaProxyConfig.A_zimbraReverseProxyMailEnabled,710 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,711 colSpan: "3", // the colSpan here and below are to fix the problem brought by 2 kinds of super control implementation.712 onChange: ZaServerXFormView.onFormFieldChanged713 },714 {type: _SPACER_, height: 10, colSpan: 3},715 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyImapProxyPort,716 ref: ZaProxyConfig.A_zimbraImapProxyBindPort,717 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",718 onChange: ZaServerXFormView.onFormFieldChanged,719 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],720 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]721 },722 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyImapSSLProxyPort,723 ref: ZaProxyConfig.A_zimbraImapSSLProxyBindPort,724 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",725 onChange: ZaServerXFormView.onFormFieldChanged,726 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],727 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]728 },729 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyImapEnablePlainAuth,730 ref: ZaProxyConfig.A_zimbraReverseProxyImapSaslPlainEnabled,731 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,732 colSpan: "3",733 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],734 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]735 },736 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyImapEnableGssapiAuth,737 ref: ZaProxyConfig.A_zimbraReverseProxyImapSaslGssapiEnabled,738 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,739 colSpan: "3",740 onChange: ZaServerXFormView.onFormFieldChanged,741 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],742 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]743 },744 {type: _SUPER_SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyImapStartTlsMode,745 ref: ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode,746 resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "2",747 onChange: ZaServerXFormView.onFormFieldChanged,748 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],749 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]750 },751 {type: _SPACER_, height: 10, colSpan: "3"},752 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyPop3ProxyPort,753 ref: ZaProxyConfig.A_zimbraPop3ProxyBindPort,754 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",755 onChange: ZaServerXFormView.onFormFieldChanged,756 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],757 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]758 },759 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyPop3SSLProxyPort,760 ref: ZaProxyConfig.A_zimbraPop3SSLProxyBindPort,761 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",762 onChange: ZaServerXFormView.onFormFieldChanged,763 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],764 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]765 },766 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyPop3EnablePlainAuth,767 ref: ZaProxyConfig.A_zimbraReverseProxyPop3SaslPlainEnabled,768 trueValue: "TRUE", falseValue: "FALSE", colSpan: "3",769 resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,770 onChange: ZaServerXFormView.onFormFieldChanged,771 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],772 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]773 },774 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyPop3EnableGssapiAuth,775 ref: ZaProxyConfig.A_zimbraReverseProxyPop3SaslGssapiEnabled,776 trueValue: "TRUE", falseValue: "FALSE", colSpan: "3",777 resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,778 onChange: ZaServerXFormView.onFormFieldChanged,779 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],780 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]781 },782 {type: _SUPER_SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyPop3StartTlsMode,783 ref: ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode,784 resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "2",785 onChange: ZaServerXFormView.onFormFieldChanged,786 enableDisableChecks: [ZaProxyConfig.isMailProxyEnabled],787 enableDisableChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled]788 }789 ]790 },791 {type: _ZA_TOP_GROUPER_, numCols:2, colSizes: ["275px", "*"],792 label: com_zimbra_proxy_config.LBL_ProxyGeneralConfig,793 visibilityChecks:[[ZATopGrouper_XFormItem.isGroupVisible,794 ZaProxyConfig.PROXY_CONFIG_GENERAL_ATTRS]],795 items: [796 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyWorkerProcessNum,797 ref: ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses,798 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",799 onChange: ZaServerXFormView.onFormFieldChanged800 },801 {type: _SUPER_TEXTFIELD_, txtBoxLabel: com_zimbra_proxy_config.LBL_ProxyWorkerConnectionNum,802 ref: ZaProxyConfig.A_zimbraReverseProxyWorkerConnections,803 textFieldWidth: "60px", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal, colSpan: "3",804 onChange: ZaServerXFormView.onFormFieldChanged805 },806 {type: _SUPER_SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyLogLevel,807 ref: ZaProxyConfig.A_zimbraReverseProxyLogLevel,808 resetToSuperLabel: ZaMsg.NAD_ResetToGlobal, colSpan: "2",809 onChange: ZaServerXFormView.onFormFieldChanged810 },811 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyAllowServerResolveRoute,812 ref: ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled,813 trueValue: "TRUE", falseValue: "FALSE",814 resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,815 onChange: ZaServerXFormView.onFormFieldChanged816 },817 {type: _DWT_ALERT_, style: DwtAlert.INFO, iconVisible: true, colSpan: "3",818 content: com_zimbra_proxy_config.MSG_GenConfigPerVirtualHostname,819 // this is to make sure the alert will always apply the below item's visibility820 visibilityChecks: [[ZaItem.hasReadPermission,821 ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname]]822 },823 {type: _SUPER_CHECKBOX_, checkBoxLabel: com_zimbra_proxy_config.LBL_ProxyGenConfigPerVirtualHostname,824 ref: ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, colSpan: "3",825 trueValue: "TRUE", falseValue: "FALSE", resetToSuperLabel:ZaMsg.NAD_ResetToGlobal,826 onChange: ZaServerXFormView.onFormFieldChanged827 }828 ]829 }// _ZA_TOP_GROUPER_830 ]831 }, // _GROUP_832 {type: _GROUP_, numCols: 1, colSize: ["*"], colSpan: "*",833 items: [834 {type: _DWT_ALERT_, style: DwtAlert.WARNING, iconVisible: true, colSpan: "*",835 content: com_zimbra_proxy_config.MSG_NeedProxyInstalledAndEnabled}836 ],837 visibilityChecks: [ZaProxyConfig.isProxyNotInstalledOrEnabled],838 visibilityChangeEventSources: [ZaServer.A_zimbraMailProxyServiceInstalled,839 ZaServer.A_zimbraMailProxyServiceEnabled]840 }841 ]842 }; // _ZATABCASE_843 // items[1] of server XForm object is a _TAB_BAR_, see ZaServerConfigXFormView.js844 var tabBarChoices = xFormObject.items[1].choices;845 tabBarChoices.push({value: proxyConfigCaseKey, label: com_zimbra_proxy_config.OVT_Proxy});846 847 // items[2] of server XForm is a _SWITCH_, see ZaServerFormView.js848 var switchItems = xFormObject.items[2].items;849 switchItems.push(proxyConfigCase);850 }851}852ZaTabView.XFormModifiers["ZaServerXFormView"].push(ZaProxyConfig.myServerXFormModifier);...

Full Screen

Full Screen

ZaEnableProxyWizard.js

Source:ZaEnableProxyWizard.js Github

copy

Full Screen

1/*2 * ***** BEGIN LICENSE BLOCK *****3 * Zimbra Collaboration Suite Server4 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Zimbra, Inc.5 * 6 * The contents of this file are subject to the Zimbra Public License7 * Version 1.3 ("License"); you may not use this file except in8 * compliance with the License. You may obtain a copy of the License at9 * http://www.zimbra.com/license.10 * 11 * Software distributed under the License is distributed on an "AS IS"12 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.13 * ***** END LICENSE BLOCK *****14 */15/*---Enable Proxy Wizard Model---*/16if(ZaSettings && ZaSettings.EnabledZimlet["com_zimbra_proxy_config"]) {17function ZaEnableProxy () {18 ZaItem.call(this, "ZaEnableProxy");19 this._init();20 this.type = ZaItem.ENABLE_PROXY ; 21}22ZaItem.ENABLE_PROXY = "enable_proxy" ;23ZaEnableProxy.prototype = new ZaItem ;24ZaEnableProxy.prototype.constructor = ZaEnableProxy;25ZaEnableProxy.myXModel = {26 items: [27 // web proxy28 {id: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, choices: ZaModel.BOOLEAN_CHOICES},29 {id: ZaProxyConfig.A_zimbraReverseProxyMailMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailMode, choices: ZaProxyConfig.MAIL_MODE_CHOICES},30 {id: ZaProxyConfig.A_zimbraMailPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailPort},31 {id: ZaProxyConfig.A_zimbraMailProxyPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailProxyPort},32 {id: ZaProxyConfig.A_zimbraMailSSLPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLPort},33 {id: ZaProxyConfig.A_zimbraMailSSLProxyPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLProxyPort},34 {id: ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, choices: ZaModel.BOOLEAN_CHOICES},35 {id: ZaProxyConfig.A_zimbraAdminPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraAdminPort},36 {id: ZaProxyConfig.A_zimbraAdminProxyPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraAdminProxyPort},37 {id: ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, choices: ZaModel.BOOLEAN_CHOICES},38 39 // mail proxy40 {id: ZaProxyConfig.A_zimbraReverseProxyMailEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailEnabled, choices: ZaModel.BOOLEAN_CHOICES},41 {id: ZaProxyConfig.A_zimbraImapBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapBindPort},42 {id: ZaProxyConfig.A_zimbraImapProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapProxyBindPort},43 {id: ZaProxyConfig.A_zimbraImapSSLProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapSSLProxyBindPort},44 {id: ZaProxyConfig.A_zimbraImapSSLBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapSSLBindPort},45 {id: ZaProxyConfig.A_zimbraPop3BindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3BindPort},46 {id: ZaProxyConfig.A_zimbraPop3ProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3ProxyBindPort},47 {id: ZaProxyConfig.A_zimbraPop3SSLProxyBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3SSLProxyBindPort},48 {id: ZaProxyConfig.A_zimbraPop3SSLBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3SSLBindPort},49 {id: ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, choices: ZaProxyConfig.STARTTLS_MODE_CHOICES},50 {id: ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, choices: ZaProxyConfig.STARTTLS_MODE_CHOICES},51 52 // advanced53 {id: ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, type: _INT_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, minInclusive: "1", maxInclusive: "16"},54 {id: ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, type: _INT_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, minInclusive: "1"},55 {id: ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname, choices: ZaModel.BOOLEAN_CHOICES},56 {id: ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, choices: ZaModel.BOOLEAN_CHOICES},57 {id: ZaProxyConfig.A_zimbraReverseProxyLogLevel, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyLogLevel, choices: ZaProxyConfig.PROXY_LOG_LEVEL_CHOICES},58 // utility59 {id: ZaProxyConfig.A2_mbx_name_array, type: _LIST_, itemType: _STRING_},60 {id: ZaProxyConfig.A2_proxy_name_array, type: _LIST_, itemType: _STRING_},61 {id: ZaProxyConfig.A2_target_server, type: _STRING_},62 {id: ZaProxyConfig.A2_target_up_servers, type: _LIST_, itemType: _STRING_},63 {id: ZaProxyConfig.A2_target_lt_servers, type: _LIST_, itemType: _STRING_},64 {id: ZaProxyConfig.A2_all_mailbox_as_upstream, type: _ENUM_, choices: ZaModel.BOOLEAN_CHOICES},65 {id: ZaProxyConfig.A2_all_mailbox_as_lookuptarget, type: _ENUM_, choices: ZaModel.BOOLEAN_CHOICES}66 ]67}68ZaEnableProxy.init = function () {69 this.attrs = {};70 71 this.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] = "TRUE";72 this.attrs[ZaProxyConfig.A_zimbraReverseProxyMailMode] = ZaProxyConfig.DEFAULT_MAIL_MODE;73 this.attrs[ZaProxyConfig.A_zimbraMailPort] = ZaProxyConfig.DEFAULT_MAIL_PORT_ZCS;74 this.attrs[ZaProxyConfig.A_zimbraMailProxyPort] = ZaProxyConfig.DEFAULT_MAIL_PORT;75 this.attrs[ZaProxyConfig.A_zimbraMailSSLPort] = ZaProxyConfig.DEFAULT_MAIL_SSL_PORT_ZCS;76 this.attrs[ZaProxyConfig.A_zimbraMailSSLProxyPort] = ZaProxyConfig.DEFAULT_MAIL_SSL_PORT;77 this.attrs[ZaProxyConfig.A_zimbraReverseProxyAdminEnabled] = "FALSE";78 this.attrs[ZaProxyConfig.A_zimbraAdminPort] = ZaProxyConfig.DEFAULT_ADMIN_CONSOLE_PORT_ZCS;79 this.attrs[ZaProxyConfig.A_zimbraAdminProxyPort] = ZaProxyConfig.DEFAULT_ADMIN_CONSOLE_PORT;80 this.attrs[ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled] = "TRUE";81 82 this.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] = "TRUE";83 this.attrs[ZaProxyConfig.A_zimbraImapBindPort] = ZaProxyConfig.DEFAULT_IMAP_PORT_ZCS;84 this.attrs[ZaProxyConfig.A_zimbraImapProxyBindPort] = ZaProxyConfig.DEFAULT_IMAP_PORT;85 this.attrs[ZaProxyConfig.A_zimbraImapSSLBindPort] = ZaProxyConfig.DEFAULT_IMAP_SSL_PORT_ZCS;86 this.attrs[ZaProxyConfig.A_zimbraImapSSLProxyBindPort] = ZaProxyConfig.DEFAULT_IMAP_SSL_PORT;87 this.attrs[ZaProxyConfig.A_zimbraPop3BindPort] = ZaProxyConfig.DEFAULT_POP3_PORT_ZCS;88 this.attrs[ZaProxyConfig.A_zimbraPop3ProxyBindPort] = ZaProxyConfig.DEFAULT_POP3_PORT;89 this.attrs[ZaProxyConfig.A_zimbraPop3SSLBindPort] = ZaProxyConfig.DEFAULT_POP3_SSL_PORT_ZCS;90 this.attrs[ZaProxyConfig.A_zimbraPop3SSLProxyBindPort] = ZaProxyConfig.DEFAULT_POP3_SSL_PORT;91 this.attrs[ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode] = "only";92 this.attrs[ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode] = "only";93 94 this.attrs[ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses] = 4;95 this.attrs[ZaProxyConfig.A_zimbraReverseProxyWorkerConnections] = 10240;96 this.attrs[ZaProxyConfig.A_zimbraReverseProxyLogLevel] = "info";97 this.attrs[ZaProxyConfig.A_zimbraReverseProxyGenConfigPerVirtualHostname] = "TRUE";98 this.attrs[ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled] = "TRUE";99 100 this[ZaProxyConfig.A2_all_mailbox_as_upstream] = "TRUE";101 this[ZaProxyConfig.A2_all_mailbox_as_lookuptarget] = "TRUE";102 103 this.initServerList();104}105ZaItem.initMethods["ZaEnableProxy"]= [ZaEnableProxy.init];106ZaEnableProxy.prototype.initServerList = function() {107 this[ZaProxyConfig.A2_proxy_name_array] = [];108 this[ZaProxyConfig.A2_mbx_name_array] = [];109 var servers = ZaServer.getAll().getArray();110 for(var i = 0; i < servers.length; i++) {111 var s = servers[i];112 if (s.attrs[ZaServer.A_zimbraMailProxyServiceInstalled]) {113 this[ZaProxyConfig.A2_proxy_name_array].push(s["zimbraServiceHostname"]);114 }115 116 if (s.attrs[ZaServer.A_zimbraMailboxServiceEnabled]) {117 this[ZaProxyConfig.A2_mbx_name_array].push(s["zimbraServiceHostname"]);118 }119 }120 121 // As default, all mailbox servers are upstream/lookup target servers122 var mbxServers = this[ZaProxyConfig.A2_mbx_name_array];123 var upServers = [];124 var ltServers = [];125 for (var j = 0; j < mbxServers.length; j++) {126 upServers.push(mbxServers[j]);127 ltServers.push(mbxServers[j]);128 }129 this[ZaProxyConfig.A2_target_up_servers] = upServers;130 this[ZaProxyConfig.A2_target_lt_servers] = ltServers;131 132 // Update proxy server choices133 ZaEnableProxyWizard.proxyServerChoices.setChoices(this[ZaProxyConfig.A2_proxy_name_array]);134 ZaEnableProxyWizard.proxyServerChoices.dirtyChoices();135 136 // Update mailbox server choices137 ZaEnableProxyWizard.mbxServerChoices.setChoices(this[ZaProxyConfig.A2_mbx_name_array]);138 ZaEnableProxyWizard.mbxServerChoices.dirtyChoices();139 140 // Cache the all servers data for the later use141 var allServers = {};142 for(var i = 0; i < servers.length; i++) {143 var s = servers[i];144 allServers[s["zimbraServiceHostname"]] = s;145 }146 this[ZaProxyConfig.A2_all_servers] = allServers;147}148/*---Enable Proxy Wizard---*/149function ZaEnableProxyWizard (parent) {150 var w = "500px" ;151 if (AjxEnv.isIE) {152 w = "550px" ;153 }154 ZaXWizardDialog.call(this, parent, null, com_zimbra_proxy_config.LBL_EnableProxyWizTitle, w, "330px", "ZaEnableProxyWizard");155 this.stepChoices = [156 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepSelectServer, value: ZaEnableProxyWizard.STEP_SELECT_SERVER},157 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepWebProxy, value: ZaEnableProxyWizard.STEP_CONFIG_WEBPROXY},158 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepMailProxy, value: ZaEnableProxyWizard.STEP_CONFIG_MAILPROXY},159 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepAdvanced, value: ZaEnableProxyWizard.STEP_CONFIG_ADVANCED},160 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepFinish, value: ZaEnableProxyWizard.STEP_FINISH}161 ];162 163 this.initForm(ZaEnableProxy.myXModel, this.getMyXForm());164 this._localXForm.setController();165 this._localXForm.addListener(DwtEvent.XFORMS_FORM_DIRTY_CHANGE, new AjxListener(this, ZaEnableProxyWizard.prototype.handleXFormChange));166 this._localXForm.addListener(DwtEvent.XFORMS_VALUE_ERROR, new AjxListener(this, ZaEnableProxyWizard.prototype.handleXFormChange)); 167}168ZaEnableProxyWizard.prototype = new ZaXWizardDialog;169ZaEnableProxyWizard.prototype.constructor = ZaEnableProxyWizard;170ZaEnableProxyWizard.proxyServerChoices = new XFormChoices([], XFormChoices.SIMPLE_LIST);171ZaEnableProxyWizard.mbxServerChoices = new XFormChoices([], XFormChoices.SIMPLE_LIST);172ZaXDialog.XFormModifiers["ZaEnableProxyWizard"] = new Array();173ZaEnableProxyWizard.helpURL = location.pathname + "help/admin/html/tools/config_proxy.htm?locid=" + AjxEnv.DEFAULT_LOCALE;174ZaEnableProxyWizard.STEP_INDEX = 1 ;175ZaEnableProxyWizard.STEP_SELECT_SERVER = ZaEnableProxyWizard.STEP_INDEX++;176ZaEnableProxyWizard.STEP_CONFIG_WEBPROXY = ZaEnableProxyWizard.STEP_INDEX++;177ZaEnableProxyWizard.STEP_CONFIG_MAILPROXY = ZaEnableProxyWizard.STEP_INDEX++;178ZaEnableProxyWizard.STEP_CONFIG_ADVANCED = ZaEnableProxyWizard.STEP_INDEX++;179ZaEnableProxyWizard.STEP_FINISH = ZaEnableProxyWizard.STEP_INDEX++;180ZaEnableProxyWizard.prototype.handleXFormChange = function () {181 var cStep = this._containedObject[ZaModel.currentStep];182 var obj = this._containedObject;183 if (cStep == ZaEnableProxyWizard.STEP_SELECT_SERVER) {184 if (!AjxUtil.isEmpty(obj[ZaProxyConfig.A2_target_server]) &&185 this.isUpstreamServersConfigValid() &&186 this.isLookupTargetServersConfigValid()){187 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(true);188 } else {189 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(false);190 }191 }192}193ZaEnableProxyWizard.prototype.isUpstreamServersConfigValid = function() {194 var obj = this._containedObject;195 if (!AjxUtil.isEmpty(obj[ZaProxyConfig.A2_target_up_servers]) ||196 obj[ZaProxyConfig.A2_all_mailbox_as_upstream] == "TRUE") {197 return true;198 } else {199 return false;200 }201}202ZaEnableProxyWizard.prototype.isLookupTargetServersConfigValid = function() {203 var obj = this._containedObject;204 if (!AjxUtil.isEmpty(obj[ZaProxyConfig.A2_target_lt_servers]) ||205 obj[ZaProxyConfig.A2_all_mailbox_as_lookuptarget] == "TRUE") {206 return true;207 } else {208 return false;209 }210}211/**212* Overwritten methods that control wizard's flow (open, go next,go previous, finish)213**/214ZaEnableProxyWizard.prototype.popup = function (loc) {215 ZaXWizardDialog.prototype.popup.call(this, loc);216 this.changeButtonStateForStep(ZaEnableProxyWizard.STEP_SELECT_SERVER); 217}218ZaEnableProxyWizard.prototype.changeButtonStateForStep = function(stepNum) {219 if(stepNum == ZaEnableProxyWizard.STEP_SELECT_SERVER) {220 // first step, prev is disabled221 this._button[DwtWizardDialog.FINISH_BUTTON].setEnabled(false);222 if (AjxUtil.isEmpty(this._containedObject[ZaProxyConfig.A2_target_server])) {223 // we can't continue until there is a target server224 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(false);225 } else {226 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(true);227 }228 this._button[DwtWizardDialog.PREV_BUTTON].setEnabled(false);229 } else if(stepNum == ZaEnableProxyWizard.STEP_FINISH) {230 // last step, next is dsiabled231 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(false);232 this._button[DwtWizardDialog.PREV_BUTTON].setEnabled(true);233 this._button[DwtWizardDialog.FINISH_BUTTON].setEnabled(true);234 } else {235 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(true);236 this._button[DwtWizardDialog.PREV_BUTTON].setEnabled(true);237 this._button[DwtWizardDialog.FINISH_BUTTON].setEnabled(false);238 }239}240ZaEnableProxyWizard.prototype.goPage = function(pageNum) {241 ZaXWizardDialog.prototype.goPage.call(this, pageNum);242 this.changeButtonStateForStep(pageNum);243}244ZaEnableProxyWizard.prototype.finishWizard = function() {245 try { 246 this.applyProxyConfig();247 this.popdown(); 248 249 } catch (ex) {250 ZaApp.getInstance().getCurrentController()._handleException(ex, "ZaEnableWizard.prototype.finishWizard", null, false);251 }252}253/**254 * Write the configured attrs to server255 */256ZaEnableProxyWizard.prototype.applyProxyConfig = function() {257 var instance = this._localXForm.getInstance() ;258 259 // 1) modify upstream servers260 var flags = {};261 var allServers = instance[ZaProxyConfig.A2_all_servers];262 var targetServers;263 if (instance[ZaProxyConfig.A2_all_mailbox_as_upstream] == "TRUE") {264 targetServers = instance[ZaProxyConfig.A2_mbx_name_array];265 } else {266 targetServers = instance[ZaProxyConfig.A2_target_up_servers];267 }268 269 for (var i = 0; i < targetServers.length; i++) {270 var s = targetServers[i];271 flags[s] = {isUpstream: true};272 }273 274 if (instance[ZaProxyConfig.A2_all_mailbox_as_lookuptarget] == "TRUE") {275 targetServers = instance[ZaProxyConfig.A2_mbx_name_array];276 } else {277 targetServers = instance[ZaProxyConfig.A2_target_lt_servers];278 }279 280 for (var i = 0; i < targetServers.length; i++) {281 var s = targetServers[i];282 if (!flags[s]) {283 flags[s] = {isLookupTarget: true};284 }285 }286 287 var batchDoc = AjxSoapDoc.create("BatchRequest", "urn:zimbra");288 batchDoc.setMethodAttribute("onerror", "stop");289 for (var s in flags) {290 var md = batchDoc.set("ModifyServerRequest", null, null, ZaZimbraAdmin.URN);291 var id = allServers[s].id;292 batchDoc.set("id", id, md);293 294 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraReverseProxyLookupTarget, "TRUE", md);295 296 if (flags[s].isUpstream) {297 // apply web proxy in upstream298 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] == "TRUE") {299 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailSSLPort, instance.attrs[ZaProxyConfig.A_zimbraMailSSLPort], md);300 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailPort, instance.attrs[ZaProxyConfig.A_zimbraMailPort], md);301 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled] == "TRUE") {302 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailMode, "https", md);303 } else {304 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailMode, "http", md);305 }306 307 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyAdminEnabled] == "TRUE") {308 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraAdminPort, instance.attrs[ZaProxyConfig.A_zimbraAdminPort], md);309 }310 }311 312 // apply mail proxy in upstream313 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] == "TRUE") {314 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraImapBindPort, instance.attrs[ZaProxyConfig.A_zimbraImapBindPort], md);315 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraPop3BindPort, instance.attrs[ZaProxyConfig.A_zimbraPop3BindPort], md);316 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraImapSSLBindPort, instance.attrs[ZaProxyConfig.A_zimbraImapSSLBindPort], md);317 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraPop3SSLBindPort, instance.attrs[ZaProxyConfig.A_zimbraPop3SSLBindPort], md);318 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled] != "TRUE") {319 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraImapCleartextLoginEnabled, "TRUE", md);320 ZaEnableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled, "TRUE", md);321 }322 }323 }324 }325 326 var params1 = new Object();327 params1.soapDoc = batchDoc; 328 var reqMgrParams1 = {329 controller : ZaApp.getInstance().getCurrentController(),330 busyMsg : ZaMsg.BUSY_MODIFY_SERVER331 }332 var resp1 = ZaRequestMgr.invoke(params1, reqMgrParams1).Body.BatchResponse;333 334 335 // 2) modify proxy server336 var proxyServer = allServers[instance[ZaProxyConfig.A2_target_server]];337 338 var proxyDoc = AjxSoapDoc.create("ModifyServerRequest", ZaZimbraAdmin.URN);339 proxyDoc.set("id", proxyServer.id);340 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] == "TRUE") {341 // apply web proxy config342 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]);343 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyMailMode, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailMode]);344 var mailmode = instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailMode];345 if (mailmode != "https") {346 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraMailProxyPort, instance.attrs[ZaProxyConfig.A_zimbraMailProxyPort]);347 }348 if (mailmode != "http") {349 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraMailSSLProxyPort, instance.attrs[ZaProxyConfig.A_zimbraMailSSLProxyPort]);350 }351 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyAdminEnabled] == "TRUE") {352 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyAdminEnabled]);353 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraAdminProxyPort, instance.attrs[ZaProxyConfig.A_zimbraAdminProxyPort]);354 }355 }356 357 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] == "TRUE") {358 // apply mail proxy config359 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyMailEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled]);360 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraImapProxyBindPort, instance.attrs[ZaProxyConfig.A_zimbraImapProxyBindPort]);361 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraImapSSLProxyBindPort, instance.attrs[ZaProxyConfig.A_zimbraImapSSLProxyBindPort]);362 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode]);363 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraPop3ProxyBindPort, instance.attrs[ZaProxyConfig.A_zimbraPop3ProxyBindPort]);364 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraPop3SSLProxyBindPort, instance.attrs[ZaProxyConfig.A_zimbraPop3SSLProxyBindPort]);365 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode]);366 }367 368 // apply advanced proxy config369 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses]);370 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyWorkerConnections, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyWorkerConnections]);371 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled]);372 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyLogLevel, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyLogLevel]);373 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled]);374 375 // apply upstream settings376 if (instance[ZaProxyConfig.A2_all_mailbox_as_upstream]) {377 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyUpstreamServers, "");378 } else {379 var upArr = instance[ZaProxyConfig.A2_target_up_servers];380 for (var i = 0; i < upArr.length; i++) {381 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyUpstreamServers, upArr[i]);382 }383 }384 385 if (instance[ZaProxyConfig.A2_all_mailbox_as_lookuptarget]) {386 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyAvailableLookupTargets, "");387 } else {388 var ltArr = instance[ZaProxyConfig.A2_target_lt_servers];389 for (var i = 0; i < ltArr.length; i++) {390 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyAvailableLookupTargets, ltArr[i]);391 }392 }393 394 ZaEnableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraServiceEnabled, "proxy", null, "+");395 396 // 3) send request and renew server with the response397 var params2 = new Object();398 params2.soapDoc = proxyDoc; 399 var reqMgrParams2 = {400 controller : ZaApp.getInstance().getCurrentController(),401 busyMsg : ZaMsg.BUSY_MODIFY_SERVER402 }403 var resp = ZaRequestMgr.invoke(params2, reqMgrParams2).Body.ModifyServerResponse; 404 proxyServer.initFromJS(resp.server[0]); 405}406/**407 * Set attr to doc.408 * if val is undefined, doc[attr] = obj[attr];409 * otherwise, doc[attr] = val;410 * 411 * op, optional, may be "+" or "-"412 */413ZaEnableProxyWizard.setAttr = function(doc, attr, val, parent, op) {414 var attribute;415 if (parent) {416 attribute = doc.set("a", val, parent);417 } else {418 attribute = doc.set("a", val);419 }420 if (op) {421 attribute.setAttribute("n", op + attr);422 } else {423 attribute.setAttribute("n", attr);424 }425} 426/**427* @method setObject sets the object contained in the view428* @param entry - object to display429**/430ZaEnableProxyWizard.prototype.setObject =431function(obj) {432 this._containedObject = obj ;433 434 // initialize the XWizard Model435 this._containedObject[ZaModel.currentStep] = obj[ZaModel.currentStep] || ZaEnableProxyWizard.STEP_SELECT_SERVER;436 437 if (AjxUtil.arrayContains(obj[ZaProxyConfig.A2_proxy_name_array], obj[ZaProxyConfig.A2_current_server])) {438 this._containedObject[ZaProxyConfig.A2_target_server] = obj[ZaProxyConfig.A2_current_server];439 } else {440 this._containedObject[ZaProxyConfig.A2_target_server] = undefined;441 }442 443 this._localXForm.setInstance(this._containedObject);444}445ZaEnableProxyWizard.isWebProxyEnabled = function() {446 var webProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyHttpEnabled);447 return (webProxyEnabled == "TRUE");448}449ZaEnableProxyWizard.isAdminProxyEnabled = function() {450 var adminProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyAdminEnabled);451 return (adminProxyEnabled == "TRUE");452}453ZaEnableProxyWizard.isMailProxyEnabled = function() {454 var mailProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyMailEnabled);455 return (mailProxyEnabled == "TRUE");456}457ZaEnableProxyWizard.isProxyMailModeNotHTTP = function() {458 var mailmode = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyMailMode);459 return (mailmode != "http");460}461ZaEnableProxyWizard.isProxyMailModeNotHTTPS = function() {462 var mailmode = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyMailMode);463 return (mailmode != "https");464}465ZaEnableProxyWizard.isSSLToUpstreamEnabled = function() {466 var uptossl = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled);467 return (uptossl == "TRUE");468}469ZaEnableProxyWizard.isSSLToUpstreamDisabled = function() {470 return !ZaEnableProxyWizard.isSSLToUpstreamEnabled.call(this);471}472ZaEnableProxyWizard.isNotAllMbxAsUp = function() {473 var allMbxAsUp = this.getInstanceValue(ZaProxyConfig.A2_all_mailbox_as_upstream);474 return (allMbxAsUp == "FALSE");475}476ZaEnableProxyWizard.isNotAllMbxAsLT = function() {477 var allMbxAsLT = this.getInstanceValue(ZaProxyConfig.A2_all_mailbox_as_lookuptarget);478 return (allMbxAsLT == "FALSE");479}480ZaEnableProxyWizard.myXFormModifier = function(xFormObject) { 481 var cases = new Array();482 483 // case 1: select server484 var case_select_server = {485 type:_CASE_, numCols:1, colSizes:["350px"],486 tabGroupKey:ZaEnableProxyWizard.STEP_SELECT_SERVER, caseKey:ZaEnableProxyWizard.STEP_SELECT_SERVER,487 align:_LEFT_, valign:_TOP_, width:"90%"488 };489 490 case_select_server.items = [491 {type: _SPACER_, height: 10},492 {type: _OUTPUT_, colSpan: 2, value: com_zimbra_proxy_config.LBL_ProxySelectProxyServer},493 {type: _SPACER_, height: 10},494 {type: _GROUP_, colSpan: "*", colSizes: ["260px", "*"],495 items:[496 {type: _OSELECT1_, ref: ZaProxyConfig.A2_target_server, 497 label: com_zimbra_proxy_config.LBL_ProxySelectProxyServerToEnableInDetail, 498 labelLocation:_LEFT_, labelCssStyle: "text-align:left",499 choices: ZaEnableProxyWizard.proxyServerChoices,500 editable: false501 }502 ]503 },504 {type: _SPACER_, height: 20},505 {type: _GROUP_, colSpan: "*", colSizes: ["15px", "*"],506 items:[507 {type: _OUTPUT_, colSpan: 2, value: com_zimbra_proxy_config.LBL_ProxySelectUpServer},508 {type: _SPACER_, height: 10},509 {type: _CHECKBOX_, ref: ZaProxyConfig.A2_all_mailbox_as_upstream,510 label: com_zimbra_proxy_config.LBL_ProxyAllMailboxAsUp,511 trueValue: "TRUE", falseValue: "FALSE", labelLocation: _RIGHT_512 },513 {type: _SPACER_, height: "10px"},514 {type: _OUTPUT_, colSpan: "*", label: "", labelCssSytle: "padding-left:10px",515 value: com_zimbra_proxy_config.LBL_ProxyLimitUp,516 visibilityChecks: [ZaEnableProxyWizard.isNotAllMbxAsUp],517 visibilityChangeEventSources: [ZaProxyConfig.A2_all_mailbox_as_upstream]518 },519 {type: _OSELECT_CHECK_, ref: ZaProxyConfig.A2_target_up_servers, colSpan: "*",520 cssStyle: "margin-bottom:5px;margin-top:5px;border:2px inset gray;",521 width: "250px", choices: ZaEnableProxyWizard.mbxServerChoices,522 visibilityChecks: [ZaEnableProxyWizard.isNotAllMbxAsUp],523 visibilityChangeEventSources: [ZaProxyConfig.A2_all_mailbox_as_upstream]524 }525 ]526 },527 {type: _SPACER_, height: 20},528 {type: _GROUP_, colSpan: "*", colSizes: ["15px", "*"],529 items:[530 {type: _OUTPUT_, colSpan: 2, value: com_zimbra_proxy_config.LBL_ProxySelectLTServer},531 {type: _SPACER_, height: 10},532 {type: _CHECKBOX_, ref: ZaProxyConfig.A2_all_mailbox_as_lookuptarget,533 label: com_zimbra_proxy_config.LBL_ProxyAllMailboxAsLT,534 trueValue: "TRUE", falseValue: "FALSE", labelLocation: _RIGHT_535 },536 {type: _SPACER_, height: "10px"},537 {type: _OUTPUT_, colSpan: "*", label: "", labelCssSytle: "padding-left:10px",538 value: com_zimbra_proxy_config.LBL_ProxyLimitLT,539 visibilityChecks: [ZaEnableProxyWizard.isNotAllMbxAsLT],540 visibilityChangeEventSources: [ZaProxyConfig.A2_all_mailbox_as_lookuptarget]541 },542 {type: _OSELECT_CHECK_, ref: ZaProxyConfig.A2_target_lt_servers, colSpan: "*",543 cssStyle: "margin-bottom:5px;margin-top:5px;border:2px inset gray;",544 width: "250px", choices: ZaEnableProxyWizard.mbxServerChoices,545 visibilityChecks: [ZaEnableProxyWizard.isNotAllMbxAsLT],546 visibilityChangeEventSources: [ZaProxyConfig.A2_all_mailbox_as_lookuptarget]547 }548 549 ]550 } 551 ];552 cases.push(case_select_server);553 554 // case 2: web proxy config555 var case_config_webproxy = {556 type:_CASE_, numCols:1, colSizes:["350px"], 557 tabGroupKey:ZaEnableProxyWizard.STEP_CONFIG_WEBPROXY, caseKey:ZaEnableProxyWizard.STEP_CONFIG_WEBPROXY,558 align:_LEFT_, valign:_TOP_, width:"90%"};559 560 case_config_webproxy.items = [561 {type: _GROUP_, numCols:2, colSpan: "*", colSizes:["100px","*"],562 items: [563 { type:_OUTPUT_, colSpan: "*", value: com_zimbra_proxy_config.LBL_ProxyWebProxyConfig, cssStyle: "font-weight:bold"},564 { type:_OUTPUT_ , ref: ZaProxyConfig.A2_target_server, 565 labelLocation:_LEFT_ , labelCssStyle: "text-align: left; font-weight:bold",566 label: com_zimbra_proxy_config.LBL_ProxyServerName567 }568 ]569 },570 {type:_SPACER_, height: 10},571 {type: _GROUP_, numCols:2, colSizes: ["120px", "auto"],572 items: [573 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyEnableWebProxy,574 ref: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,575 trueValue: "TRUE", falseValue: "FALSE", labelCssStyle: "text-align: right"576 }577 ]578 },579 {type: _GROUP_, numCols:2, colSizes: ["200px", "auto"],580 visibilityChecks: [ZaEnableProxyWizard.isWebProxyEnabled],581 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled],582 items: [583 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyWebProxyMode,584 ref: ZaProxyConfig.A_zimbraReverseProxyMailMode,585 width: "60px"586 },587 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpProxyPort,588 ref: ZaProxyConfig.A_zimbraMailProxyPort,589 width: "60px",590 visibilityChecks: [ZaEnableProxyWizard.isProxyMailModeNotHTTPS],591 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailMode]592 },593 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpSSLProxyPort,594 ref: ZaProxyConfig.A_zimbraMailSSLProxyPort,595 width: "60px",596 visibilityChecks: [ZaEnableProxyWizard.isProxyMailModeNotHTTP],597 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailMode]598 },599 {type:_SPACER_, height: 10},600 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpUpPort,601 ref: ZaProxyConfig.A_zimbraMailPort,602 width: "60px"603 },604 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpSSLUpPort,605 ref: ZaProxyConfig.A_zimbraMailSSLPort,606 width: "60px"607 },608 {type: _SPACER_, height: 10},609 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyAdminEnabled,610 ref: ZaProxyConfig.A_zimbraReverseProxyAdminEnabled,611 trueValue: "TRUE", falseValue: "FALSE", labelCssStyle: "text-align: right"612 },613 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyAdminProxyPort,614 ref: ZaProxyConfig.A_zimbraAdminProxyPort,615 width: "60px",616 visibilityChecks: [ZaEnableProxyWizard.isAdminProxyEnabled],617 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyAdminEnabled]618 },619 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyAdminUpPort,620 ref: ZaProxyConfig.A_zimbraAdminPort,621 width: "60px",622 visibilityChecks: [ZaEnableProxyWizard.isAdminProxyEnabled],623 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyAdminEnabled]624 },625 ]626 },627 { type:_SPACER_, height: 10}628 ];629 cases.push(case_config_webproxy);630 // case 3: mail proxy config631 var case_config_mailproxy = {632 type:_CASE_, numCols:1, colSizes:["350px"], 633 tabGroupKey:ZaEnableProxyWizard.STEP_CONFIG_MAILPROXY, caseKey:ZaEnableProxyWizard.STEP_CONFIG_MAILPROXY,634 align:_LEFT_, valign:_TOP_, width:"90%"};635 636 case_config_mailproxy.items = [637 {type: _GROUP_, numCols:2, colSpan: "*", colSizes:["100px","*"],638 items: [639 { type:_OUTPUT_, colSpan: "*", value: com_zimbra_proxy_config.LBL_ProxyMailProxyConfig, cssStyle: "font-weight:bold"},640 { type:_OUTPUT_ , ref: ZaProxyConfig.A2_target_server, 641 labelLocation:_LEFT_ , labelCssStyle: "text-align: left; font-weight:bold",642 label: com_zimbra_proxy_config.LBL_ProxyServerName643 }644 ]645 },646 {type:_SPACER_, height: 10},647 {type: _GROUP_, numCols:2, colSizes: ["120px", "auto"],648 items: [649 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyEnableMailProxy,650 ref: ZaProxyConfig.A_zimbraReverseProxyMailEnabled,651 trueValue: "TRUE", falseValue: "FALSE", labelCssStyle: "text-align: right"652 }653 ]654 },655 {type: _GROUP_, numCols:2, colSizes: ["200px", "auto"],656 visibilityChecks: [ZaEnableProxyWizard.isMailProxyEnabled],657 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled],658 items: [659 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapProxyPort,660 ref: ZaProxyConfig.A_zimbraImapProxyBindPort,661 width: "60px"662 },663 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapSSLProxyPort,664 ref: ZaProxyConfig.A_zimbraImapSSLProxyBindPort,665 width: "60px"666 },667 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapUpPort,668 ref: ZaProxyConfig.A_zimbraImapBindPort,669 width: "60px"670 },671 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapSSLUpPort,672 ref: ZaProxyConfig.A_zimbraImapSSLBindPort,673 width: "60px"674 },675 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyImapStartTlsMode,676 ref: ZaProxyConfig.A_zimbraReverseProxyImapStartTlsMode677 },678 {type: _SPACER_, height: 10},679 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3ProxyPort,680 ref: ZaProxyConfig.A_zimbraPop3ProxyBindPort,681 width: "60px"682 },683 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3SSLProxyPort,684 ref: ZaProxyConfig.A_zimbraPop3SSLProxyBindPort,685 width: "60px"686 },687 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3UpPort,688 ref: ZaProxyConfig.A_zimbraPop3BindPort,689 width: "60px"690 },691 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3SSLUpPort,692 ref: ZaProxyConfig.A_zimbraPop3SSLBindPort,693 width: "60px"694 },695 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyPop3StartTlsMode,696 ref: ZaProxyConfig.A_zimbraReverseProxyPop3StartTlsMode697 }698 ]699 }700 ];701 cases.push(case_config_mailproxy);702 // case 4: advanced config703 var case_config_advanced = {type:_CASE_, numCols:1, colSizes:["350px"], 704 tabGroupKey: ZaEnableProxyWizard.STEP_CONFIG_ADVANCED, caseKey: ZaEnableProxyWizard.STEP_CONFIG_ADVANCED,705 align:_LEFT_, valign:_TOP_};706 707 case_config_advanced.items = [708 {type: _GROUP_, numCols:2, colSpan: "*", colSizes:["100px", "*"],709 items: [710 { type:_OUTPUT_, colSpan: "*", value: com_zimbra_proxy_config.LBL_ProxyGeneralConfig, cssStyle: "font-weight:bold"},711 { type:_OUTPUT_ , ref: ZaProxyConfig.A2_target_server, 712 labelLocation:_LEFT_ , labelCssStyle: "text-align: left; font-weight:bold",713 label: com_zimbra_proxy_config.LBL_ProxyServerName714 }715 ]716 },717 {type:_SPACER_, height: 10},718 {type: _GROUP_, numCols:2, colSizes: ["250px", "auto"],719 items: [720 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyWorkerProcessNum,721 ref: ZaProxyConfig.A_zimbraReverseProxyWorkerProcesses,722 width: "60px"723 },724 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyWorkerConnectionNum,725 ref: ZaProxyConfig.A_zimbraReverseProxyWorkerConnections,726 width: "60px"727 },728 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyLogLevel,729 ref: ZaProxyConfig.A_zimbraReverseProxyLogLevel,730 getDisplayValue: function (val) {731 return val;732 }733 },734 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyUseSSLToUpstream,735 ref: ZaProxyConfig.A_zimbraReverseProxySSLToUpstreamEnabled,736 trueValue: "TRUE", falseValue: "FALSE",labelCssStyle: "text-align: right"737 },738 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyAllowServerResolveRoute,739 ref: ZaProxyConfig.A_zimbraReverseProxyDnsLookupInServerEnabled,740 labelCssStyle: "text-align: right",741 trueValue: "FALSE", falseValue: "TRUE" // the true and false value are meant to be reversed742 }743 ]744 },745 { type:_SPACER_, height: 10}746 ];747 cases.push(case_config_advanced);748 749 var case_config_finish = {type:_CASE_, numCols:1, colSizes:["350px"], 750 tabGroupKey: ZaEnableProxyWizard.STEP_FINISH, caseKey: ZaEnableProxyWizard.STEP_FINISH,751 align:_LEFT_, valign:_TOP_};752 753 case_config_finish.items = [754 {type: _GROUP_, numCols:1, colSpan: "*", colSizes:["400px"],755 items: [756 { type:_SPACER_, height: 10},757 { type:_OUTPUT_, 758 labelLocation:_LEFT_ , labelCssStyle: "text-align: left",759 label: com_zimbra_proxy_config.MSG_ProxyEnableFinish760 }761 ]762 }763 ];764 cases.push(case_config_finish);765 var w = "470px" ; //500px-padding-left:15-padding-right:15766 if (AjxEnv.isIE) {767 w = "520px" ;768 }769 xFormObject.items = [770 {type:_OUTPUT_, colSpan:2, align:_CENTER_, valign:_TOP_, ref:ZaModel.currentStep,771 choices:this.stepChoices, valueChangeEventSources:[ZaModel.currentStep]},772 {type:_SEPARATOR_, align:_CENTER_, valign:_TOP_},773 {type:_SPACER_, align:_CENTER_, valign:_TOP_},774 {type:_SWITCH_, width:w, align:_LEFT_, valign:_TOP_, items:cases}775 ];776}777ZaXDialog.XFormModifiers["ZaEnableProxyWizard"].push(ZaEnableProxyWizard.myXFormModifier);...

Full Screen

Full Screen

ZaDisableProxyWizard.js

Source:ZaDisableProxyWizard.js Github

copy

Full Screen

1/*2 * ***** BEGIN LICENSE BLOCK *****3 * Zimbra Collaboration Suite Server4 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Zimbra, Inc.5 * 6 * The contents of this file are subject to the Zimbra Public License7 * Version 1.3 ("License"); you may not use this file except in8 * compliance with the License. You may obtain a copy of the License at9 * http://www.zimbra.com/license.10 * 11 * Software distributed under the License is distributed on an "AS IS"12 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.13 * ***** END LICENSE BLOCK *****14 */15/*---Disable Proxy Wizard Model---*/16if(ZaSettings && ZaSettings.EnabledZimlet["com_zimbra_proxy_config"]) {17function ZaDisableProxy () {18 ZaItem.call(this, "ZaDisableProxy");19 this._init();20 this.type = ZaItem.DISABLE_PROXY ; 21}22ZaItem.DISABLE_PROXY = "disable_proxy" ;23ZaDisableProxy.prototype = new ZaItem ;24ZaDisableProxy.prototype.constructor = ZaDisableProxy;25ZaDisableProxy.myXModel = {26 items: [27 // web proxy28 {id: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, choices: ZaModel.BOOLEAN_CHOICES},29 {id: ZaProxyConfig.A_zimbraMailMode, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailMode, choices: ZaProxyConfig.MAIL_MODE_CHOICES},30 {id: ZaProxyConfig.A_zimbraMailPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailPort},31 {id: ZaProxyConfig.A_zimbraMailSSLPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraMailSSLPort},32 {id: ZaProxyConfig.A_zimbraAdminPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraAdminPort},33 34 // mail proxy35 {id: ZaProxyConfig.A_zimbraReverseProxyMailEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraReverseProxyMailEnabled, choices: ZaModel.BOOLEAN_CHOICES},36 {id: ZaProxyConfig.A_zimbraImapBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapBindPort},37 {id: ZaProxyConfig.A_zimbraImapSSLBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapSSLBindPort},38 {id: ZaProxyConfig.A_zimbraPop3BindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3BindPort},39 {id: ZaProxyConfig.A_zimbraPop3SSLBindPort, type: _PORT_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3SSLBindPort},40 {id: ZaProxyConfig.A_zimbraImapCleartextLoginEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraImapCleartextLoginEnabled, choices: ZaModel.BOOLEAN_CHOICES},41 {id: ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled, type: _ENUM_, ref: "attrs/" + ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled, choices: ZaModel.BOOLEAN_CHOICES},42 // utility43 {id: ZaProxyConfig.A2_mbx_name_array, type: _LIST_, itemType: _STRING_},44 {id: ZaProxyConfig.A2_proxy_name_array, type: _LIST_, itemType: _STRING_},45 {id: ZaProxyConfig.A2_target_up_servers, type: _LIST_, itemType: _STRING_}46 ]47}48ZaDisableProxy.init = function () {49 this.attrs = {};50 51 this.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] = "FALSE";52 this.attrs[ZaProxyConfig.A_zimbraMailMode] = "http";53 this.attrs[ZaProxyConfig.A_zimbraMailPort] = ZaProxyConfig.DEFAULT_MAIL_PORT;54 this.attrs[ZaProxyConfig.A_zimbraMailSSLPort] = ZaProxyConfig.DEFAULT_MAIL_SSL_PORT;55 this.attrs[ZaProxyConfig.A_zimbraAdminPort] = ZaProxyConfig.DEFAULT_ADMIN_CONSOLE_PORT_ZCS;56 57 this.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] = "FALSE";58 this.attrs[ZaProxyConfig.A_zimbraImapBindPort] = ZaProxyConfig.DEFAULT_IMAP_PORT;59 this.attrs[ZaProxyConfig.A_zimbraImapSSLBindPort] = ZaProxyConfig.DEFAULT_IMAP_SSL_PORT;60 this.attrs[ZaProxyConfig.A_zimbraPop3BindPort] = ZaProxyConfig.DEFAULT_POP3_PORT;61 this.attrs[ZaProxyConfig.A_zimbraPop3SSLBindPort] = ZaProxyConfig.DEFAULT_POP3_SSL_PORT;62 this.attrs[ZaProxyConfig.A_zimbraImapCleartextLoginEnabled] = "FALSE";63 this.attrs[ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled] = "FALSE";64 65 this.initServerList();66}67ZaItem.initMethods["ZaDisableProxy"]= [ZaDisableProxy.init];68ZaDisableProxy.prototype.initServerList = function() {69 this[ZaProxyConfig.A2_proxy_name_array] = [];70 this[ZaProxyConfig.A2_mbx_name_array] = [];71 var servers = ZaServer.getAll().getArray();72 for(var i = 0; i < servers.length; i++) {73 var s = servers[i];74 if (s.attrs[ZaServer.A_zimbraMailProxyServiceEnabled]) { // we want to disable the "enabled" proxy server75 this[ZaProxyConfig.A2_proxy_name_array].push(s["zimbraServiceHostname"]);76 }77 78 if (s.attrs[ZaServer.A_zimbraMailboxServiceEnabled]) {79 this[ZaProxyConfig.A2_mbx_name_array].push(s["zimbraServiceHostname"]);80 }81 }82 83 // As default, all mailbox servers are upstream/lookup target servers84 var mbxServers = this[ZaProxyConfig.A2_mbx_name_array];85 86 // Update proxy server choices87 ZaDisableProxyWizard.proxyServerChoices.setChoices(this[ZaProxyConfig.A2_proxy_name_array]);88 ZaDisableProxyWizard.proxyServerChoices.dirtyChoices();89 90 // Cache the all servers data for the later use91 var allServers = {};92 for(var i = 0; i < servers.length; i++) {93 var s = servers[i];94 allServers[s["zimbraServiceHostname"]] = s;95 }96 this[ZaProxyConfig.A2_all_servers] = allServers;97}98/*---Enable Proxy Wizard---*/99function ZaDisableProxyWizard (parent) {100 var w = "500px" ;101 if (AjxEnv.isIE) {102 w = "550px" ;103 }104 ZaXWizardDialog.call(this, parent, null, com_zimbra_proxy_config.LBL_DisableProxyWizTitle, w, "330px", "ZaDisableProxyWizard");105 this.stepChoices = [106 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepSelectServer, value: ZaDisableProxyWizard.STEP_SELECT_SERVER},107 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepWebProxy, value: ZaDisableProxyWizard.STEP_CONFIG_WEBPROXY},108 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepMailProxy, value: ZaDisableProxyWizard.STEP_CONFIG_MAILPROXY},109 {label: com_zimbra_proxy_config.LBL_ProxyWizardStepFinish, value: ZaDisableProxyWizard.STEP_FINISH}110 ];111 112 this.initForm(ZaDisableProxy.myXModel, this.getMyXForm());113 this._localXForm.setController();114 this._localXForm.addListener(DwtEvent.XFORMS_FORM_DIRTY_CHANGE, new AjxListener(this, ZaDisableProxyWizard.prototype.handleXFormChange));115 this._localXForm.addListener(DwtEvent.XFORMS_VALUE_ERROR, new AjxListener(this, ZaDisableProxyWizard.prototype.handleXFormChange)); 116}117ZaDisableProxyWizard.prototype = new ZaXWizardDialog;118ZaDisableProxyWizard.prototype.constructor = ZaDisableProxyWizard;119ZaDisableProxyWizard.proxyServerChoices = new XFormChoices([], XFormChoices.SIMPLE_LIST);120ZaDisableProxyWizard.mbxServerChoices = new XFormChoices([], XFormChoices.SIMPLE_LIST);121ZaXDialog.XFormModifiers["ZaDisableProxyWizard"] = new Array();122ZaDisableProxyWizard.helpURL = location.pathname + "help/admin/html/tools/config_proxy.htm?locid=" + AjxEnv.DEFAULT_LOCALE;123ZaDisableProxyWizard.STEP_INDEX = 1 ;124ZaDisableProxyWizard.STEP_SELECT_SERVER = ZaDisableProxyWizard.STEP_INDEX++;125ZaDisableProxyWizard.STEP_CONFIG_WEBPROXY = ZaDisableProxyWizard.STEP_INDEX++;126ZaDisableProxyWizard.STEP_CONFIG_MAILPROXY = ZaDisableProxyWizard.STEP_INDEX++;127ZaDisableProxyWizard.STEP_FINISH = ZaDisableProxyWizard.STEP_INDEX++;128ZaDisableProxyWizard.prototype.handleXFormChange = function () {129 var cStep = this._containedObject[ZaModel.currentStep];130 var obj = this._containedObject;131 if (cStep == ZaDisableProxyWizard.STEP_SELECT_SERVER) {132 if (!AjxUtil.isEmpty(obj[ZaProxyConfig.A2_target_server])){133 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(true);134 } else {135 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(false);136 }137 }138}139/**140* Overwritten methods that control wizard's flow (open, go next,go previous, finish)141**/142ZaDisableProxyWizard.prototype.popup = function (loc) {143 ZaXWizardDialog.prototype.popup.call(this, loc);144 this.changeButtonStateForStep(ZaDisableProxyWizard.STEP_SELECT_SERVER); 145}146ZaDisableProxyWizard.prototype.changeButtonStateForStep = function(stepNum) {147 if(stepNum == ZaDisableProxyWizard.STEP_SELECT_SERVER) {148 // first step, prev is disabled149 this._button[DwtWizardDialog.FINISH_BUTTON].setEnabled(false);150 if (AjxUtil.isEmpty(this._containedObject[ZaProxyConfig.A2_target_server])) {151 // we can't continue until there is a target server152 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(false);153 } else {154 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(true);155 }156 this._button[DwtWizardDialog.PREV_BUTTON].setEnabled(false);157 } else if(stepNum == ZaDisableProxyWizard.STEP_FINISH) {158 // last step, next is dsiabled159 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(false);160 this._button[DwtWizardDialog.PREV_BUTTON].setEnabled(true);161 this._button[DwtWizardDialog.FINISH_BUTTON].setEnabled(true);162 } else {163 this._button[DwtWizardDialog.NEXT_BUTTON].setEnabled(true);164 this._button[DwtWizardDialog.PREV_BUTTON].setEnabled(true);165 this._button[DwtWizardDialog.FINISH_BUTTON].setEnabled(false);166 }167}168ZaDisableProxyWizard.prototype.goPage = function(pageNum) {169 ZaXWizardDialog.prototype.goPage.call(this, pageNum);170 this.changeButtonStateForStep(pageNum);171}172ZaDisableProxyWizard.prototype.finishWizard = function() {173 try { 174 this.applyProxyConfig();175 this.popdown(); 176 177 } catch (ex) {178 ZaApp.getInstance().getCurrentController()._handleException(ex, "ZaDisableProxyWizard.prototype.finishWizard", null, false);179 }180}181/**182 * Write the configured attrs to server183 */184ZaDisableProxyWizard.prototype.applyProxyConfig = function() {185 var instance = this._localXForm.getInstance() ;186 var allServers = instance[ZaProxyConfig.A2_all_servers];187 var proxyServer = allServers[instance[ZaProxyConfig.A2_target_server]];188 // 1) modify proxy server189 var proxyDoc = AjxSoapDoc.create("ModifyServerRequest", ZaZimbraAdmin.URN);190 proxyDoc.set("id", proxyServer.id);191 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] == "FALSE") {192 // apply web proxy config193 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyHttpEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled]);194 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyAdminEnabled, "FALSE");195 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraMailSSLProxyPort, "0", md);196 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraMailProxyPort, "0", md);197 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraAdminProxyPort, "0", md);198 }199 200 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] == "FALSE") {201 // apply mail proxy config202 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraReverseProxyMailEnabled, instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled]);203 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraImapProxyBindPort, "0", md);204 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraPop3ProxyBindPort, "0", md);205 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraImapSSLProxyBindPort, "0", md);206 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraPop3SSLProxyBindPort, "0", md);207 }208 209 if (proxyServer.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] == "FALSE" &&210 proxyServer.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] == "FALSE") {211 ZaDisableProxyWizard.setAttr(proxyDoc, ZaProxyConfig.A_zimbraServiceEnabled, "proxy", null, "-");212 }213 214 var params1 = new Object();215 params1.soapDoc = proxyDoc; 216 var reqMgrParams1 = {217 controller : ZaApp.getInstance().getCurrentController(),218 busyMsg : ZaMsg.BUSY_MODIFY_SERVER219 }220 var resp = ZaRequestMgr.invoke(params1, reqMgrParams1).Body.ModifyServerResponse; 221 proxyServer.initFromJS(resp.server[0]); 222 223 // 2) modify upstream servers224 225 var upServers = proxyServer.attrs[ZaProxyConfig.A_zimbraReverseProxyUpstreamServers];226 if (upServers == null) {227 upServers = instance[ZaProxyConfig.A2_mbx_name_array];228 }229 230 var batchDoc = AjxSoapDoc.create("BatchRequest", "urn:zimbra");231 batchDoc.setMethodAttribute("onerror", "stop");232 for (var s in upServers) {233 var md = batchDoc.set("ModifyServerRequest", null, null, ZaZimbraAdmin.URN);234 var server = allServers[upServers[s]];235 var id = server.id;236 batchDoc.set("id", id, md);237 238 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyHttpEnabled] == "FALSE") {239 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailSSLPort, instance.attrs[ZaProxyConfig.A_zimbraMailSSLPort], md);240 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailPort, instance.attrs[ZaProxyConfig.A_zimbraMailPort], md);241 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraMailMode, instance.attrs[ZaProxyConfig.A_zimbraMailMode], md);242 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraAdminPort, instance.attrs[ZaProxyConfig.A_zimbraAdminPort], md);243 }244 245 if (instance.attrs[ZaProxyConfig.A_zimbraReverseProxyMailEnabled] == "FALSE") {246 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraImapBindPort, instance.attrs[ZaProxyConfig.A_zimbraImapBindPort], md);247 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraPop3BindPort, instance.attrs[ZaProxyConfig.A_zimbraPop3BindPort], md);248 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraImapSSLBindPort, instance.attrs[ZaProxyConfig.A_zimbraImapSSLBindPort], md);249 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraPop3SSLBindPort, instance.attrs[ZaProxyConfig.A_zimbraPop3SSLBindPort], md);250 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraImapCleartextLoginEnabled, instance.attrs[ZaProxyConfig.A_zimbraImapCleartextLoginEnabled], md);251 ZaDisableProxyWizard.setAttr(batchDoc, ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled, instance.attrs[ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled], md);252 }253 }254 255 var params2 = new Object();256 params2.soapDoc = batchDoc; 257 var reqMgrParams2 = {258 controller : ZaApp.getInstance().getCurrentController(),259 busyMsg : ZaMsg.BUSY_MODIFY_SERVER260 }261 var resp2 = ZaRequestMgr.invoke(params2, reqMgrParams2).Body.BatchResponse;262}263/**264 * Set attr to doc.265 * if val is undefined, doc[attr] = obj[attr];266 * otherwise, doc[attr] = val;267 * 268 * op, optional, may be "+" or "-"269 */270ZaDisableProxyWizard.setAttr = function(doc, attr, val, parent, op) {271 var attribute;272 if (parent) {273 attribute = doc.set("a", val, parent);274 } else {275 attribute = doc.set("a", val);276 }277 if (op) {278 attribute.setAttribute("n", op + attr);279 } else {280 attribute.setAttribute("n", attr);281 }282} 283/**284* @method setObject sets the object contained in the view285* @param entry - object to display286**/287ZaDisableProxyWizard.prototype.setObject =288function(obj) {289 this._containedObject = obj ;290 291 // initialize the XWizard Model292 this._containedObject[ZaModel.currentStep] = obj[ZaModel.currentStep] || ZaDisableProxyWizard.STEP_SELECT_SERVER;293 294 if (AjxUtil.arrayContains(obj[ZaProxyConfig.A2_proxy_name_array], obj[ZaProxyConfig.A2_current_server])) {295 this._containedObject[ZaProxyConfig.A2_target_server] = obj[ZaProxyConfig.A2_current_server];296 } else {297 this._containedObject[ZaProxyConfig.A2_target_server] = undefined;298 }299 300 this._localXForm.setInstance(this._containedObject);301}302ZaDisableProxyWizard.isWebProxyDisabled = function() {303 var webProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyHttpEnabled);304 return (webProxyEnabled == "FALSE");305}306ZaDisableProxyWizard.isMailProxyDisabled = function() {307 var mailProxyEnabled = this.getInstanceValue(ZaProxyConfig.A_zimbraReverseProxyMailEnabled);308 return (mailProxyEnabled == "FALSE");309}310ZaDisableProxyWizard.myXFormModifier = function(xFormObject) { 311 var cases = new Array();312 313 // case 1: select server314 var case_select_server = {315 type:_CASE_, numCols:1, colSizes:["350px"],316 tabGroupKey:ZaDisableProxyWizard.STEP_SELECT_SERVER, caseKey:ZaDisableProxyWizard.STEP_SELECT_SERVER,317 align:_LEFT_, valign:_TOP_, width:"90%"318 };319 320 case_select_server.items = [321 {type: _SPACER_, height: 10},322 {type: _OUTPUT_, colSpan: 2, value: com_zimbra_proxy_config.LBL_ProxySelectProxyServer},323 {type: _SPACER_, height: 10},324 {type: _GROUP_, colSpan: "*", colSizes: ["260px", "*"],325 items:[326 {type: _OSELECT1_, ref: ZaProxyConfig.A2_target_server, 327 label: com_zimbra_proxy_config.LBL_ProxySelectProxyServerToDisableInDetail, 328 labelLocation:_LEFT_, labelCssStyle: "text-align:left",329 choices: ZaDisableProxyWizard.proxyServerChoices,330 editable: false331 }332 ]333 }334 ];335 cases.push(case_select_server);336 337 // case 2: web proxy config338 var case_config_webproxy = {339 type:_CASE_, numCols:1, colSizes:["350px"], 340 tabGroupKey:ZaDisableProxyWizard.STEP_CONFIG_WEBPROXY, caseKey:ZaDisableProxyWizard.STEP_CONFIG_WEBPROXY,341 align:_LEFT_, valign:_TOP_, width:"90%"};342 343 case_config_webproxy.items = [344 {type: _GROUP_, numCols:2, colSpan: "*", colSizes:["100px","*"],345 items: [346 { type:_OUTPUT_, colSpan: "*", value: com_zimbra_proxy_config.LBL_ProxyWebProxyConfig, cssStyle: "font-weight:bold"},347 { type:_OUTPUT_ , ref: ZaProxyConfig.A2_target_server, 348 labelLocation:_LEFT_ , labelCssStyle: "text-align: left; font-weight:bold",349 label: com_zimbra_proxy_config.LBL_ProxyServerName350 }351 ]352 },353 {type:_SPACER_, height: 10},354 {type: _GROUP_, numCols:2, colSizes: ["120px", "auto"],355 items: [356 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyDisableWebProxy,357 ref: ZaProxyConfig.A_zimbraReverseProxyHttpEnabled,358 trueValue: "FALSE", falseValue: "TRUE", labelCssStyle: "text-align: right"359 } // meant to converse true & false value360 ]361 },362 {type: _GROUP_, numCols:2, colSizes: ["200px", "auto"],363 visibilityChecks: [ZaDisableProxyWizard.isWebProxyDisabled],364 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyHttpEnabled],365 items: [366 {type: _SELECT1_, label: com_zimbra_proxy_config.LBL_ProxyWebMode,367 ref: ZaProxyConfig.A_zimbraMailMode,368 width: "60px"369 },370 {type:_SPACER_, height: 10},371 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpPort,372 ref: ZaProxyConfig.A_zimbraMailPort,373 width: "60px"374 },375 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyHttpSSLPort,376 ref: ZaProxyConfig.A_zimbraMailSSLPort,377 width: "60px"378 },379 {type: _SPACER_, height: 10},380 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyAdminPort,381 ref: ZaProxyConfig.A_zimbraAdminPort,382 width: "60px"383 }384 ]385 },386 { type:_SPACER_, height: 10}387 ];388 cases.push(case_config_webproxy);389 // case 3: mail proxy config390 var case_config_mailproxy = {391 type:_CASE_, numCols:1, colSizes:["350px"], 392 tabGroupKey:ZaDisableProxyWizard.STEP_CONFIG_MAILPROXY, caseKey:ZaDisableProxyWizard.STEP_CONFIG_MAILPROXY,393 align:_LEFT_, valign:_TOP_, width:"90%"};394 395 case_config_mailproxy.items = [396 {type: _GROUP_, numCols:2, colSpan: "*", colSizes:["100px","*"],397 items: [398 { type:_OUTPUT_, colSpan: "*", value: com_zimbra_proxy_config.LBL_ProxyMailProxyConfig, cssStyle: "font-weight:bold"},399 { type:_OUTPUT_ , ref: ZaProxyConfig.A2_target_server, 400 labelLocation:_LEFT_ , labelCssStyle: "text-align: left; font-weight:bold",401 label: com_zimbra_proxy_config.LBL_ProxyServerName402 }403 ]404 },405 {type:_SPACER_, height: 10},406 {type: _GROUP_, numCols:2, colSizes: ["120px", "auto"],407 items: [408 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_ProxyEnableMailProxy,409 ref: ZaProxyConfig.A_zimbraReverseProxyMailEnabled,410 trueValue: "FALSE", falseValue: "TRUE", labelCssStyle: "text-align: right"411 } // mean to convese the true and false value412 ]413 },414 {type: _GROUP_, numCols:2, colSizes: ["200px", "auto"],415 visibilityChecks: [ZaDisableProxyWizard.isMailProxyDisabled],416 visibilityChangeEventSources: [ZaProxyConfig.A_zimbraReverseProxyMailEnabled],417 items: [418 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapPort,419 ref: ZaProxyConfig.A_zimbraImapBindPort,420 width: "60px"421 },422 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyImapSSLPort,423 ref: ZaProxyConfig.A_zimbraImapSSLBindPort,424 width: "60px"425 },426 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_EnableImapCleartextLogin,427 ref: ZaProxyConfig.A_zimbraImapCleartextLoginEnabled,428 trueValue: "TRUE", falseValue: "FALSE",429 labelCssStyle: "text-align: right"430 },431 {type: _SPACER_, height: 10},432 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3Port,433 ref: ZaProxyConfig.A_zimbraPop3BindPort,434 width: "60px"435 },436 {type: _TEXTFIELD_, label: com_zimbra_proxy_config.LBL_ProxyPop3SSLPort,437 ref: ZaProxyConfig.A_zimbraPop3SSLBindPort,438 width: "60px"439 },440 {type: _CHECKBOX_, label: com_zimbra_proxy_config.LBL_EnablePop3CleartextLogin,441 ref: ZaProxyConfig.A_zimbraPop3CleartextLoginEnabled,442 trueValue: "TRUE", falseValue: "FALSE",443 labelCssStyle: "text-align: right"444 }445 ]446 }447 ];448 cases.push(case_config_mailproxy);449 450 // case 4: complete451 var case_config_finish = {type:_CASE_, numCols:1, colSizes:["350px"], 452 tabGroupKey: ZaDisableProxyWizard.STEP_FINISH, caseKey: ZaDisableProxyWizard.STEP_FINISH,453 align:_LEFT_, valign:_TOP_};454 455 case_config_finish.items = [456 {type: _GROUP_, numCols:1, colSpan: "*", colSizes:["400px"],457 items: [458 { type:_SPACER_, height: 10},459 { type:_OUTPUT_, 460 labelLocation:_LEFT_ , labelCssStyle: "text-align: left",461 label: com_zimbra_proxy_config.MSG_ProxyDisableFinish462 }463 ]464 }465 ];466 cases.push(case_config_finish);467 var w = "470px" ; //500px-padding-left:15-padding-right:15468 if (AjxEnv.isIE) {469 w = "520px" ;470 }471 xFormObject.items = [472 {type:_OUTPUT_, colSpan:2, align:_CENTER_, valign:_TOP_, ref:ZaModel.currentStep,473 choices:this.stepChoices, valueChangeEventSources:[ZaModel.currentStep]},474 {type:_SEPARATOR_, align:_CENTER_, valign:_TOP_},475 {type:_SPACER_, align:_CENTER_, valign:_TOP_},476 {type:_SWITCH_, width:w, align:_LEFT_, valign:_TOP_, items:cases}477 ];478}479ZaXDialog.XFormModifiers["ZaDisableProxyWizard"].push(ZaDisableProxyWizard.myXFormModifier);...

Full Screen

Full Screen

index.js

Source:index.js Github

copy

Full Screen

1const net = require('net')2const compat = require('./compat')3const CONNECTION = 'connection'4const HOST = 'host'5const KEEP_ALIVE = 'keep-alive'6const PROXY_AUTHORIZATION = 'proxy-authorization'7const PROXY_AUTHENTICATE = 'proxy-authenticate'8const PROXY_CONNECTION = 'proxy-connection'9const TE = 'te'10const FORWARDED = 'forwarded'11const TRAILER = 'trailer'12const TRANSFER_ENCODING = 'transfer-encoding'13const UPGRADE = 'upgrade'14const VIA = 'via'15const AUTHORITY = ':authority'16const HTTP2_SETTINGS = 'http2-settings'17const kReq = Symbol('req')18const kRes = Symbol('res')19const kProxyCallback = Symbol('callback')20const kProxyReq = Symbol('proxyReq')21const kProxyRes = Symbol('proxyRes')22const kProxySocket = Symbol('proxySocket')23const kConnected = Symbol('connected')24const kOnRes = Symbol('onRes')25module.exports = compat(proxy)26async function proxy (27 { req, socket, res = socket, head, proxyName },28 onReq,29 onRes30) {31 if (req.aborted) {32 return33 }34 const headers = getRequestHeaders(req, proxyName)35 if (head !== undefined) {36 if (req.method !== 'GET') {37 throw new HttpError('only GET request allowed', null, 405)38 }39 if (req.headers[UPGRADE] !== 'websocket') {40 throw new HttpError('missing upgrade header', null, 400)41 }42 if (head && head.length) {43 res.unshift(head)44 }45 setupSocket(res)46 headers[CONNECTION] = 'upgrade'47 headers[UPGRADE] = 'websocket'48 }49 const proxyReq = await onReq({50 method: req.method,51 path: req.originalUrl || req.url,52 headers53 })54 if (req.aborted) {55 if (proxyReq.abort) {56 proxyReq.abort()57 } else if (proxyReq.destroy) {58 proxyReq.destroy()59 }60 return61 }62 let callback63 const promise = new Promise((resolve, reject) => {64 callback = err => (err ? reject(err) : resolve())65 })66 req[kRes] = res67 req[kProxyReq] = proxyReq68 res[kReq] = req69 res[kRes] = res70 res[kProxySocket] = null71 res[kProxyRes] = null72 res[kProxyCallback] = callback73 proxyReq[kReq] = req74 proxyReq[kRes] = res75 proxyReq[kConnected] = false76 proxyReq[kOnRes] = onRes77 res78 .on('close', onComplete)79 .on('finish', onComplete)80 .on('error', onComplete)81 req82 .on('aborted', onComplete)83 .on('error', onComplete)84 proxyReq85 .on('error', onProxyReqError)86 .on('timeout', onProxyReqTimeout)87 .on('response', onProxyReqResponse)88 .on('upgrade', onProxyReqUpgrade)89 deferToConnect.call(proxyReq)90 return promise91}92function onSocket (socket) {93 if (!socket.connecting) {94 onProxyConnect.call(this)95 } else {96 socket.once('connect', onProxyConnect.bind(this))97 }98}99function deferToConnect () {100 if (this.socket) {101 onSocket.call(this, this.socket)102 } else {103 this.once('socket', onSocket)104 }105}106function onComplete (err) {107 const res = this[kRes]108 const req = res[kReq]109 if (!res[kProxyCallback]) {110 return111 }112 const proxyReq = req[kProxyReq]113 const proxySocket = res[kProxySocket]114 const proxyRes = res[kProxyRes]115 const callback = res[kProxyCallback]116 req[kProxyReq] = null117 res[kProxySocket] = null118 res[kProxyRes] = null119 res[kProxyCallback] = null120 res121 .off('close', onComplete)122 .off('finish', onComplete)123 .off('error', onComplete)124 req125 .off('close', onComplete)126 .off('aborted', onComplete)127 .off('error', onComplete)128 .off('data', onReqData)129 .off('end', onReqEnd)130 if (err) {131 err.connectedSocket = Boolean(proxyReq && proxyReq[kConnected])132 err.reusedSocket = Boolean(proxyReq && proxyReq.reusedSocket)133 }134 if (proxyReq) {135 proxyReq.off('drain', onProxyReqDrain)136 if (proxyReq.abort) {137 proxyReq.abort()138 } else if (proxyReq.destroy) {139 proxyReq.destroy()140 }141 }142 if (proxySocket) {143 proxySocket.destroy()144 }145 if (proxyRes) {146 proxyRes.destroy()147 }148 callback(err)149}150function onProxyConnect () {151 this[kConnected] = true152 if (153 this.method === 'GET' ||154 this.method === 'HEAD' ||155 this.method === 'OPTIONS'156 ) {157 // Dump request.158 this[kReq].resume()159 this.end()160 } else {161 this[kReq]162 .on('data', onReqData)163 .on('end', onReqEnd)164 this165 .on('drain', onProxyReqDrain)166 }167}168function onReqEnd () {169 this[kProxyReq].end()170}171function onReqData (buf) {172 if (!this[kProxyReq].write(buf)) {173 this.pause()174 }175}176function onProxyReqDrain () {177 this[kReq].resume()178}179function onProxyReqError (err) {180 err.statusCode = this[kConnected] ? 502 : 503181 onComplete.call(this, err)182}183function onProxyReqTimeout () {184 onComplete.call(this, new HttpError('proxy timeout', 'ETIMEDOUT', 504))185}186async function onProxyReqResponse (proxyRes) {187 const res = this[kRes]188 res[kProxyRes] = proxyRes189 proxyRes[kRes] = res190 const headers = setupHeaders(proxyRes.headers)191 proxyRes.on('aborted', onProxyResAborted).on('error', onProxyResError)192 if (this[kOnRes]) {193 try {194 await this[kOnRes](proxyRes, headers)195 } catch (err) {196 onComplete.call(this, err)197 }198 } else if (!res.writeHead) {199 if (!proxyRes.upgrade) {200 res.write(201 createHttpHeader(202 `HTTP/${proxyRes.httpVersion} ${proxyRes.statusCode} ${proxyRes.statusMessage}`,203 proxyRes.headers204 )205 )206 proxyRes.pipe(res)207 }208 } else {209 res.statusCode = proxyRes.statusCode210 for (const [key, value] of Object.entries(headers)) {211 res.setHeader(key, value)212 }213 proxyRes.on('end', onProxyResEnd).pipe(res)214 }215}216function onProxyReqUpgrade (proxyRes, proxySocket, proxyHead) {217 const res = this[kRes]218 res[kProxySocket] = proxySocket219 proxySocket[kRes] = res220 setupSocket(proxySocket)221 if (proxyHead && proxyHead.length) {222 proxySocket.unshift(proxyHead)223 }224 res.write(225 createHttpHeader('HTTP/1.1 101 Switching Protocols', proxyRes.headers)226 )227 proxySocket228 .on('error', onProxyResError)229 .on('close', onProxyResAborted)230 .pipe(res)231 .pipe(proxySocket)232}233function onProxyResError (err) {234 err.statusCode = 502235 onComplete.call(this, err)236}237function onProxyResAborted () {238 onComplete.call(this, new HttpError('proxy aborted', 'ECONNRESET', 502))239}240function onProxyResEnd () {241 if (this.trailers) {242 this[kRes].addTrailers(this.trailers)243 }244}245function createHttpHeader (line, headers) {246 let head = line247 for (const [key, value] of Object.entries(headers)) {248 if (!Array.isArray(value)) {249 head += `\r\n${key}: ${value}`250 } else {251 for (let i = 0; i < value.length; i++) {252 head += `\r\n${key}: ${value[i]}`253 }254 }255 }256 head += '\r\n\r\n'257 return Buffer.from(head, 'ascii')258}259function getRequestHeaders (req, proxyName) {260 const headers = {}261 for (const [key, value] of Object.entries(req.headers)) {262 if (key.charAt(0) !== ':' && key !== 'host') {263 headers[key] = value264 }265 }266 // TODO(fix): <host> [ ":" <port> ] vs <pseudonym>267 // See, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via.268 if (proxyName) {269 if (headers[VIA]) {270 for (const name of headers[VIA].split(',')) {271 if (name.endsWith(proxyName)) {272 throw new HttpError('loop detected', null, 508)273 }274 }275 headers[VIA] += ','276 } else {277 headers[VIA] = ''278 }279 headers[VIA] += `${req.httpVersion} ${proxyName}`280 }281 function printIp (address, port) {282 const isIPv6 = net.isIPv6(address)283 let str = `${address}`284 if (isIPv6) {285 str = `[${str}]`286 }287 if (port) {288 str = `${str}:${port}`289 }290 if (isIPv6 || port) {291 str = `"${str}"`292 }293 return str294 }295 const forwarded = [296 `by=${printIp(req.socket.localAddress, req.socket.localPort)}`,297 `for=${printIp(req.socket.remoteAddress, req.socket.remotePort)}`,298 `proto=${req.socket.encrypted ? 'https' : 'http'}`,299 `host=${printIp(req.headers[AUTHORITY] || req.headers[HOST] || '')}`300 ].join(';')301 if (headers[FORWARDED]) {302 headers[FORWARDED] += `, ${forwarded}`303 } else {304 headers[FORWARDED] = `${forwarded}`305 }306 return setupHeaders(headers)307}308function setupSocket (socket) {309 socket.setTimeout(0)310 socket.setNoDelay(true)311 socket.setKeepAlive(true, 0)312}313function setupHeaders (headers) {314 const connection = headers[CONNECTION]315 if (connection && connection !== CONNECTION && connection !== KEEP_ALIVE) {316 for (const name of connection.toLowerCase().split(',')) {317 delete headers[name.trim()]318 }319 }320 // Remove hop by hop headers321 delete headers[CONNECTION]322 delete headers[PROXY_CONNECTION]323 delete headers[KEEP_ALIVE]324 delete headers[PROXY_AUTHENTICATE]325 delete headers[PROXY_AUTHORIZATION]326 delete headers[TE]327 delete headers[TRAILER]328 delete headers[TRANSFER_ENCODING]329 delete headers[UPGRADE]330 delete headers[HTTP2_SETTINGS]331 return headers332}333class HttpError extends Error {334 constructor (msg, code, statusCode) {335 super(msg)336 this.code = code337 this.statusCode = statusCode || 500338 }...

Full Screen

Full Screen

proxy.js

Source:proxy.js Github

copy

Full Screen

1/*2 Copyright 2012 Selenium committers3 Copyright 2012 Software Freedom Conservancy4 Licensed under the Apache License, Version 2.0 (the "License");5 you may not use this file except in compliance with the License.6 You may obtain a copy of the License at7 http://www.apache.org/licenses/LICENSE-2.08 Unless required by applicable law or agreed to in writing, software9 distributed under the License is distributed on an "AS IS" BASIS,10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11 See the License for the specific language governing permissions and12 limitations under the License.13 */14goog.provide('fxdriver.proxy');15goog.provide('fxdriver.proxy.ProxyConfig');16goog.require('fxdriver.logging');17goog.require('fxdriver.moz');18goog.require('goog.log');19/**20 * Represents the proxy configuration as sent across the wire.21 *22 * @typedef {{23 * ftpProxy: string=,24 * httpProxy: string=,25 * noProxy: string=,26 * proxyAutoconfigUrl: string=,27 * proxyType: string,28 * sslProxy: string=29 * }}30 */31fxdriver.proxy.ProxyConfig;32/**33 * @private {goog.log.Logger}34 * @const35 */36fxdriver.proxy.LOG_ = fxdriver.logging.getLogger('fxdriver.proxy');37/**38 * Set a specific proxy preference.39 *40 * @param {!nsIPrefBranch} prefs The preferences to use.41 * @param {string} type The network type, such as 'http'.42 * @param {string} setting The value to use.43 * @private44 */45fxdriver.proxy.setProxyPreference_ = function(prefs, type, setting) {46 if (!setting) {47 return;48 }49 var hostPort = setting.split(':');50 prefs.setCharPref('network.proxy.' + type, hostPort[0]);51 if (hostPort.length > 1) {52 prefs.setIntPref('network.proxy.' + type + '_port', parseInt(hostPort[1]));53 }54};55/**56 * @param {!nsIPrefBranch} prefs The preferences to use.57 * @param {!fxdriver.proxy.ProxyConfig} proxy_config The proxy config.58 * @private59 */60fxdriver.proxy.directConfig_ = function(prefs, ignored) {61 goog.log.info(fxdriver.proxy.LOG_,62 'Using a direct connection to the network');63 prefs.setIntPref('network.proxy.type',64 fxdriver.proxy.TYPES_['DIRECT'].value);65};66/**67 * @param {!nsIPrefBranch} prefs The preferences to use.68 * @param {!fxdriver.proxy.ProxyConfig} proxy_config The proxy config.69 * @private70 */71fxdriver.proxy.pacConfig_ = function(prefs, proxy_config) {72 goog.log.info(fxdriver.proxy.LOG_,73 'Using a PAC file to connect to the network: ' +74 proxy_config['proxyAutoconfigUrl']);75 prefs.setIntPref('network.proxy.type', fxdriver.proxy.TYPES_['PAC'].value);76 var fixup = fxdriver.moz.getService(77 '@mozilla.org/docshell/urifixup;1', 'nsIURIFixup');78 var url = fixup.createFixupURI(proxy_config['proxyAutoconfigUrl'], 0).spec;79 prefs.setCharPref('network.proxy.autoconfig_url', url);80};81/**82 * @param {!nsIPrefBranch} prefs The preferences to use.83 * @param {!fxdriver.proxy.ProxyConfig} proxy_config The proxy config.84 * @private85 */86fxdriver.proxy.manualProxyConfig_ = function(prefs, proxy_config) {87 goog.log.info(fxdriver.proxy.LOG_, 'Using manual network config');88 prefs.setIntPref('network.proxy.type',89 fxdriver.proxy.TYPES_['MANUAL'].value);90 fxdriver.proxy.setProxyPreference_(prefs, 'ftp', proxy_config['ftpProxy']);91 fxdriver.proxy.setProxyPreference_(prefs, 'http', proxy_config['httpProxy']);92 fxdriver.proxy.setProxyPreference_(prefs, 'ssl', proxy_config['sslProxy']);93 fxdriver.proxy.setProxyPreference_(prefs, 'socks', proxy_config['socksProxy']);94 if (proxy_config['noProxy']) {95 prefs.setCharPref('network.proxy.no_proxies_on', proxy_config['noProxy']);96 } else {97 prefs.setCharPref('network.proxy.no_proxies_on', '');98 }99};100/**101 * @param {!nsIPrefBranch} prefs The preferences to use.102 * @param {!fxdriver.proxy.ProxyConfig} ignored The ignored proxy config.103 * @private104 */105fxdriver.proxy.autodetectConfig_ = function(prefs, ignored) {106 goog.log.info(fxdriver.proxy.LOG_, 'Autodetecting proxy to use');107 prefs.setIntPref('network.proxy.type',108 fxdriver.proxy.TYPES_['AUTODETECT'].value);109};110/**111 * @param {!nsIPrefBranch} prefs The preferences to use.112 * @param {!fxdriver.proxy.ProxyConfig} ignored The ignored proxy config.113 * @private114 */115fxdriver.proxy.systemConfig_ = function(prefs, ignored) {116 goog.log.info(fxdriver.proxy.LOG_,117 'Using system proxy to connect to the network');118 prefs.setIntPref('network.proxy.type',119 fxdriver.proxy.TYPES_['SYSTEM'].value);120};121/**122 * @private {!Object.<string, Object.<number,123 * function(!nsIPrefBranch, !ProxyConfig)>>}124 */125fxdriver.proxy.TYPES_ = {126 'DIRECT': { value: 0, config: fxdriver.proxy.directConfig_ },127 'MANUAL': { value: 1, config: fxdriver.proxy.manualProxyConfig_ },128 'PAC': { value: 2, config: fxdriver.proxy.pacConfig_ },129 'AUTODETECT': { value: 4, config: fxdriver.proxy.autodetectConfig_ },130 'SYSTEM': { value: 5, config: fxdriver.proxy.systemConfig_ }131};132/**133 * @param {string=|fxdriver.proxy.ProxyConfig} proxy_config The proxy134 * configuration to use.135 * @private136 */137fxdriver.proxy.configure_ = function(proxy_config) {138 if (!proxy_config) {139 return;140 }141 if (goog.isString(proxy_config)) {142 proxy_config = /**@type {fxdriver.proxy.ProxyConfig}*/ (JSON.parse(143 proxy_config));144 }145 var type = fxdriver.proxy.TYPES_[proxy_config['proxyType']];146 if (!type) {147 goog.log.info(fxdriver.proxy.LOG_,148 'Using Firefox default for network connection');149 return;150 }151 var prefs = /** @type {!nsIPrefBranch} */ (fxdriver.moz.getService(152 '@mozilla.org/preferences-service;1', 'nsIPrefBranch'));153 type.config(prefs, proxy_config);154};155/**156 * @param {string=|fxdriver.proxy.ProxyConfig} proxy_config The proxy157 * configuration to use.158 */159fxdriver.proxy.configure = function(proxy_config) {160 try {161 fxdriver.proxy.configure_(proxy_config);162 } catch (e) {163 goog.log.info(fxdriver.proxy.LOG_, 'Unable to configure proxy', e);164 }...

Full Screen

Full Screen

resize-proxy-debug.js

Source:resize-proxy-debug.js Github

copy

Full Screen

1YUI.add('resize-proxy', function(Y) {2var ACTIVE_HANDLE_NODE = 'activeHandleNode',3 CURSOR = 'cursor',4 DRAG_CURSOR = 'dragCursor',5 HOST = 'host',6 PARENT_NODE = 'parentNode',7 PROXY = 'proxy',8 PROXY_NODE = 'proxyNode',9 RESIZE = 'resize',10 RESIZE_PROXY = 'resize-proxy',11 WRAPPER = 'wrapper',12 getCN = Y.ClassNameManager.getClassName,13 CSS_RESIZE_PROXY = getCN(RESIZE, PROXY);14/**15Adds a `proxyNode` attribute and resizes it instead of the actual node. __very similar to DDProxy__16 var resize = new Y.Resize({17 //Selector of the node to resize18 node: '#demo'19 });20 resize.plug(Y.Plugin.ResizeProxy);21 22@class ResizeProxy23@module resize24@submodule resize-proxy25@constructor26@extends Plugin.Base27@namespace Plugin28*/29function ResizeProxy() {30 ResizeProxy.superclass.constructor.apply(this, arguments);31}32Y.mix(ResizeProxy, {33 NAME: RESIZE_PROXY,34 NS: PROXY,35 ATTRS: {36 /**37 * The Resize proxy element.38 *39 * @attribute proxyNode40 * @default Generated using an internal HTML markup41 * @type String|Node42 */43 proxyNode: {44 setter: Y.one,45 valueFn: function() {46 return Y.Node.create(this.PROXY_TEMPLATE);47 }48 }49 }50});51Y.extend(ResizeProxy, Y.Plugin.Base, {52 /**53 * Template used to create the resize proxy.54 *55 * @property PROXY_TEMPLATE56 * @type {String}57 */58 PROXY_TEMPLATE: '<div class="'+CSS_RESIZE_PROXY+'"></div>',59 initializer: function() {60 var instance = this;61 instance.afterHostEvent('resize:start', instance._afterResizeStart);62 instance.beforeHostMethod('_resize', instance._beforeHostResize);63 instance.afterHostMethod('_resizeEnd', instance._afterHostResizeEnd);64 },65 destructor: function() {66 var instance = this;67 instance.get(PROXY_NODE).remove(true);68 },69 _afterHostResizeEnd: function(event) {70 var instance = this,71 drag = event.dragEvent.target;72 // reseting actXY from drag when drag end73 drag.actXY = [];74 // if proxy is true, hide it on resize end75 instance._syncProxyUI();76 instance.get(PROXY_NODE).hide();77 },78 _afterResizeStart: function(event) {79 var instance = this;80 instance._renderProxy();81 },82 _beforeHostResize: function(event) {83 var instance = this,84 host = this.get(HOST);85 host._handleResizeAlignEvent(event.dragEvent);86 // if proxy is true _syncProxyUI instead of _syncUI87 instance._syncProxyUI();88 return new Y.Do.Prevent();89 },90 /**91 * Render the <a href="ResizeProxy.html#attr_proxyNode">proxyNode</a> element and92 * make it sibling of the <a href="Resize.html#attr_node">node</a>.93 *94 * @method _renderProxy95 * @protected96 */97 _renderProxy: function() {98 var instance = this,99 host = this.get(HOST),100 proxyNode = instance.get(PROXY_NODE);101 if (!proxyNode.inDoc()) {102 host.get(WRAPPER).get(PARENT_NODE).append(103 proxyNode.hide()104 );105 }106 },107 /**108 * Sync the proxy UI with internal values from109 * <a href="ResizeProxy.html#property_info">info</a>.110 *111 * @method _syncProxyUI112 * @protected113 */114 _syncProxyUI: function() {115 var instance = this,116 host = this.get(HOST),117 info = host.info,118 activeHandleNode = host.get(ACTIVE_HANDLE_NODE),119 proxyNode = instance.get(PROXY_NODE),120 cursor = activeHandleNode.getStyle(CURSOR);121 proxyNode.show().setStyle(CURSOR, cursor);122 host.delegate.dd.set(DRAG_CURSOR, cursor);123 proxyNode.sizeTo(info.offsetWidth, info.offsetHeight);124 proxyNode.setXY([ info.left, info.top ]);125 }126});127Y.namespace('Plugin');128Y.Plugin.ResizeProxy = ResizeProxy;...

Full Screen

Full Screen

resize-proxy.js

Source:resize-proxy.js Github

copy

Full Screen

1YUI.add('resize-proxy', function(Y) {2var ACTIVE_HANDLE_NODE = 'activeHandleNode',3 CURSOR = 'cursor',4 DRAG_CURSOR = 'dragCursor',5 HOST = 'host',6 PARENT_NODE = 'parentNode',7 PROXY = 'proxy',8 PROXY_NODE = 'proxyNode',9 RESIZE = 'resize',10 RESIZE_PROXY = 'resize-proxy',11 WRAPPER = 'wrapper',12 getCN = Y.ClassNameManager.getClassName,13 CSS_RESIZE_PROXY = getCN(RESIZE, PROXY);14/**15Adds a `proxyNode` attribute and resizes it instead of the actual node. __very similar to DDProxy__16 var resize = new Y.Resize({17 //Selector of the node to resize18 node: '#demo'19 });20 resize.plug(Y.Plugin.ResizeProxy);21 22@class ResizeProxy23@module resize24@submodule resize-proxy25@constructor26@extends Plugin.Base27@namespace Plugin28*/29function ResizeProxy() {30 ResizeProxy.superclass.constructor.apply(this, arguments);31}32Y.mix(ResizeProxy, {33 NAME: RESIZE_PROXY,34 NS: PROXY,35 ATTRS: {36 /**37 * The Resize proxy element.38 *39 * @attribute proxyNode40 * @default Generated using an internal HTML markup41 * @type String|Node42 */43 proxyNode: {44 setter: Y.one,45 valueFn: function() {46 return Y.Node.create(this.PROXY_TEMPLATE);47 }48 }49 }50});51Y.extend(ResizeProxy, Y.Plugin.Base, {52 /**53 * Template used to create the resize proxy.54 *55 * @property PROXY_TEMPLATE56 * @type {String}57 */58 PROXY_TEMPLATE: '<div class="'+CSS_RESIZE_PROXY+'"></div>',59 initializer: function() {60 var instance = this;61 instance.afterHostEvent('resize:start', instance._afterResizeStart);62 instance.beforeHostMethod('_resize', instance._beforeHostResize);63 instance.afterHostMethod('_resizeEnd', instance._afterHostResizeEnd);64 },65 destructor: function() {66 var instance = this;67 instance.get(PROXY_NODE).remove(true);68 },69 _afterHostResizeEnd: function(event) {70 var instance = this,71 drag = event.dragEvent.target;72 // reseting actXY from drag when drag end73 drag.actXY = [];74 // if proxy is true, hide it on resize end75 instance._syncProxyUI();76 instance.get(PROXY_NODE).hide();77 },78 _afterResizeStart: function(event) {79 var instance = this;80 instance._renderProxy();81 },82 _beforeHostResize: function(event) {83 var instance = this,84 host = this.get(HOST);85 host._handleResizeAlignEvent(event.dragEvent);86 // if proxy is true _syncProxyUI instead of _syncUI87 instance._syncProxyUI();88 return new Y.Do.Prevent();89 },90 /**91 * Render the <a href="ResizeProxy.html#attr_proxyNode">proxyNode</a> element and92 * make it sibling of the <a href="Resize.html#attr_node">node</a>.93 *94 * @method _renderProxy95 * @protected96 */97 _renderProxy: function() {98 var instance = this,99 host = this.get(HOST),100 proxyNode = instance.get(PROXY_NODE);101 if (!proxyNode.inDoc()) {102 host.get(WRAPPER).get(PARENT_NODE).append(103 proxyNode.hide()104 );105 }106 },107 /**108 * Sync the proxy UI with internal values from109 * <a href="ResizeProxy.html#property_info">info</a>.110 *111 * @method _syncProxyUI112 * @protected113 */114 _syncProxyUI: function() {115 var instance = this,116 host = this.get(HOST),117 info = host.info,118 activeHandleNode = host.get(ACTIVE_HANDLE_NODE),119 proxyNode = instance.get(PROXY_NODE),120 cursor = activeHandleNode.getStyle(CURSOR);121 proxyNode.show().setStyle(CURSOR, cursor);122 host.delegate.dd.set(DRAG_CURSOR, cursor);123 proxyNode.sizeTo(info.offsetWidth, info.offsetHeight);124 proxyNode.setXY([ info.left, info.top ]);125 }126});127Y.namespace('Plugin');128Y.Plugin.ResizeProxy = ResizeProxy;...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var j = require('j');2 desiredCapabilities: {3 }4});5driver.waitForElementByAccessibilityId('ComputeSumButton', 5000).click();6driver.elementByAccessibilityId('Answer').text().then(function (text) {7 console.log('The answer is: ' + text);8});9driver.quit();10{11 "dependencies": {12 }13}14{15 "globals": {16 }17}18{19 "globals": {

Full Screen

Using AI Code Generation

copy

Full Screen

1var j = require('wd').promiseChainRemote();2j.init({browserName: 'chrome'});3j.setImplicitWaitTimeout(5000);4j.title().then(function(title) {5 console.log("Title is: " + title);6});7j.quit();

Full Screen

Using AI Code Generation

copy

Full Screen

1var j = require('selenium-webdriver');2j.promise.USE_PROMISE_MANAGER = false;3var wd = require('wd');4var proxy = require('selenium-webdriver/proxy');5var desired = {6};7driver.configureHttp({8});9driver.init(desired).then(function () {10 console.log("driver created");11 .execute("mobile: shell", {command: 'pm list packages'})12 .then(function (output) {13 console.log('output', output);14 })15 .catch(function (err) {16 console.log('err', err);17 });18});19var j = require('selenium-webdriver');20j.promise.USE_PROMISE_MANAGER = false;21var wd = require('wd');22var proxy = require('selenium-webdriver/proxy');23var desired = {24};25driver.configureHttp({26});27driver.init(desired).then(function () {28 console.log("driver created");29 .execute("mobile: shell", {command: 'pm list packages'})30 .then(function (output) {31 console.log('output', output);32 })33 .catch(function (err) {34 console.log('err', err);35 });36});

Full Screen

Using AI Code Generation

copy

Full Screen

1var j = require('java');2var AppiumBaseDriver = j.import('io.appium.java_client.AppiumDriver');3j.classpath.push('appium-base-driver-3.0.0-SNAPSHOT.jar');4var driver = new AppiumBaseDriver();5var proxy = driver.proxy();6var j = require('java');7var AppiumBaseDriver = j.import('io.appium.java_client.AppiumDriver');8j.classpath.push('appium-base-driver-3.0.0-SNAPSHOT.jar');9var driver = new AppiumBaseDriver();10var proxy = driver.proxy();11public class Test {12 public static void main(String[] args) {13 AppiumDriver driver = new AppiumDriver();14 Proxy proxy = driver.proxy();15 }16}17public class Test {18 public static void main(String[] args) {19 AppiumDriver driver = new AppiumDriver();20 Proxy proxy = driver.proxy();21 }22}

Full Screen

Using AI Code Generation

copy

Full Screen

1var proxy = require('appium-base-driver').jproxy;2var driver = proxy.getDriver('4723');3var session = driver.getSession();4var sessionId = session.getId();5var element = driver.findElementByAccessibilityId('test');6element.click();

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Appium Base Driver automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful