if (usrnamestr == "") { portstr = "root" }

if (usrnamestr == "") {
        portstr = "root"
    }
pull/393/head
crazypeace 2023-11-17 06:49:55 +08:00
parent 57f99b1051
commit b26df6b360
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@
// @author ǝɔ∀ǝdʎz∀ɹɔ 👽
// @match https://ssh.vps.vc/*
// @match https://ssh.hax.co.id/*
// @match https://ssh-crazypeace.koyeb.app/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=koyeb.app
// @grant none
// ==/UserScript==
@ -56,6 +57,9 @@ function updateSSHlinkA() {
portstr = "22"
}
var usrnamestr = document.getElementById("username").value;
if (usrnamestr == "") {
portstr = "root"
}
var passwdstr = document.getElementById("password").value;
var passwdstrAfterBase64 = window.btoa(passwdstr);

View File

@ -46,6 +46,9 @@ function updateSSHlink() {
portstr = "22"
}
var usrnamestr = document.getElementById("username").value;
if (usrnamestr == "") {
portstr = "root"
}
var passwdstr = document.getElementById("password").value;
var passwdstrAfterBase64 = window.btoa(passwdstr);