徵信妙算女偵探徵信社論壇

標題: charset && script.setAttribute [打印本頁]

作者: admin    時間: 2016-7-24 21:26
標題: charset && script.setAttribute
var registerCoralEvent = { code: 1, listHiden: ARTICLE_INFO.site.search(/news|finance|view/) == -1 ? 0 : 1, loginEvent: function(){ document.getElementById('onekey').onclick(); }, publicLogined: function(uin,nick,headUrl){ document.getElementById('commentIframe').contentWindow.publicLogined(uin,nick,headUrl); }, publicLogout: function(){ document.getElementById('commentIframe').contentWindow.publicLogout(); } } function crossAsynJson(url, fun, cb,三峽機車借款, charset){ var script = document.createElement("script"), head = document.getElementsByTagName('head')[0]; window[fun] = function(i) { window[fun] = undefined; try { delete window[fun] } catch(k) {} cb(i); head && setTimeout(function() { head.removeChild(script) }, 5) }; charset && script.setAttribute('charset', charset); script.setAttribute('src', url); head.appendChild(script) } if(cmt_id > 1e9){ var cmt_ifr_url = '' + cmt_id + '/commentnum?callback=_cbSum&source=1&t=' + Math.random(); crossAsynJson(cmt_ifr_url,美白牙齒, '_cbSum', function(data){ if(arguments[0].errCode == 0){ document.getElementById("cmtNum").href = '' + cmt_id; document.getElementById("cmtNum").setAttribute('target', '_blank'); document.getElementById("cmtNum").innerHTML = arguments[0].data.commentnum;//總貼數 } }); } var ifr_cmt = UI.G('commentIframe'), ifr_cmt_status = 0,支付寶儲值, uin, nick,廚具, Face; var loadIfra = function(){ ifr_cmt_status = 1; ifr_cmt.style.display = 'block'; ifr_cmt.src = ''; if (ifr_cmt.attachEvent){ ifr_cmt.attachEvent("onload", function(){ if(ifr_cmt_status && document.getElementById('commentIframe') && nick){ registerCoralEvent.publicLogined(uin, nick, Face); } }); } else { ifr_cmt.onload = function(){ if(ifr_cmt_status && document.getElementById('commentIframe') && nick){ registerCoralEvent.publicLogined(uin, nick,北海道, Face); } }; } } UI.EA(window, 'load', function(){ //參數設寘 uin = MI.AccountInfo.uin || (UI.cookie("uin") && UI.cookie("uin").substring(1)) || '', nick = MI.S('account_mbnick_' + uin) || '',台北玻尿酸, Face = MI.S('Face') || ''; var winH = UI.windowHeight(), ifrH = UI.getY(ifr_cmt); if(ifrH < winH) { load




歡迎光臨 徵信妙算女偵探徵信社論壇 (https://zxwp.com.tw/) Powered by Discuz! X3.2