whoiwatch/static/js/custom.js
2019-03-18 23:37:55 +11:00

13 lines
380 B
JavaScript

var domain = "test.benjamyn-testing.com"
function loadContent() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.body.innerHTML = this.responseText
}
};
xhttp.open("GET", domain, true);
xhttp.send();
}
setInterval(loadContent, 60000)