USTC Helper

Various useful functions for USTC students: verification code recognition, auto login, rec performance improvement and more.

Versão de: 18/01/2024. Veja: a última versão.

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

Autor
PRO-2684
Avaliações
0 0 0
Versão
1.1.1
Criado
22/10/2022
Atualizado
18/01/2024
Tamanho
77,3 KB
Licença
GPL-3.0
Aplicável a

🪄 Functions

  1. Unified authentication

    • Auto recognize verification code (Adapted from this script by @J-Paven)
    • Focus on the captcha input / login button (so you only need to hit Enter to login)
    • Prompt service domain, url and its credibility (If the service is provided by a student or teacher, you may contact him/her via email by clicking "Student" or "Staff")
    • Auto login (require previous one checked; official services only; clicks "login" after 5s)
  2. USTC Mail

    • Automatically switch mail domain
    • focus on the login button
  3. Rec

    • Auto clicking into USTC CAS login page
    • Setting certain links to open at the current tab (can greatly improve performance)
  4. BB System(Online Teaching Platform)

    • Auto clicking login at both main page and the page asking for authentication if you access the site outside the campus network
    • Checking your homework status (Uploaded, Not uploaded, Error)
      • Allows for ignoring homeworks (Skips checking their status)
  5. Education Administration System

    • Auto focus on or click login button.
    • Shortcut support (` for going back to homepage)
    • Hide your scores at "我的成绩" page using "尚未评教"
      • Double click a certain entry to hide/show it
      • Double click the table header to hide/show all entries
      • Support for statistics
    • Show the start/end time of every class
    • Certain CSS improvements
  6. Second Classroom

    • Customize the tab on entering
    • Auto clicking login at the page asking for authentication if you access the site outside the campus network
    • Auto navigate to frequently-used submenu when clicking on main menu
    • Remove annoying data screen image
    • Shortcut support
  7. Web VPN

    • Allows for customize your collections.
  8. Icourse

    • Display all uploaded files/attachments and aoto naming
    • Certain CSS improvements

If you need a certain feature, leave a comment and I might add it as far as I can.

⌨️ Shortcuts

  • Left/Right arrow: Switching tabs
  • Numbers (1-9): Switch to given tab
  • x: Close current tab

⚙️ Configuation

Open the Tampermonkey menu when the script is running.

  • Unified authentication
    • Enabled: If false, all features will be disabled for passport.ustc.edu.cn
    • Code recognition: Enable auto recognizing verification code
    • Focus: Whether to focus on "Login" button
    • Service: Hint service domain and its credibility
  • USTC Mail
    • Enabled: If false, all features will be disabled for mail.ustc.edu.cn
    • Focus: Whether to focus on "Login" button
    • Domain: Automatically switch to given mail domain, expected values: 'mail.ustc.edu.cn', 'ustc.edu.cn', 'ah.edu.cn', '' (Do nothing)
  • Rec
    • Enabled: ...
    • Auto login: Whether automatically clicks login (USTC cas login)
    • Open in current tab: Whether open links in current tab (Significantly improves performance)
  • BB System(Online Teaching Platform)
    • Enabled: ...
    • Auto authenticate: Whether automatically authenticate when accessing outside school net
    • Auto login: Whether automatically clicks login
    • Show homework status: Whether to display homework status (may consume some traffic)
  • Education Administration System
    • Enabled: ...
    • Login: What to do to the login button: 'none', 'focus', 'click'
    • Shortcut: Shortcut support
    • Score mask: Hide/reveal your scores with dblclick
    • Detailed time: Show the start/end time of every class
    • CSS improve: Certain improvements of CSS
  • Second Classroom
    • Enabled: ...
    • Auto authenticate: Whether automatically authenticate when accessing outside school net
    • Default tab: The tab on entering
    • Auto tab: Auto navigate to frequently-used submenu
    • No data screen: Remove annoying data screen image
    • Shortcut: Shortcut support
  • Web VPN
    • Enabled: ...
    • Custom collection: Allows for customizing collections
  • Icourse
    • Enabled: ...
    • File list: Display all uploaded files/attachments and auto naming
    • CSS improve: Certain improvements of CSS

For more USTC related scripts, you can refer to script set USTC collection.