0) { window.__allowLoadResFromMp = true; window.__loadAllResFromMp = true; document.documentElement.style.boxShadow = ‘inset 0 0 15px green’; } window.logs.pagetime[‘html_begin’] = (+new Date()); window.LANG= “zh_CN”; ]]> “, “<", "<", "¥", "¥", "&", "&"]; var replaceReverse = ["&", "&", "¥", "¥", "", ">“, ” “, ” “, ‘”‘, “””, “‘”, “'”]; var target; if (encode) { target = replaceReverse; } else { target = replace; } for (var i=0,str=this;i< target.length;i+= 2) { str=str.replace(new RegExp(target[i],'g'),target[i+1]); } return str; }; window.isInWeixinApp = function() { return /MicroMessenger/.test(navigator.userAgent); }; window.getQueryFromURL = function(url) { url = url || 'http://qq.com/s?a=b#rd'; var tmp = url.split('?'), query = (tmp[1] || "").split('#')[0].split('&'), params = {}; for (var i=0; i 0) { var p = window.vConsolePlugins.shift(); window.vConsole.addPlugin(p); } if (!window.vConsole.isInited) { window.vConsole._render(); window.vConsole._mockTap(); window.vConsole._bindEvent(); window.vConsole._autoRun(); } } function _addVConsole(uri, cb) { totalCount++; var node = document.createElement('SCRIPT'); node.type = 'text/javascript'; node.src = uri; node.setAttribute('nonce', ''); if (cb) { node.onload = cb; } document.getElementsByTagName('head')[0].appendChild(node); } if ( (document.cookie && document.cookie.indexOf('vconsole_open=1') > -1) || location.href.indexOf(‘vconsole=1’) > -1 ) { window.vConsolePlugins = []; _addVConsole(‘//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.2.2/vconsole.min531a3f.js’, function() { _addVConsole(‘//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/plugin/vconsole-mpopt/1.0.1/vconsole-mpopt531a3f.js’, _loadVConsolePlugin); }); } try { var adIframeUrl = localStorage.getItem(‘__WXLS_ad_iframe_url’); if (window === top) { if (adIframeUrl) { if (navigator.userAgent.indexOf(‘iPhone’) > -1) { var img = new Image(); img.src = adIframeUrl; } else { var link = document.createElement(‘link’); link.rel = ‘prefetch’; link.href = adIframeUrl; document.getElementsByTagName(‘head’)[0].appendChild(link); } } } } catch (err) { } })(); ]]>

Source