Commit Graph
5 Commits
Author SHA1 Message Date
robot 0a74332af9 fix: remove non-existent probeFn.js and scrapeFn.js from Vite build entry points
CI / test (pull_request) Successful in 15s
These files were added as Rollup entry points but never created as actual
source files — probeFn and scrapeFn are defined inline in index.js.
The missing entry points caused "Could not resolve entry module" on build.
2026-08-11 07:23:05 +00:00
robot a621db9674 fix: use script.src for content.js interceptor injection to bypass CSP
CI / test (pull_request) Successful in 14s
The inline script.textContent injection in content.js violated the
strict CSP on sites like Pornhub ('script-src' without 'unsafe-inline').

Move interceptor code to a separate interceptors.js file and inject
via script.src = chrome.runtime.getURL('interceptors.js'). Chrome
treats extension-originated <script src> as content scripts — not
as page inline code — so the page's CSP does not apply.

- New src/inject/interceptors.js with all main-world interceptor code
- content.js now creates <script src> instead of <script textContent>
- Vite config updated to build interceptors.js to dist/
2026-08-11 06:43:54 +00:00
kfj001 4a39065d90 core functionality complete 2026-05-31 11:29:51 -07:00
kfj001 f47301c0e4 working state - adds missing resources for chrome load 2026-05-30 13:12:49 -07:00
kfj001 95f5fdd3ea initial commit 2026-05-30 18:51:10 +00:00