- Add "alarms" permission to manifest — chrome.alarms.create() was throwing "Cannot read properties of undefined" because the permission was missing; also removed invalid "sockets" permission (not a valid MV3 perm) - Remove all inline event handlers from popup.html (onclick, ondragover, ondragleave, ondrop, onchange) — MV3 CSP blocks inline JS entirely; all handlers moved to popup.js addEventListener() calls - Replace inline onclick="removeFile(i)" on dynamically generated remove buttons with data-idx attribute + delegated click listener on the list container — same CSP fix for runtime-generated elements Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| images | ||
| background.js | ||
| content.js | ||
| manifest.json | ||
| popup.html | ||
| popup.js | ||