Auto login

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
PRO-2684
Denně instalací
0
Celkem instalací
70
Hodnocení
0 0 0
Verze
0.2
Vytvořeno
13. 01. 2022
Aktualizováno
13. 04. 2023
Size
1,5 KB
Licence
GPL-3.0
Spustit na

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

Greasy Fork

功能

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

现已无法绕过

原理

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

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

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

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

效果图见下