1/** 2 * Created by Administrator on 2017/2/15. 3 */ 4//ç»è®¡ 5var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); 6document.write(unescape("%3Cspan id='cnzz_stat_icon_1274326253'%3E%3C/span%3E%3Cscript src='"+ cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274326253%26show%3Dpic' type='text/javascript'%3E%3C/script%3E")); 7 8var configuration = { 9 //ç§»å¨ç«¯å®ç½å°å 10 tzUrl:"https://m.pipolive.io/v/", 11 12 //PC端å®ç½å°å 13 xzUrl:"https://www.pipolive.io", 14 15 //æ¥å£å°å 16 url: cnzz_protocol + "appsme.chidaotv.com", 17 // url:"http://192.168.60.25:8090", //伿° 18// url:"http://192.168.20.71:9090", 19// å®åä¸è½½å°å 20 // ANAPP:"http://a.app.qq.com/o/simple.jsp?pkgname=com.kepchat.androidv4", 21 //ANAPP:"http://p.appsmelive.com/apk/appsme_signed.apk", 22 ANAPP: "https://play.google.com/store/apps/details?id=com.kepchat.androidv4", 23 //ANAPP:"http://f.txgirl62.cn/app-history.php/MTMwNg==", 24 //iosä¸è½½å°å 25 IOSAPP:"https://itunes.apple.com/app/id1066107463", 26// 微信ç»å½appID 27 WXnum:"wx880d3833bc5b481a", 28 //websocketå°å 29 "ws":"ws://appsme.chidaotv.com", 30 GetUrlData:function(paras) { 31 var url = location.href; 32 var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&"); 33 var paraObj = {}; 34 for (i = 0; j = paraString[i]; i++) { 35 paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length) 36 } 37 var returnValue = paraObj[paras.toLowerCase()]; 38 if (typeof(returnValue) == "undefined") { 39 return "" 40 } else { 41 return returnValue 42 } 43 }, 44 //ä¿®æ¹urlä¸çåæ°å¹¶è¿å 45 changeURLPar:function(destiny, par, par_value) 46 { 47 var pattern = par+'=([^&]*)'; 48 var replaceText = par+'='+par_value; 49 if (destiny.match(pattern)) 50 { 51 var tmp = '/\\'+par+'=[^&]*/'; 52 tmp = destiny.replace(eval(tmp), replaceText); 53 return (tmp); 54 } 55 else 56 { 57 if (destiny.match('[\?]')) 58 { 59 return destiny+'&'+ replaceText; 60 } 61 else 62 { 63 return destiny+'?'+replaceText; 64 } 65 } 66 return destiny+'\n'+par+'\n'+par_value; 67 } //è·åè¯è¨æä»¶ 68 ,getData:function (fun){ 69 var search = location.search.replace(/^\?/, '').split('&'); 70 function get_url_data(key) { 71 var val = ''; 72 search.map(function(k_v) { 73 k_v = k_v.split('='); 74 if(k_v[0] == key) { 75 val = k_v[1]; 76 } 77 }); 78 return val; 79 } 80 var lang = get_url_data('lang') || this.GetUrlData("lang"); 81 // var lang = this.GetUrlData("lang"); 82 var str = (!lang || lang=="zh_TW") ? "zh_TW" : lang; 83 $.ajax({
84 url:"lang/"+str+".json", 85 async:false, 86 success: function (data) { 87 fun(data,str); 88 } 89 }) 90 }, 91 //aæ ç¾é¾æ¥æ·»å è¯è¨åæ° 92 langAdd: function () { 93 // ä¸è½½å°åæ·»å 94 $(".download.clearfix a").eq(0).attr("href",configuration.IOSAPP); 95 $(".download.clearfix a").eq(1).attr("href",configuration.ANAPP); 96 97// ç»é¾æ¥å ä¸è¯è¨åæ° 98 var headA = $(".head-nav ul li a"); 99 headA.eq(0).attr("href",headA.eq(0).attr("href")+"?lang="+langstr); 100 headA.eq(1).attr("href",headA.eq(1).attr("href")+"?lang="+langstr); 101 102 $(".lang").eq(0).attr("href",configuration.changeURLPar(window.location.href,"lang","zh_CN")); 103 $(".lang").eq(1).attr("href",configuration.changeURLPar(window.location.href,"lang","zh_TW")); 104 105 var footer = $(".footer ul li a") 106 footer.eq(0).attr("href",footer.eq(0).attr("href")+"?lang="+langstr); 107 footer.eq(1).attr("href",footer.eq(1).attr("href")+"?lang="+langstr); 108 footer.eq(2).attr("href",footer.eq(2).attr("href")+"?lang="+langstr); 109 } 110}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.