Talentely Keyboard Shortcuts

Add configurable keyboard shortcuts to Talentely

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Jery Js
今日安裝
0
安裝總數
0
評價
0 0 0
版本
2.2
建立日期
2025-07-14
更新日期
2025-07-14
尺寸
5.1 KB
授權條款
MIT
腳本執行於

Talentely Keyboard Shortcuts

A user script that adds configurable keyboard shortcuts to the Talentely LMS platform, specifically for test pages.

Features

  • Quick Navigation: Use keyboard shortcuts to select MCQ options and control test navigation (e.g., "Previous" or "Next").
  • Visual Cues: Automatically adds <kbd> elements next to interactive elements, showing you the assigned shortcut key.
  • Configurable: Easily modify the default shortcuts within the script's talentely object to suit your preferences.
  • Debounced Updates: Smartly updates keybindings only when the question content changes, preventing unnecessary processing.

Installation

  1. Install a User Script Manager: This script requires a user script manager like Violentmonkey or Tampermonkey to run.

  2. Install the Script:

    • After installing your preferred user script manager, click on the "Install" button on this Greasy Fork page. Your manager will prompt you to confirm the installation.

Usage

Once installed and active on a Talentely test page (https://lms.talentely.com/test/*), you will see small grey boxes (<kbd>) next to:

  • MCQ Options: Press the corresponding number key (1, 2, 3, 4, etc.) to select an option.
  • Bottom Control Buttons: Use the assigned keys (e.g., 'q' for 'Previous', 'e' for 'Next') to trigger actions.

Default Shortcuts:

  • MCQ Options: 1, 2, 3, 4, 5, 6 (for the first 6 options)
  • Bottom Controls (Left to Right):
    • q : Previous
    • e : Next
    • Other buttons in the bottom control strip do not have a default shortcut assigned as they are not common actions.

How to Change Shortcuts

You can customize the shortcuts by editing the script directly in your user script manager. Look for the talentely object at the top of the script:

const talentely = {
  // ...
  mcq_options: {
    keys: [1, 2, 3, 4, 5, 6] // Change these numbers for MCQ options
  },
  bottom_controls: {
    keys: ['', 'q', '', '', 'e', ''] // Change these characters for bottom buttons
  }
};