Skip to content

Commit e79fef2

Browse files
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 display
1 parent 301ff67 commit e79fef2

1 file changed

Lines changed: 211 additions & 169 deletions

File tree

0 commit comments

Comments
 (0)