theIP = "34.204.176.71"; 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=01/11/2024 19:57:30'; 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);