20/2/2024, 20:24:30
当前为
// ==UserScript==
// @name TP-Link Archer Login bugfix
// @namespace StephenP
// @match http://192.168.1.1/
// @match http://192.168.1.1/login.htm
// @grant unsafeWindow
// @version 1.0
// @author StephenP
// @description 20/2/2024, 20:24:30
// ==/UserScript==
let usernameField=document.getElementById("pc-login-user-div");
if((usernameField)&&(unsafeWindow.modelName.includes("Archer"))){
if(usernameField.classList.contains("nc")){
usernameField.classList.remove("nc")
}
}