[GH-ISSUE #1062] Popup when selecting a network #904

Closed
opened 2026-02-28 01:27:36 +03:00 by kerem · 8 comments
Owner

Originally created by @FilipDem on GitHub (May 24, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1062

Esp8266/Esp32:

  • ESP8266
  • ESP32

Hardware: ESP-12e, esp01, esp25

  • ESP01
  • ESP12 E/F/S (nodemcu, wemos, feather)
  • Other

ESP Core Version: 2.4.0, staging

  • 2.3.0
  • 2.4.0
  • staging (master/dev)

Description

I easily integrated the library in my sketch. However one cosmetic "problem" is remaining... Connecting to the AP works fine. However when selecting a network from the scanned WiFi list, a "pop-up" is shown as indicated in the screenshot.

A Ubuntu20.04 was used to set the WiFi settings .

Screenshot from 2020-05-24 17-29-04

Settings in IDE

Module: Generic ESP8266

Additional libraries:

Not relevant

Debug Messages

Not relevant (popup even comes up without debug options).

Originally created by @FilipDem on GitHub (May 24, 2020). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1062 **Esp8266/Esp32:** - [X] ESP8266 - [ ] ESP32 **Hardware: ESP-12e, esp01, esp25** - [ ] ESP01 - [X] ESP12 E/F/S (nodemcu, wemos, feather) - [ ] Other **ESP Core Version: 2.4.0, staging** - [X] 2.3.0 - [ ] 2.4.0 - [ ] staging (master/dev) ### Description I easily integrated the library in my sketch. However one cosmetic "problem" is remaining... Connecting to the AP works fine. However when selecting a network from the scanned WiFi list, a "pop-up" is shown as indicated in the screenshot. A Ubuntu20.04 was used to set the WiFi settings . ![Screenshot from 2020-05-24 17-29-04](https://user-images.githubusercontent.com/16196363/82758026-53aa5e80-9de4-11ea-93f0-9f84d1c81e6e.png) ### Settings in IDE Module: Generic ESP8266 Additional libraries: Not relevant ### Debug Messages Not relevant (popup even comes up without debug options).
kerem 2026-02-28 01:27:36 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tablatronix commented on GitHub (May 24, 2020):

interesting, which wm version/branch is this ?

<!-- gh-comment-id:633252567 --> @tablatronix commented on GitHub (May 24, 2020): interesting, which wm version/branch is this ?
Author
Owner

@FilipDem commented on GitHub (May 24, 2020):

I have version 2.0.1-alpha installed (through the library manager of the Arduino IDE).

Screenshot from 2020-05-24 18-19-59

<!-- gh-comment-id:633254986 --> @FilipDem commented on GitHub (May 24, 2020): I have version 2.0.1-alpha installed (through the library manager of the Arduino IDE). ![Screenshot from 2020-05-24 18-19-59](https://user-images.githubusercontent.com/16196363/82759097-39c04a00-9deb-11ea-97c1-9eedaffb370a.png)
Author
Owner

@tablatronix commented on GitHub (May 24, 2020):

Ok let me check and see if I can reproduce, or fix

<!-- gh-comment-id:633270081 --> @tablatronix commented on GitHub (May 24, 2020): Ok let me check and see if I can reproduce, or fix
Author
Owner

@tablatronix commented on GitHub (May 24, 2020):

This is to auto select password when clicking an item
code is

onclick='c(this)'

const char HTTP_SCRIPT[]           PROGMEM = "<script>function c(l){"
"document.getElementById('s').value=l.innerText||l.textContent;"
"p = l.nextElementSibling.classList.contains('l');"
"alert(p);"
"document.getElementById('p').disabled = !p;"
"if(p)document.getElementById('p').focus();}</script>";

Must be incompatible js with that browser maybe

there is an alert in there, strange, never noticed it left in there.

<!-- gh-comment-id:633270388 --> @tablatronix commented on GitHub (May 24, 2020): This is to auto select password when clicking an item code is ` onclick='c(this)'` ```C++ const char HTTP_SCRIPT[] PROGMEM = "<script>function c(l){" "document.getElementById('s').value=l.innerText||l.textContent;" "p = l.nextElementSibling.classList.contains('l');" "alert(p);" "document.getElementById('p').disabled = !p;" "if(p)document.getElementById('p').focus();}</script>"; ``` Must be incompatible js with that browser maybe there is an alert in there, strange, never noticed it left in there.
Author
Owner

@tablatronix commented on GitHub (May 24, 2020):

af3c3671a2

<!-- gh-comment-id:633271263 --> @tablatronix commented on GitHub (May 24, 2020): af3c3671a283f89fb501ed0b37669a4c23b4e77f
Author
Owner

@tablatronix commented on GitHub (May 24, 2020):

I will push a new version soon

<!-- gh-comment-id:633271308 --> @tablatronix commented on GitHub (May 24, 2020): I will push a new version soon
Author
Owner

@FilipDem commented on GitHub (May 25, 2020):

I looked also in the code, but the alert missed my attention.
Thanks! And nice library, easy to use!

<!-- gh-comment-id:633435741 --> @FilipDem commented on GitHub (May 25, 2020): I looked also in the code, but the alert missed my attention. Thanks! And nice library, easy to use!
Author
Owner

@tablatronix commented on GitHub (May 25, 2020):

I had to re create the release, the tags were messed up, should up date in arduino in everal hours

<!-- gh-comment-id:633644659 --> @tablatronix commented on GitHub (May 25, 2020): I had to re create the release, the tags were messed up, should up date in arduino in everal hours
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#904
No description provided.