添加 兴岩自动化登录.js
This commit is contained in:
commit
78d6e3a711
20
兴岩自动化登录.js
Normal file
20
兴岩自动化登录.js
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// ==UserScript==
|
||||||
|
// @name 兴岩自动登录脚本
|
||||||
|
// @version 1.0
|
||||||
|
// @author 8ga
|
||||||
|
// @match http://a32h099468.wicp.vip:39132/login
|
||||||
|
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
|
||||||
|
// @grant none
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
// 'use strict';
|
||||||
|
let username = document.querySelector("input[name='username']");
|
||||||
|
if(username !== null && username !== undefined) {
|
||||||
|
username.value = 'S21150143';
|
||||||
|
}
|
||||||
|
let pwd = document.querySelector("input[name='password']");
|
||||||
|
if(pwd !== null && pwd !== undefined) {
|
||||||
|
pwd.value = '123456';
|
||||||
|
}
|
||||||
|
})();
|
Loading…
Reference in New Issue
Block a user