Auto login

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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!)

ผู้เขียน
PRO-2684
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
70
คะแนน
0 0 0
เวอร์ชัน
0.2
สร้างเมื่อ
13-01-2022
อัปเดตเมื่อ
13-04-2023
Size
1.5 กิโลไบต์
สัญญาอนุญาต
GPL-3.0
ปรับใช้กับ

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

Greasy Fork

功能

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

现已无法绕过

原理

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

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

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

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

效果图见下