Skip to content

FlorianLoch/hotkeys-for-dictcc-vocab-trainer-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotkeys for Dict.cc's vocab trainer

Purpose

This is a simple plugin for Chromium/Chrome/Opera and all other browsers supporting the Chrome Extension API ("Chrome APIs") aiming to make usage of the Dict.cc online dictionary even more helpful and faster by providing hotkeys. It follows the concept of Vimium etc. but is custom-fitted towards Dict.cc.

How to use

The following hotkeys are currently implemented:

Within result lists

Key Functionality
ESC Removes focus from search box, enters "hotkey mode"
I Insert. Puts focus on the search box. Leaves "hotkey mode"
Move row/vocab down
Move row/vocab up
S Select. Selects the current row/vocabulary for adding them
A Add. Add the currently selected vocabularies to the currently set list of vocabularies
P Pronounce. Outputs the voice/TTS recording for the current row

In case one does not want the browser to scroll down/up while using the arrow keys in order to select a specific row please hold down SHIFT.

Within the vocab trainer

Key Functionality
ESC Removes focus from search box, enters "hotkey mode"
I Insert. Puts focus on the search box. Leaves "hotkey mode"
P Pronounce. Outputs the voice/TTS recording for the currently asked vocab
SHIFT + P Pronounce. Outputs the voice/TTS recording for the current answer
U Undo. Undoes the last operation
ENTER Simulates pressing the "OK" button in case one knows the vocab
SPACE Simulates pressing the "?" in case one is not sure about and wants to peek the answer
BACKSPACE Simulates pressing the the "X" button in case one does not know the vocab

Caveats

It is recommended to deactivate Vimium etc. for Dict.cc in order to avoid issues with overlapping hotkeys - as with basically any website providing its own hotkeys.

About the code

This is more quick-n-dirty than proper engineering, but as its purpose is to extend an existing page/code base via monkey patching the latter can hardly be expected resp. reached. Though, it should work flawlessly. Therefore, feel free to report any issue found.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published