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")
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址