How asheroto/extension-exporter works
Extension Exporter is a local browser extension that turns installed-extension metadata into a downloadable offline HTML report. The main workflow starts when the user clicks the extension button: the background script opens the exporter page, which reads installed extensions, builds enabled/disabled and text-only listings, fills a template, and downloads the result. The report also offers copy/print controls and links to extension statistics and security reports. Source excerpts are partial, so details of page markup and UI wiring are represented only where documented or directly supported.
Main entry points: page.js Export logic · background.js Launch handler · page.html Exporter page · template.html Copy and print
Components 12
Launch and UI
- Extension button
- Launch handler
src/background.js - Exporter page
src/page.html
Export workflow
- Export logic
src/page.js - Extension management
- Labels and URLs
src/strings.js - Report template
src/template.html
Report capabilities
- Downloaded report
- Copy and print
src/template.html - Stats sites
- CRXcavator
Other components
- User
Connections 14
- User → Extension button: clicks
- Extension button → Launch handler: dispatches click
- Launch handler → Exporter page: opens tab
- Exporter page → Export logic: loads script
- Export logic → Extension management: reads extensions
- Extension management → Export logic: returns metadata
- Export logic → Labels and URLs: reads labels and URLs
- Export logic → Report template: loads template
- Export logic → Downloaded report: generates and downloads
- User → Downloaded report: opens report
- Downloaded report → Copy and print: provides controls
- User → Copy and print: copies or prints
- User → Stats sites: opens stats link
- User → CRXcavator: opens report link