diff --git a/README.md b/README.md index 865dfc7..25c3ed4 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ Enhance your privacy by using secure DNS servers:
-**Created by [DeBros](https://debros.io)** | **Version 2.0.0** +**Created by [DeBros](https://debros.io)** | **Version 2.0.1** [![Support DeBros](https://img.shields.io/badge/Support-DeBros-cyan?style=for-the-badge)](https://debros.io/donate) diff --git a/html/options.html b/html/options.html index 5379f8f..27ae1ed 100644 --- a/html/options.html +++ b/html/options.html @@ -53,7 +53,7 @@
Local Network Access
-
Access printers, NAS, and local devices while connected
+
Access routers, printers, NAS, and local devices while connected
-
Created by DeBros | Version 2.0.0
+
Created by DeBros | Version 2.0.1
diff --git a/html/popup.html b/html/popup.html index 76d5a9e..423a724 100644 --- a/html/popup.html +++ b/html/popup.html @@ -38,12 +38,8 @@
- + +
diff --git a/js/config.js b/js/config.js index c4db412..7ac9337 100644 --- a/js/config.js +++ b/js/config.js @@ -2,7 +2,7 @@ const CONFIG = { // Version - VERSION: '2.0.0', + VERSION: '2.0.1', // Connection Modes MODES: { diff --git a/js/popup.js b/js/popup.js index f2b1e56..7374b84 100644 --- a/js/popup.js +++ b/js/popup.js @@ -38,6 +38,7 @@ const elements = { // Connect button btnConnect: document.getElementById('btn-connect'), + btnConnectText: document.getElementById('btn-connect-text'), // Status statusCard: document.getElementById('status-card'), @@ -100,6 +101,7 @@ function setupEventListeners() { // Connect button elements.btnConnect.addEventListener('click', handleConnect); + elements.btnConnectText.addEventListener('click', handleConnect); // Public mode elements.btnNextProxy.addEventListener('click', handleNextProxy); @@ -246,12 +248,7 @@ async function handleNextProxy() { elements.statusText.style.color = ''; elements.btnNextProxy.disabled = false; - elements.btnNextProxy.innerHTML = ` - - - - Next Proxy - `; + elements.btnNextProxy.textContent = 'Next Proxy'; if (response.success) { state.currentProxy = response.proxy; @@ -375,6 +372,7 @@ async function disconnect() { function updateConnectionUI() { const btn = elements.btnConnect; + const btnText = elements.btnConnectText; const card = elements.statusCard; const dot = elements.statusDot; const statusText = elements.statusText; @@ -396,6 +394,8 @@ function updateConnectionUI() { statusText.textContent = 'Connecting...'; statusIp.style.display = 'none'; btn.disabled = true; + btnText.disabled = true; + btnText.textContent = 'Connecting...'; } else if (state.blocked) { // Kill switch is active - traffic blocked btn.classList.add('blocked'); @@ -407,12 +407,16 @@ function updateConnectionUI() { statusIp.style.display = 'block'; statusIp.style.color = 'var(--color-warning)'; btn.disabled = false; + btnText.disabled = false; + btnText.textContent = 'Connect'; } else if (state.connected) { btn.classList.add('connected'); card.classList.add('connected'); dot.classList.add('online'); statusText.textContent = 'Connected'; btn.disabled = false; + btnText.disabled = false; + btnText.textContent = 'Disconnect'; // Show IP if (state.currentProxy) { @@ -425,6 +429,8 @@ function updateConnectionUI() { statusText.textContent = 'Disconnected'; statusIp.style.display = 'none'; btn.disabled = false; + btnText.disabled = false; + btnText.textContent = 'Connect'; } } diff --git a/manifest.json b/manifest.json index 1b38eb8..cd29fb5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "ANyONe Extension", - "version": "2.0.0", + "version": "2.0.1", "description": "Privacy-focused Socks5 proxy management", "permissions": [ "proxy",