1 line
812 B
JavaScript
Executable file
1 line
812 B
JavaScript
Executable file
function m(e,t,n){t=document;n=t.createElement("p");n.innerHTML=e;e=t.createDocumentFragment();while(t=n.firstChild)e.appendChild(t);return e}function $(e,t){e=e.match(/^(\W)?(.*)/);return(t||document)["getElement"+(e[1]?e[1]=="#"?"ById":"sByClassName":"sByTagName")](e[2])}function j(e){for(e=0;e<4;e++)try{return e?new ActiveXObject([,"Msxml2","Msxml3","Microsoft"][e]+".XMLHTTP"):new XMLHttpRequest}catch(t){}}function r(e){var t="complete";if(document.readyState!==t)if(rl===1)re.push(e);else{rl=1;re.push(e);var n=setInterval(function(){if(document.readyState!==t)return;clearInterval(n);while(re.length)re.shift()();re=null},50)}else e()}function h(e,t){var n=j();n.open("GET",e,true);n.onreadystatechange=function(){if(n.readyState==4)if(n.status==200)t(JSON.parse(n.responseText))};n.send()}var re=[],rl; |