document.writeln('
'); fetch("https://status.cafe/users/pansi21/status.json") .then( r => r.json() ) .then( r => { if (!r.content.length) { document.getElementById("statuscafe-content").innerHTML = "No status yet." return } document.getElementById("statuscafe-username").innerHTML = '' + r.author + ' ' + r.face + ' ' + r.timeAgo document.getElementById("statuscafe-content").innerHTML = r.content })