")>-1){var t=document.createElement('section');t.innerHTML=input;var scripts=t.querySelectorAll('script');[].forEach.call(scripts,function(script) {insertScript(script);});}} var insertScript=function(sc){var s=document.createElement('script');s.type='text/javascript';if(sc.src){s. onerror=function(){console.log('初始化脚本'+sc.src+'失败');};s.src=sc.src;}else{s.textContent=sc.innerText;}document.head.appendChild (s);sc.parentNode.removeChild(sc);} 尝试{var cacheData=sessionStorage.getItem(window.lazyKey);如果(cacheData!=null){cacheData=JSON.parse(cacheData);window.addEventListener('DOMContentLoaded',function(e){for(var j=0;j
留言