[Ctrl J]
[Ctrl K]
light/dark
Project Overview
This Chrome extension aims to replicate the functionality of Google Dictionary (by Google), providing users with instant access to word definitions directly within their browser. By simply highlighting a word on any webpage, users can view its definition and hear its pronunciation.
You can find the project on Github. To use this extension:
chrome://extensions/
.Key Features
Technologies
This project is built entirely with vanilla JavaScript, which required me brushing up on core JavaScript concepts without relying on modern frameworks.
Development Challenges
Developing my first Chrome extension in vanilla JavaScript was an enjoyable challenge. The most significant technical hurdle was precisely positioning the definition popup next to highlighted text. I overcame this by implementing a dynamic positioning system, centering the popup above the selected word (or below if space is limited) and ensuring it stays within the viewport boundaries.
This Chrome extension is just the starting point. I welcome your feedback and suggestions for future enhancements. Share your thoughts on how to improve it by following me on Twitter. Happy coding!