Auto login

绕过中科大统一身份认证的验证码并自动聚焦至登录按钮

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
PRO-2684
Daglige installationer
0
Installationer i alt
70
Bedømmelser
0 0 0
Version
0.2
Oprettet
13.01.2022
Opdateret
13.04.2023
Size
1,5 kB
Licens
GPL-3.0
Gælder for

⚠️ 此脚本暂停更新,请使用 USTC 助手 获得更好体验

Greasy Fork

功能

绕过验证码的填写,并自动将焦点置于登录按钮,以便按下回车直接登录

现已无法绕过

原理

  1. 设立 MutationObserver, 当检测到登录表单变化(验证码的出现)时进行以下流程

  2. 把 showCode 的值设置为空,以绕过服务器的验证码检测

  3. 把验证码元素移除,一方面避免了“未填写验证码的提示”,一方面看着干净

  4. 聚焦到登录按钮,若你的浏览器有自动填充功能,则可以直接按回车登录了

效果图见下