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)