mirror of
https://github.com/movixcorp/MovixOpenSource.git
synced 2026-08-07 20:00:10 +00:00
All 18 window.postMessage(..., '*') calls across the codebase now use window.location.origin as the targetOrigin: - src/utils/extensionProxy.ts: EXTENSION_REQUEST message - extension/Chrome/injected.js: 4 message helpers (extract, extractAll, detect, setupHeaders) - extension/Chrome/content.js: 4 response forwards (error/success/catch + EXTRACTION_RESULT) - extension/Firefox/injected.js: 4 message helpers (mirror of Chrome) - extension/Firefox/content.js: 4 response forwards (mirror of Chrome) - userscript/movix.user.js: postExtensionResponse call This prevents any cross-origin script (iframe, rogue extension, etc.) from intercepting Movix extension messages. |
||
|---|---|---|
| .. | ||
| background.js | ||
| content.js | ||
| extractors.js | ||
| Firefox.zip | ||
| injected.js | ||
| manifest.json | ||
| movix.png | ||
| popup.html | ||
| popup.js | ||