js/logger.js | Global logging utility, exposes window.logger with debug(), debugJSON(), stats() |
js/app.js | Entry point, DOM event wiring, scan initiation, exposes window.app |
js/dns-analyzer.js | DNS queries via DoH, subdomain discovery; contains DNSAnalyzer, DiscoveryQueue, RateLimiter classes |
js/service-detection-engine.js | Identifies third-party services (cloud, email, CDN, etc.) from DNS records |
js/data-processor.js | Transforms raw DNS data into structured analysis results |
js/ui-renderer.js | Renders all results to the DOM, manages collapsible sections and tables; exposes window.uiRenderer |
js/analysis-controller.js | Orchestrates the full analysis pipeline with dependency injection via AnalysisController.create() |
js/export-manager.js | PDF/XLSX/Markdown/JSON export using jsPDF, SheetJS; exposes window.exportManager |
js/theme-toggle.js | Light/dark theme switching โ standalone functions, no class |
js/common.js | Shared utilities including isDomainOrSubdomain(), escapeHtml(); exposes window.CommonUtils |
css/style.css | Single stylesheet, dark-first with [data-theme="light"] overrides, CSS variable tokens on :root |
index.html | Main application page, loads all JS via <script> tags with cache-busting ?v= params |
about.html | About page, loads only style.css and theme-toggle.js |