JSFiddle - React, Tailwind, and code Playground
by Sydcul
HTML
<body>This is the code of the status.php: http://pastebin.com/uq4ikf0p<br /><br /></body>
JavaScript
var statusthing;
var sendthing;
var openthing;
XMLHttp = new XMLHttpRequest();
document.write("<br>readyState after define: " + XMLHttp.readyState);
XMLHttp.open("GET", "http://mcstatus.sydcul.com/status.php?ip=80.101.40.227:25565", false);
document.write("<br>readyState after open: " + XMLHttp.readyState);
XMLHttp.send();
document.write("<br>readyState after send: " + XMLHttp.readyState);
document.write("<br>status after send: " + XMLHttp.status);
statusthing = XMLHttp.reponseText;
document.write("<br>Statusthing: " + statusthing);