Mouse Dictionary is a super fast dictionary for Chrome and Firefox.
Features:
- Blazing fast
- Detect phrases in text intelligently
- You can import your own text data
- Divide special expression into individual words and look them up at once(e.g. camelCase, snake_case)
- Customizable
Download it.
Use it:
Want to use for the German language? Take a look these great articles!
Use npm 6+.
Preparation:
npm install
For Chrome:
npm run build-chrome
For Firefox:
npm run build-firefox
Mouse Dictionary supports receiving cross-extension messages. One example of an extension that implements sending message to this extension is Mouse Dictionary iframe support.
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 |
Mouse Dictionary is published under the MIT license.
This project includes some third-party data:
ejdic-hand
- https://github.com/kujirahand/EJDict
- License: Public domain
bookmark icon, gear icon
- https://www.iconfinder.com/iconsets/wpzoom-developer-icon-set
- License: Creative Commons (Attribution-Share Alike 3.0 Unported)
Chrome 拡張の高速な英語辞書ツールをつくりました(a Japanese tutorial)