Content deleted Content added
Aaron Schulz (talk | contribs) m |
Aaron Schulz (talk | contribs) debug |
||
Line 50:
else
{
document.getElementById('bodyContent').innerHTML = '<strong><span style="color:darkblue;">
}
}
Line 59:
var Done=0;
var xmlpage = xml_http.responseText.split("<div id='article'>")[1].split('<!-- end content -->')[0];
alert(xmlpage);
//UTC done
if (xmlpage.indexOf('<ul>') == -1)
Line 82 ⟶ 83:
var reason = li_html.split('<span class="comment">(')[1].split(')</span>')[0];
reason = reason.split('[edit=')[0].split('[move=')[0].split(' [edit=')[0].split(' [move=')[0];
if ( reason=='' ) reason = 'none given';
document.getElementsByTagName('li')[li_prot].innerHTML += '<br>[<strong>' + totdays + ' days old</strong>] <i>(' + reason + ')</i>'; }
}
|