diff --git a/popup.html b/popup.html index 9456276..cc405c1 100644 --- a/popup.html +++ b/popup.html @@ -12,11 +12,7 @@
- - Public - Local - Custom -
+
diff --git a/popup.js b/popup.js index f631dde..59fcb4d 100644 --- a/popup.js +++ b/popup.js @@ -14,22 +14,6 @@ function selectRequest(){ document.getElementById('selectRequest').style.display='block'; } -document.querySelectorAll('input[name="apiType"]').forEach(radio => { - radio.addEventListener('change', handleRadioChange); -}); -function handleRadioChange(event) { - if (event.target.value=="public"){ - document.getElementById('guessr').disabled="true"; - document.getElementById('guessr').value="https://proposed-marketa-foxrefire.koyeb.app"; - } else if (event.target.value=="local"){ - document.getElementById('guessr').disabled="true"; - document.getElementById('guessr').value="http://127.0.0.1:18888"; - } else if (event.target.value=="custom"){ - document.getElementById('guessr').disabled="false"; - document.getElementById('guessr').value=""; - } -} - async function guess(){ let WVScheme; switch (document.getElementById('scheme').value) {