UCalgary Card Keyboard Shortcuts

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

יוצר
nabekhan
התקנות יומיות
0
סה"כ התקנות
2
דירוגים
0 0 0
גרסה
2.3
נוצר
16-05-2025
עודכן
22-05-2025
Size
3.26 קילו-בייט
רישיון
לא זמין
חל על

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.