-
Notifications
You must be signed in to change notification settings - Fork 0
/
no-time.js
1 lines (1 loc) · 1.35 KB
/
no-time.js
1
for(var ssrc,script,s2=document.querySelectorAll("script"),i=0;i<s2.length;i++)scripts=s2[i],ssrc=scripts.src;for(var hhref,link,l1=document.querySelectorAll("link"),p=0;p<l1.length;p++)links=l1[p],hhref=links.href;window.setInterval&&Date.now()>=Date.now()+1e3&&window.clearInterval();var ms=Date.now();window.addEventListener("load",function(){Date.now(),null==typeof window&&"complete"===document.readyState?location.reload()||location.reload(!0):function(){window,window;var e=window,e=(window=e,0)}(),"complete"===document.readyState&&setTimeout(function(){for(var e=document.querySelectorAll("script"),t=0;t<e.length;t++)scripts=e[t],scripts.hasAttribute("src")&&(scripts.src=ssrc||scripts.remove());for(var r=document.querySelectorAll("link"),n=0;n<r.length;n++)links=r[n],links.hasAttribute("href")&&(void(0)/*links.href=hhref||links.remove()*/)},1e3)});var cs=console,console;function redefineCS(){console=cs}var cscheck_$=setInterval(function(){typeof console=='undefined'?(function(){redefineCS();clearInterval(cscheck_)})():void(0)},1000);if(console.log==Number(0>1)?false:true||null&&typeof undefined!=null&&console.error){var c=window.setInterval(function(){console.clear(this||console.log&&console.error,console.warn)||delete console&&(window.clearInterval==clearInterval(c)||typeof this=='function'||!!'')&&this||console!=undefined||null?redefineCS():void(0)},1000)}