Greasy Fork

Shined up real nice.

zyxel modem autologin

zyxel modem autologin script

After trying this script, you can ask a question about it, review it, or report it.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// ==UserScript==
// @name        zyxel modem autologin
// @namespace   zyxel-autologin
// @description:en zyxel modem autologin script
// @include     http://192.168.1.1/cgi-bin/login.html
// @version     1
// @grant       none
// @description zyxel modem autologin script
// ==/UserScript==

function login(){
	var user = document.getElementsByName('Loginuser')[0];
	user.value = "admin";
	var password = document.getElementsByName("LoginPassword")[0];
	password.value = "admin";
	var button = document.getElementsByName('Prestige_Login')[0];
	button.click();
}

window.onload = function() {
  login();
};