-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
kavi castelo edited this page Nov 21, 2025
·
1 revision
-
Popup UI (
popup.js)- User interface
- Chart drawing
- CSV export
- Tab interactions
- Triggers collection requests
-
Background Worker (
background.js)- Core GraphQL API handler
- Batching (10 ops per request)
- Data normalization
- Result aggregation
- Storage management
- Responds to all extension messages
-
Content Scripts
content.js- Scans visible list items for post anchors
- Extracts titles + IDs
- Responds to
collectNowmessages
contentScript.js- Auto-scroll pagination system
- Provides
SCAN_MEDIUM_TAB_PAGINATEDhandler
-
Manifest (MV3)
Defines permissions:
tabsstoragescripting- Medium domains (
host_permissions)