How ravish-vishwakarma/youtube-skip-add works
Project type and purpose
• This is a Chrome browser extension.
• The README outlines installation steps but does not describe deeper business logic—assume typical extension patterns (e.g., UI in a popup, background event handling, page‐injection logic).
File structure
• background.js – long‐running event handler for browser events, message routing, persistent state.
• content.js – injects into web pages to read/manipulate DOM, communicates with background.js.
README for additional context
• Installation instructions confirm we’re dealing with a typical “Load Unpacked” extension.
• No external services or APIs are referenced—assume all logic runs client‐side in the browser.
Diagramming conventions
• Use clear labels for each component (e.g., “Background Script (background.js)”)
– manifest.json → background.js and content.js (load-time)
– popup UI → background.js (user → background messages)
– background.js ↔ content.js (runtime messaging)
– content.js → Web Page DOM
– UI (popup.html) in blue
– Scripts (background, content) in green
– Config (manifest.json) in gray
– External target (Web Page) in orange