Mouse Dictionary: Super Fast Dictionary
Mouse Dictionary is a super fast dictionary for Chrome and Firefox.
Features:
- Super fast (react in 1/60 second)
- Awesome phrases detection
- Capable of importing your own text data
- Available on PDF documents!
- Look up connected words nicely (e.g. camelCase -> camel case)
- Customizable view
Available for various documents:
- HTML documents
- PDF documents
- YouTube captions
- Notion
- Evernote (Use with Mouse Dictionary iframe support)
- Local files (HTML, text, PDF)
- ...
Install
- For Chrome
- For Firefox
- For Safari (See #53)
See also Getting started
Screenshots
English-Japanese
Japanese-English
German
Want to use for the German language? Take a look these great articles!
How to develop
Preparation
Use Node.js 16+.
npm installBuild
For Chrome:
npm run build-chrome # Debug build
npm run release-chrome # Release buildFor Firefox:
npm run build-firefox # Debug build
npm run release-firefox # Release buildFor Safari:
npm run build-safari # Debug build
npm run release-safari # Release buildsee package.json for other commands.
Contribution
For the moment, Mouse Dictionary project doesn't have any strict rule about contribution. Feel free to create any issues and pull requests.
Some guides:
- Editor: the main developer uses VSCode
- Before you commit: try running
npm run testandnpm run lint
Cross-extension messaging
Mouse Dictionary supports receiving cross-extension messages. Mouse Dictionary iframe support is a good example that implements message sending to this extension.
Here is a code example for sending a message to Mouse Dictionary. You can make Mouse Dictionary look up words/expressions from other extensions.
const MD_EXTENSION_ID = "dnclbikcihnpjohihfcmmldgkjnebgnj";
chrome.runtime.sendMessage(MD_EXTENSION_ID, {
type: "text",
text: "rained cats and dogs",
});Parameters:
| name | type | value |
|---|---|---|
| type | string | must be "text" |
| text | string | text you want to look up |
License
Mouse Dictionary is published under the MIT license.
Third-party data
This project includes some third-party data:
Dictionary data
- ejdic-hand (Public Domain)
Images
Built-in PDF viewer
- Mouse Dictionary's built-in PDF viewer is based on PDF.js (Apache-2.0)
Great JavaScript libraries
- See package.json and license.json
See also
Chrome 拡張�?�高速�?�英語辞書ツールを�?��??り�?��?��?�(a Japanese tutorial)


