How amrhalim/github-pr-extension works
This is a tiny Chrome extension for clearing Viewed markers on a GitHub pull-request page. The user clicks the extension action; its popup code finds the active tab, checks that it is on GitHub, injects a page function that clicks Viewed buttons, and reports the count or an error. The popup controller and injected behavior are both implemented in popup.js. The graph follows the README and sampled popup.js; it does not infer additional behavior from the unsampled manifest or popup markup.
Main entry points: popup.js Popup controller
Components 5
Other components
- User
- Popup controller
popup.js - Chrome tab APIs
- Viewed unchecker
popup.js - GitHub PR page
Connections 5
- User → Popup controller: clicks extension
README.md - Popup controller → Chrome tab APIs: queries and injects
popup.js - Chrome tab APIs → Popup controller: returns tab and count
popup.js - Popup controller → Viewed unchecker: executes function
popup.js - Viewed unchecker → GitHub PR page: clicks Viewed buttons
popup.js