let remote_addr='3.236.13.53'; let time='24.9.2021 09:03:01'; 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 }));