How huynhmaianhkiet/youtube-thumbnail-downloader-chrome-extension works
This Chrome extension’s workflow starts when a user opens it on a YouTube video page. Its popup script reads the active tab URL, extracts the video ID, constructs thumbnail URLs for several resolutions, and displays available previews with download buttons. The script also filters unavailable high-resolution images and invokes Chrome’s downloads API. The tree identifies the popup markup and stylesheet, but their contents and wiring were not sampled, so those relationships are omitted.
Main entry points: popup.js Popup controller · popup.html Popup markup
Components 10
Extension popup
- Popup markup
popup.html - Popup styles
styles/popup.css - Popup controller
popup.js
Thumbnail workflow
- Video ID parsing
popup.js - Resolution URLs
popup.js - Preview and filtering
popup.js
Browser and service
- Chrome active tab
- YouTube thumbnails
- Chrome downloads
Other components
- Extension user
Connections 7
- Extension user → Popup markup: opens
README.md - Popup controller → Chrome active tab: queries tab
popup.js - Popup controller → Video ID parsing: extracts ID
popup.js - Popup controller → Resolution URLs: builds URLs
popup.js - Popup controller → Preview and filtering: creates previews
popup.js - Preview and filtering → YouTube thumbnails: loads images
popup.js - Preview and filtering → Chrome downloads: starts download
popup.js