Files
silent-send/package.json
T
Claude 557b1ffd0c fix: Firefox broken — CSP blocks inline early hook script — v2.0.11
The inline <script> with textContent was blocked by claude.ai's
Content Security Policy on Firefox (Chrome is more permissive).
No fetch interception = no substitution = completely broken on FF.

Fixed by moving the early fetch hook to its own file (early-hook.js)
loaded via <script src="..."> which is CSP-compliant. Added to
web_accessible_resources in both Chrome and Firefox manifests.

Also fixed duplicate 'const api' declaration in injector.js that
would have crashed the content script.

https://claude.ai/code/session_01SWSwDfMVij53bCTNSCLMwn
2026-03-27 15:04:13 +00:00

19 lines
573 B
JSON

{
"name": "silent-send",
"version": "2.0.11",
"private": true,
"license": "BSL-1.1",
"description": "Browser extension that substitutes personal data before sending to AI services",
"scripts": {
"build:chrome": "./build.sh chrome",
"build:firefox": "./build.sh firefox",
"build": "./build.sh both",
"lint:firefox": "npx web-ext lint --source-dir dist/firefox",
"sign:firefox": "./sign-firefox.sh",
"run:firefox": "./build.sh firefox && npx web-ext run --source-dir dist/firefox"
},
"devDependencies": {
"web-ext": "^8.4.0"
}
}