Commit e79fef2
committed
Refactor content script with improved constants and modular UI functions
- Introduced ICONS, ELEMENT_IDS, and other constants for better code organization
- Split UI injection into smaller, focused functions (createHoverPanelHTML, injectStyles, setupHoverBehavior)
- Simplified hover panel markup and styling
- Extracted error handling into a separate function
- Added padding utility for consistent number display1 parent 301ff67 commit e79fef2
1 file changed
Lines changed: 211 additions & 169 deletions
0 commit comments