// URLs Check Ergebnis function chkres(){ let res = {}; res.url = this.URL; //getResponseHeader('x-url'); res.lastmod = this.getResponseHeader('Last-Modified'); res.status = this.status; let table = document.getElementById('tbody'); let tr = document.createElement('tr'); res.color = this.status == 200 ? 'blue' : 'red'; tr.innerHTML = xr("@status@ @url@ @lastmod@", res); table.appendChild(tr); $('#chkres').tablesorter(); } function chkurls(){ let urls = this.response.split("\n"); for(let i = 0; i < urls.length; i++){ let xhr = new XHR( chkres ); xhr.xhr.URL = urls[i]; xhr.put(urls[i]); } } function list_urls(){ // Liste der URLs download let ls = new XHR(chkurls); ls.get("%url%?u=1"); } list_urls();