UCalgary Card & Collection Keyboard Shortcuts

cards hotkeys and counter

目前為 2025-06-25 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
nabekhan
評價
0 0 0
版本
5.0
建立日期
2025-05-16
更新日期
2025-06-25
尺寸
7.9 KB
授權條款
未知
腳本執行於

UCalgary Cards & Collections — Keyboard-Shortcut Helper

A step-by-step guide for people who don’t code


1 · What does this script do?

Where you are Keys you can press What happens
Flash-card pages (/card/…) 1–0 → picks answers 1–10
Shift+1–0 → picks answers 11–20
Enter → first Submit, then Next card, then Save review (whichever button exists)
~ (tilde) → clears all selections
Answer cards without a mouse
Deck-list pages (/collection/…) Same number keys (1–0, Shift+1–0) Instantly opens deck 1–20 in a centred 1000 × 800 px pop-up
Collection home (/collection) Enter Opens the first visible “Details” button

The script also adds tiny (1), (2), (3) labels beside every answer and deck, so you always know which key to press.


2 · Quick start (no tech skills needed)

  1. Install a userscript manager
  2. Give Tampermonkey permission to run userscripts (Chrome-based browsers only—see Section 3).
  3. Install the script
    • Open the script file (or paste the code) → click Install in Tampermonkey.
  4. Reload any page on https://cards.ucalgary.ca and try the number keys.
    That’s all—no coding required.

3 · Why Chrome/Edge needs an extra switch (FAQ Q209)

Google adds a safety step for anything that injects code into pages.
To let Tampermonkey run userscripts you must turn one of these on:

Option Where to find it Works in
Allow User Scripts toggle Right-click Tampermonkey iconManage Extension → flip the switch Chrome 138+ / Edge 138+
Developer Mode Open chrome://extensions (or edge://extensions) → flip “Developer Mode” (top-right) All desktop Chrome-based browsers
Developer Mode (Android) Edge for Android → Settings → Extensions → Developer Mode Edge Android

Full FAQ answer → Tampermonkey FAQ Q209

After enabling one of these, reload cards.ucalgary.ca and the shortcuts will work.


4 · Troubleshooting

  • Nothing happens – Check that Tampermonkey is on and the script is enabled for cards.ucalgary.ca.
  • Pop-up blocked – Allow pop-ups for cards.ucalgary.ca in your browser settings.
  • Numbers don’t match answers – The script only counts visible options; hidden ones (e.g., filtered out) are skipped.

5 · Legal bits

This script is an unofficial, personal tool and is not affiliated with the University of Calgary.
Use at your own risk.