Add configurable keyboard shortcuts to Talentely
A user script that adds configurable keyboard shortcuts to the Talentely LMS platform, specifically for test pages.
<kbd> elements next to interactive elements, showing you the assigned shortcut key.talentely object to suit your preferences.Install a User Script Manager: This script requires a user script manager like Violentmonkey or Tampermonkey to run.
Install the Script:
Once installed and active on a Talentely test page (https://lms.talentely.com/test/*), you will see small grey boxes (<kbd>) next to:
'q' for 'Previous', 'e' for 'Next') to trigger actions.1, 2, 3, 4, 5, 6 (for the first 6 options)q : Previouse : NextYou 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
}
};