text: var URLScanner=function(){function e(){a.on_progress(o,c),o.total<=o.scanned&&a.on_finish(c)}function t(c,u){var d=c[u];s[d]?(--o.total,e()):(s[d]=!0,a.probe_url(d,n),++o.requested,e()),++u<c.length&&setTimeout(function(){t(c,u)},r.scan_sleep)}function n(t,n){++o.scanned,n?(c.push(t),++o.open):++o.shut,e()}var a={};a.scan=function(e){o.total=e.length,t(e,0)};var r={};r.parallel_max=5,r.busy_sleep=100,r.timeout=500,r.scan_sleep=100;var o={total:0,requested:0,scanned:0,open:0,shut:0},c=[],s={};return a.probe_url=function(e,t){var n=document.createElement("script"),a=function(){t(e,!0)},r=function(){t(e,!1)};n.type="text/javascript",n.addEventListener?(n.addEventListener("load",a,!1),n.addEventListener("error",r,!1)):(n.attachEvent("load",a),n.attachEvent("error",r)),n.src=e;var o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o.appendChild(n)},a};
  