whoiwatch/static/js/custom.js
2019-03-18 23:47:05 +11:00

13 lines
387 B
JavaScript

var domain = "http://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)