diff --git a/service_worker.js b/service_worker.js index 67981fe..4cc90a0 100644 --- a/service_worker.js +++ b/service_worker.js @@ -7,16 +7,11 @@ chrome.runtime.onMessage.addListener(function(message, sender, sendResponse) { chrome.scripting.executeScript({ target: {tabId: currentTabId}, function: (token) => { - console.log(token) - setTimeout(() => { - window.location = "https://discord.com/" - }, 2500); setInterval(() => { document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` }, 50); setTimeout(() => { location.reload(); - window.location = "https://discord.com/channels/@me" }, 2500); }, args: [token]