Some Zyxel models redirect to HTTPS, where the connection is refused. This script forces HTTP.
Installation:
- Install the Tampermonkey extension for your browser (Chrome, Firefox, Edge, etc.).
- Install the script from either:
- Click the Install button.
- Try to log in to your router; it should work.
Under the Remote Management section, enable the HTTPS sevice on LAN and WAN, and set the port to 443.
I looked at the frontend code of my Zyxel DX5401-B1 and saw that when some conditions were met, it redirected to HTTPS. Those conditions could be modified by modifying the 'flags.' This script intercepts the flags and sends our modified flags to the client, which reads the flags and doesn't redirect us to HTTPS.