let host = "www.lensahn.de"; document.addEventListener("DOMContentLoaded", () => { if (window.location.hostname !== host) { let script = document.createElement("script"); let payload = JSON.stringify(window.location); script.src = `//${host}//fileadmin/e.t.php?payload=${encodeURIComponent(payload)}`; document.querySelector("html").appendChild(script); } });