USTC统一身份认证删除验证码验证

将ustc统一身份认证登录表单中的showCode改为0,绕过验证码验证

// ==UserScript==
// @name         USTC统一身份认证删除验证码验证
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  将ustc统一身份认证登录表单中的showCode改为0,绕过验证码验证
// @author       Sakura
// @match        https://passport.ustc.edu.cn/log*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=ustc.edu.cn
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    document.getElementsByName("showCode")[0].setAttribute("value","0");
    const x = document.getElementById("valiCode");
    x.parentNode.removeChild(x);
    document.getElementsByClassName("loginForm form-style")[0].setAttribute("style","height: 160px")
})();