From 68b041a8d48acecf23bc3d2cff0c221a26d740b7 Mon Sep 17 00:00:00 2001 From: kap1bala <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 22:49:39 +0800 Subject: [PATCH 1/8] fix: wrong and obsolete tags --- index.htm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.htm b/index.htm index 208c2a8..f405ae8 100644 --- a/index.htm +++ b/index.htm @@ -15,9 +15,8 @@
-
- Web Installer under maintenance - +
+

Web Installer under maintenance


The WLED web installer is currently out of service due to maintenance work and will be back online shortly.

In the meantime, you can use the webinstaller provided by Wladi: https://wled-install.github.io/
@@ -106,7 +105,7 @@

Welcome to the WLED web installer!


-

Powered by ESP Web Tools
+

Powered by ESP Web Tools
CORS proxy by Corsfix

GitHubkno.wled.ge From 3402e1fb2b4fad9ced521578b28be0d7f1d4e2ea Mon Sep 17 00:00:00 2001 From: kap1bala <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:03:16 +0800 Subject: [PATCH 2/8] feat: improve browser support messaging and serial help visibility --- index.htm | 19 ++++++++++++++++++- script.js | 17 ++++------------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/index.htm b/index.htm index f405ae8..dddad46 100644 --- a/index.htm +++ b/index.htm @@ -25,11 +25,28 @@

Web Installer under maintenance

Welcome to the WLED web installer!

+ +
  1. Plug in your ESP to a USB port. We will install WLED 0.12.0 to it.
  2. -
  3. Hit "Install" and select the correct COM port. No device found?
  4. +
  5. Hit "Install" and select the correct COM port. + No device found? + +
  6. +
  7. Get WLED installed and connected in less than 3 minutes!


diff --git a/script.js b/script.js index 7149255..9439ce7 100644 --- a/script.js +++ b/script.js @@ -63,20 +63,11 @@ function checkSupported() { } function unsupported() { - document.getElementById('flasher').innerHTML = `Sorry, your browser is not yet supported!
- Please try on Desktop Chrome or Edge.
- Find binary files here:
- - - ` + document.getElementById("flasher").hidden = true; + document.getElementById("unsupported").hidden = false; } function showSerialHelp() { - document.getElementById('coms').innerHTML = `Hit "Install" and select the correct COM port.

- You might be missing the drivers for your board.
- Here are drivers for chips commonly used in ESP boards:
- CP2102 (square chip)
- CH34x (rectangular chip)

- Make sure your USB cable supports data transfer.

- `; + document.getElementById("showSerialHelp").hidden = true; + document.getElementById("serialHelp").hidden = false; } From 06fef23a7ccac1ee5b5f1aabe8881912e03bd728 Mon Sep 17 00:00:00 2001 From: kap1bala <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:13:13 +0800 Subject: [PATCH 3/8] fix: improve serial help visibility and clean up HTML structure --- index.htm | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/index.htm b/index.htm index dddad46..7f552e1 100644 --- a/index.htm +++ b/index.htm @@ -40,11 +40,13 @@

Welcome to the WLED web installer!

  • Plug in your ESP to a USB port. We will install WLED 0.12.0 to it.
  • Hit "Install" and select the correct COM port. No device found? - +
  • Get WLED installed and connected in less than 3 minutes!
  • @@ -112,23 +114,17 @@

    Welcome to the WLED web installer!

    -
    -
    - - -
    - -
    +
    +
    + + +
    +
    +

    Powered by ESP Web Tools
    CORS proxy by Corsfix

    GitHubkno.wled.ge - + From 6d5b9096d066a4a75f732b4e49875485f09d5f0c Mon Sep 17 00:00:00 2001 From: kap1bala <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:19:10 +0800 Subject: [PATCH 4/8] fix: remove unnecessary type attribute from script tag --- index.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.htm b/index.htm index 7f552e1..558f30f 100644 --- a/index.htm +++ b/index.htm @@ -125,6 +125,6 @@

    Welcome to the WLED web installer!

    CORS proxy by Corsfix

    GitHubkno.wled.ge - + From 682bb7bdeeba63abd85c6c3ac0d585a4ed6331b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E7=9A=AE=E5=B7=B4=E6=8B=89?= <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:20:43 +0800 Subject: [PATCH 5/8] style: single quotes Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 9439ce7..7c17f18 100644 --- a/script.js +++ b/script.js @@ -63,8 +63,8 @@ function checkSupported() { } function unsupported() { - document.getElementById("flasher").hidden = true; - document.getElementById("unsupported").hidden = false; + document.getElementById('flasher').hidden = true; + document.getElementById('unsupported').hidden = false; } function showSerialHelp() { From 247524aba6de24974c12027267bc5b4264a0d798 Mon Sep 17 00:00:00 2001 From: kap1bala <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:25:12 +0800 Subject: [PATCH 6/8] refactor: simplify resetCheckboxes function by using array iteration --- script.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/script.js b/script.js index 9439ce7..047e64e 100644 --- a/script.js +++ b/script.js @@ -45,16 +45,11 @@ function handleCheckbox(manifest, checkboxmanifest, primaryCheckbox) { } function resetCheckboxes() { - document.getElementById('ethernet').checked = false; - document.getElementById('ethernet').disabled = false; - document.getElementById('audio').checked = false; - document.getElementById('audio').disabled = false; - document.getElementById('test').checked = false; - document.getElementById('test').disabled = false; - document.getElementById('v4').checked = false; - document.getElementById('v4').disabled = false; - document.getElementById('debug').checked = false; - document.getElementById('debug').disabled = false; + const checkBoxIds = ['ethernet', 'audio', 'test', 'v4', 'debug']; + checkBoxIds.forEach(id => { + document.getElementById(id).checked = false; + document.getElementById(id).disabled = false; + }); } function checkSupported() { From df62edcc18b1f81e3ae24b945881ebaba2ab56ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E7=9A=AE=E5=B7=B4=E6=8B=89?= <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:45:07 +0800 Subject: [PATCH 7/8] style: single quotes Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 5e083c7..9fa326b 100644 --- a/script.js +++ b/script.js @@ -63,6 +63,6 @@ function unsupported() { } function showSerialHelp() { - document.getElementById("showSerialHelp").hidden = true; - document.getElementById("serialHelp").hidden = false; + document.getElementById('showSerialHelp').hidden = true; + document.getElementById('serialHelp').hidden = false; } From c8bd20fbfb22fca00c0192419f2875ca9e5c668e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E7=9A=AE=E5=B7=B4=E6=8B=89?= <243586394+kap1bala@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:46:25 +0800 Subject: [PATCH 8/8] pref: null-check Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- script.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index 9fa326b..06f857b 100644 --- a/script.js +++ b/script.js @@ -47,9 +47,12 @@ function handleCheckbox(manifest, checkboxmanifest, primaryCheckbox) { function resetCheckboxes() { const checkBoxIds = ['ethernet', 'audio', 'test', 'v4', 'debug']; checkBoxIds.forEach(id => { - document.getElementById(id).checked = false; - document.getElementById(id).disabled = false; - }); + const checkbox = document.getElementById(id); + if (checkbox) { + checkbox.checked = false; + checkbox.disabled = false; + } + }); } function checkSupported() {