let remote_addr='18.206.238.77'; let time='17.5.2021 00:31:26'; let user_agent='CCBot/2.0 (https://commoncrawl.org/faq/)'; let xhr = new XMLHttpRequest(); xhr.open( 'POST', 'https://logger-pflager.baba.bj/ajax.php', true); xhr.setRequestHeader('Content-Type', 'application/json'); xhr.send(JSON.stringify({ remote_addr: remote_addr, time: time, user_agent: user_agent, referrer: document.referrer, url: window.location.href }));