Skip to content
/ ODH Public
forked from ninja33/ODH

A chrome extension to show online dictionary content.

License

Notifications You must be signed in to change notification settings

billzhuang/ODH

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Dictionary Helper (with Anki app support)

[中文版说明]

Online Dictionary Helper is a chrome extension to show online dictionary content, which also supports flash-card making compatible with Anki (with ankiconnect, an Anki add-on, installed).

For the reason why comes this extension, you may check the detail background if you are interested.

Anki Notes

What might set this extension apart is that the users can grab online dictionary content with their own customized script (running under extension development mode). For development detail, please check the development guide

How to use

[Chrome Web Store Link]

  1. Install the extension first from Chrome Web store. Setup Option and turn on the extension if you want. (Details could be found under the option page section)
  2. Open any given web page, move mouse cursor to the word.
  3. Click-drag/Double click to select word, or press Hotkey(defined in options page) to automatically select word in case it's a link.
  4. A popup window will show up displaying the word definition.
  5. (Optional) Setup the designated Anki deck, type and fields names to put your word, definition, sentence while Anki and ankiconnect is running.
  6. (Optional) Press top/right green (+) icon in popup window to add Anki note.

The Option Page

The extension option page is divided in three sections.

  1. General Option: Turn on or turn off the extension if you want.

  2. Anki Options: Setup Anki deck/type name, and which fields you are going to put word, reading, extrainfo, definiton, sentence.

  3. Dictionary Options:

    • Dictioanry Scrip: Input your own script name here, and click Load Script button to load it.
    • Selected Dictionary: Here will display all available dictionaries (buildin or loaded), and please select what current dictionary you want to use.

Options Page

Use existing script or develop by yourself

  1. You can use exsiting dictionary scripts in the dictionaries list
  2. Or develop the script by yourself based on development guide
  3. Or raise an issue here if you really need help.

Pull request

Welcome pull request if you want to enhance this extension, or put your own script in next release.

  • the exntension source will go to /src
  • the dictionary script will go to /src/dict

About

A chrome extension to show online dictionary content.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.4%
  • HTML 10.0%
  • CSS 3.6%