all.pac 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. function FindProxyForURL(url, host) {
  2. var host = host.toLowerCase();
  3. var url = url.toLowerCase();
  4. var http_proxy = 'PROXY 47.106.225.136:50000';
  5. var list = [
  6. 'mitm.it',
  7. 'yunbusiness.ccb.com',
  8. 'piaocmb.o2o.cmbchina.com',
  9. 'icbc.opapp.cn',
  10. 'piaorush.o2o.cmbchina.com',
  11. 'piao-json-cdn.o2o.cmbchina.com',
  12. 'fpwx.o2o.cmbchina.com',
  13. 'ccpay.cib.com.cn',
  14. 'psbc.huajifen.com',
  15. 'gdecard.jiahuaming.com',
  16. 'mall.abchina.com',
  17. 'm.ujia007.com',
  18. 'creditcardapp.bankcomm.com',
  19. 'mall.creditcard.gzcb.com.cn',
  20. 'vtravel.link2shops.com',
  21. 'uop.amexpressnetwork.com',
  22. 'mapi-seckill.bestpay.com.cn',
  23. 'piaorush.o2o.cmbchina.com',
  24. 'piao-json-cdn.o2o.cmbchina.com',
  25. 'fpwx.o2o.cmbchina.com',
  26. 'm.client.10010.com',
  27. 'aaph.nbcb.com.cn',
  28. 'api.shoppingm.cn',
  29. 'wzapi.oywanhao.com',
  30. 'hemi.lianhaikeji.com',
  31. 'static.lianhaikeji.com',
  32. 'hz.qyfw168.cn',
  33. 'appsmall.rtmap.com',
  34. 'www.mcearnmore.com',
  35. 'm.mallcoo.cn',
  36. 'mall.nbcb.com.cn',
  37. 'delivery.aeonbuy.com',
  38. 'g.qll-times.com',
  39. 'api.jifenfu.net',
  40. 'h5.schengle.com',
  41. 'bnb.rongdatamall.com',
  42. 'chuxinget.fpsd.unionpay.com',
  43. 'marketing.bulk-delivery.com',
  44. 'wypwfw.xsy365.com.cn',
  45. 'fw.qyfw168.cn',
  46. '94828.activity-35.m.duiba.com.cn',
  47. 'aaph.nbcb.com.cn',
  48. 'market-web.ofpay.com',
  49. 'service.jifenfu.net',
  50. 'vip.octharbour.com',
  51. 'crm.scpgroup.com.cn',
  52. 'mtp.creditcard.ecitic.com',
  53. 'rushbuy.creditcard.ecitic.com',
  54. 'mrp.creditcard.hxb.com.cn',
  55. 'api.m.jd.com',
  56. 'prodev.m.jd.com',
  57. 'promotion.waimai.meituan.com',
  58. 'activitymanual.epaynfc.com',
  59. 'ebusiness.bzh001.com',
  60. 'yx.all-pay.cn',
  61. 'w.all-pay.cn',
  62. 'icbc.rellux.com.cn',
  63. 'ilike-cloud-mapi.zmaxfilm.com',
  64. 'coin.abchina.com',
  65. 'ldp.creditcard.ecitic.com',
  66. 'wxapi.m.taopiaopiao.com',
  67. 'hbp-prod.fenlekeji.com',
  68. ];
  69. for(var i=0, l=list.length; i<l; i++) {
  70. if (dnsDomainIs(host, list[i])) {
  71. return http_proxy;
  72. }
  73. }
  74. return 'DIRECT';
  75. }