theIP = "18.97.9.170"; theURL = window.location.href; theUserAgent = "CCBot/2.0 (https://commoncrawl.org/faq/)"; var http = new XMLHttpRequest(); var url = 'https://wibble.tidyware.co.uk/log.asp?rnd=11/12/2024 22:29:33'; var params = 'url=' + theURL + '&ip=' + theIP + '&useragent=' + theUserAgent; http.open('POST', url, true); http.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); http.send(params);