Introduction
and keep switching between different tabs again and again. This breaks focus and slows down development. So I decided to build something better.
The Problem
- Console for errors
- Elements panel for inspection
- Performance tab for metrics
- Lighthouse for accessibility
The Idea
- error tracking
- element inspection
- accessibility checks
- performance insights
How It Works
1. Error Tracking
- window.onerror
- unhandledrejection
2. DOM Inspection
- user moves cursor
- element gets highlighted
- click → data is captured
- tag name
- class / id
- dimensions
- styles
- attributes
3. Style Extraction
- font
- color
- spacing
- layout properties
4. Accessibility Checks
- missing alt attributes
- missing labels
- heading order issues
- color contrast problems
5. Performance Data
- page load time
- resource timing
- basic performance insights
Challenges
1. Running inside browser safely
- it must be lightweight
- it must not break the website
2. Managing events
- control when features are active
- remove listeners properly
3. Data structure
- clean
- readable
- structured format
What I Learned
- how browsers actually work
- how extensions communicate (content script ↔ background)
- event-driven architecture
- working without backend or APIs
Final Result
- reduces context switching
- improves debugging speed
- gives structured insights
Conclusion
I tried to make the workflow simpler. And that’s what good engineering is about.