Skip to content

ngntrgduc/Dictionary-Look-Up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary-Look-Up

Extension to look up words painlessly.

Why this ?

I'm so tired when looking up some words:

  1. Open a new tab
  2. Type dictionary web page
  3. Hit Enter
  4. Type a word to look up
  5. Hit Enter.

This extension will make the look up process less painful because you just need to toggle the extension and look up the word.

Features

  • Support dictionaries: Cambridge, Oxford, Merriam-Webster
  • Easily toggle extension via Alt + O (default)
  • Open dictionary in a new tab after press Enter in the search box
  • Easily change dictionary via Tab and Shift + Tab key
  • Get previous word when press key
  • Search multiple word at once, using , (default)
  • Simple but yet powerful. Time-saving.

Installation

Note: If you use Firefox, the extension is available on Firefox Add-ons, or you can checkout firefox branch for local installation.

  1. Clone this repository/download zip and extract to a folder on your local machine.
git clone https://github.com/ngntrgduc/Dictionary-Look-Up.git
  1. Load extension:
  • Chrome: Settings -> Extensions.
  • Edge: Extensions -> Manage Extensions.

Then turn on Developer mode. Finally, click Load unpacked and select the folder you have just cloned/downloaded.

    • Make the extension more visible by Pin (Chrome)/Show in toolbar (Edge).
    • Change shortcut in Keyboard shortcuts if needed.
    • If you want to change default dictionary, go to the source code folder and change order of option in index.html.
  1. Enjoy your brand new look up process ✨.

Todo

  • Options page
    • Select default dictionary (change order of url)
    • Custom url to search (general purpose, like search video on Youtube, not only for dictionary)
    • Custom seperator...
  • Search multiple word at once, using seperator (,) (user defined) (maybe keep the extension simple)
  • Right click to look up word (does it necessary or just a make the extension slower ?) (typing vocab to look up is faster, and make it more memorable)
  • Auto read copied text when open the extension (no more Ctrl + V) (the JS clipboard API is limited availability)
  • Change behavior of Tab key because clicking to change dictionary seem weird when it's just switch to other but not show the dictionary pane
  • Another port
    • Chrome (because it's cost 5$ fee to create account 🥲)
    • Edge
  • Recently, the autofocus to input box not working in Firefox, maybe switch to pure HTML/CSS?
  • If search incorrect vocab, auto redirect to the search page with vocab (for Cambridge dictionary) (too specific, and type again make vocab more memorable)
  • Shift + Tab to move back dictionary
    • Change/Fix/Remove focus behavior, maybe using event.key instead
  • Remove and maybe add new feature for Alt + Tab instead. Because open all dictionaries for word is not neccessary, and maybe upgrade this extension to be more general (like vomnibar in Vimium), not only with dictionary look up
  • More limit of previous word?
  • Make a GIF to demo how it works?

Contributing

If you found a bug or want to contribute, feel free to open a issue/pull requests. All contributions are welcomed.

Coffee

If you like this project and you want to support me, you can buy me a coffee ☕. Thank you very much 💖.