The data-ss-config attribute on the script tag was being removed (via script.onload) before content.js could read it. Changed approach: inject config as a separate <script type="application/json" id="ss-config-data"> element that persists in the DOM until content.js reads and removes it. This eliminates the race condition between script execution and onload removal. Bump 0.9.20. https://claude.ai/code/session_01KF4i7Ra7zCEDskxDBaNtcT
19 lines
569 B
JSON
19 lines
569 B
JSON
{
|
|
"name": "silent-send",
|
|
"version": "0.9.20",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"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"
|
|
}
|
|
}
|