A Chrome extension that provides instant word definitions when you double-click any word on a webpage.
- 🔍 Double-click any word to get its definition
- 📚 Multiple meanings and examples for each word
- 🎨 Clean, professional tooltip interface
- ⚙️ Toggle the dictionary on/off from the extension popup
- Node.js (v16 or higher)
- npm or yarn
npm installBuild the extension for production:
npm run buildThis will create a build/ directory with all the extension files ready to load into Chrome.
- Build the extension using
npm run build - Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
build/directory
├── src/
│ ├── background/ # Background service worker
│ ├── content/ # Content script (runs on web pages)
│ └── assets/ # Images and static assets
├── public/ # Static files copied to build
│ ├── index.html # Extension popup HTML
│ ├── popup.js # Popup functionality
│ ├── popup.css # Popup styles
│ └── manifest.json # Extension manifest
├── build.js # Build script using esbuild
└── package.json
- TypeScript
- esbuild (fast bundler)
- Tippy.js (tooltips)
- webextension-polyfill (cross-browser compatibility)
Contributions are welcome! Please feel free to submit a Pull Request.
See LICENSE file for details.