UCalgary Card Keyboard Shortcuts + Review Button Fallback

Use keyboard on cards.ucalgary.ca: numbers to select, Enter to submit/next/review, ~ to clear, supports all question types

Autor
nabekhan
Instalaciones diarias
0
Instalaciones totales
2
Calificaciones
0 0 0
Versión
2.2
Creado
16/5/2025
Actualizado
16/5/2025
Tamaño
3,28 KB
Licencia
Desconocida
Funciona en

UCalgary Cards Keyboard Shortcuts Script

Userscript for https://cards.ucalgary.ca/card/

Overview

This userscript adds full keyboard control to the UCalgary flashcard interface. It allows users to navigate, answer, and submit questions without using a mouse. It attempts to support all card types, including multiple choice, multiple select, image-based, and fill-in-the-blank questions.


Keyboard Controls

Key Function
19, 0 Select options 1 through 10
Shift+1Shift+9 Select options 11 through 19
Shift+0 Select option 20
Enter or Space Triggers the following (in order of availability):
1. Submit button
2. Next card button
~ (tilde) Clears all selected options (radio and checkbox inputs)

Features

  • Adds keyboard selection to all question types.
  • Automatically numbers each option with visible keyboard hints (e.g., 1. 2.).
  • Works across:
    • Single-answer (radio button) questions
    • Multi-answer (checkbox) questions
    • Image-based questions
    • Fill-in-the-blank questions with review buttons
  • Requires no modification of site content or permissions beyond standard script behavior.

Installation

  1. Install a script manager in your browser. I recommend Userscript (https://itunes.apple.com/us/app/userscripts/id1463298887) for Safari users and Tampermonkey (https://www.tampermonkey.net) for all other browsers.
  2. Install the script and reload a card page at https://cards.ucalgary.ca/card/.

Troubleshooting

  • Ensure the extension is enabled and the script is active on the page.

License

This script is provided for educational use only and is not affiliated with the University of Calgary.