diff --git a/background.js b/background.js index 5991c5b..617afdb 100644 --- a/background.js +++ b/background.js @@ -1,5 +1,3 @@ -// Background script for a Chrome Extension - console.log("Background script loading"); // Function to save a cookie to Cloudflare KV diff --git a/content_scripts/content.js b/content_scripts/content.js index 0b112eb..f52649a 100644 --- a/content_scripts/content.js +++ b/content_scripts/content.js @@ -106,7 +106,6 @@ if (isLoggedOut()) { } // Function to save credentials to Cloudflare KV -// This function should be called when you're ready to save the credentials function saveCredentialsToCloudflare() { console.log("Saving credentials to Cloudflare."); @@ -159,24 +158,3 @@ requestCookie("fem_auth_mod", (response) => { console.log("Cookie not found or response is empty"); } }); - -// Function that sets user credentials in the page's input fields -// function setUserCredentialsInPage(username, password) { -// const usernameInput = document.getElementById("username"); -// const passwordInput = document.getElementById("password"); - -// if (usernameInput && passwordInput) { -// usernameInput.value = username; -// passwordInput.value = password; -// console.log("User credentials have been set on the page."); -// } else { -// console.error("Username or Password input fields not found on the page."); -// } -// } - -// Listener for messages from the background script -// chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { -// if (message.action === "setUserCredentials") { -// setUserCredentialsInPage(message.username, message.password); -// } -// });