- Add custom domain support in Options page so users can add self-hosted AI services (e.g. https://ai.myserver.com) - Background worker dynamically injects content scripts on custom domains using scripting.executeScript - Add optional_host_permissions so Chrome can grant per-domain access - Rewrite README: add clone step to Firefox instructions, clarify what "credentials" means in step 3, add Windows commands alongside Mac/Linux for every terminal step - Bump version to 0.2.0 https://claude.ai/code/session_01Dvgwe7XMoSxnWXkih8p1Cw
68 lines
1.6 KiB
JSON
68 lines
1.6 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Silent Send",
|
|
"version": "0.2.0",
|
|
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
|
"permissions": [
|
|
"storage",
|
|
"activeTab",
|
|
"scripting"
|
|
],
|
|
"host_permissions": [
|
|
"https://claude.ai/*",
|
|
"https://chatgpt.com/*",
|
|
"https://chat.openai.com/*",
|
|
"https://grok.x.ai/*",
|
|
"https://x.com/i/grok*",
|
|
"https://gemini.google.com/*",
|
|
"http://localhost/*",
|
|
"http://127.0.0.1/*"
|
|
],
|
|
"background": {
|
|
"service_worker": "src/background/service-worker.js",
|
|
"type": "module"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://claude.ai/*",
|
|
"https://chatgpt.com/*",
|
|
"https://chat.openai.com/*",
|
|
"https://grok.x.ai/*",
|
|
"https://x.com/i/grok*",
|
|
"https://gemini.google.com/*",
|
|
"http://localhost/*",
|
|
"http://127.0.0.1/*"
|
|
],
|
|
"js": ["src/content/injector.js"],
|
|
"css": ["src/content/content.css"],
|
|
"run_at": "document_start",
|
|
"all_frames": true
|
|
}
|
|
],
|
|
"action": {
|
|
"default_popup": "src/popup/popup.html",
|
|
"default_icon": {
|
|
"16": "icons/icon16.svg",
|
|
"48": "icons/icon48.svg",
|
|
"128": "icons/icon128.svg"
|
|
}
|
|
},
|
|
"options_page": "src/options/options.html",
|
|
"icons": {
|
|
"16": "icons/icon16.svg",
|
|
"48": "icons/icon48.svg",
|
|
"128": "icons/icon128.svg"
|
|
},
|
|
"optional_host_permissions": [
|
|
"https://*/*",
|
|
"http://*/*"
|
|
],
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["src/content/content.js"],
|
|
"matches": ["<all_urls>"]
|
|
}
|
|
]
|
|
}
|