mirror of
https://github.com/momenbasel/keyFinder.git
synced 2026-05-26 02:47:49 +02:00
c922a1a166
- Add manifest.firefox.json with gecko-specific settings and background scripts - Add scripts/build.sh to generate Chrome and Firefox zip packages - Zero JS changes needed: Firefox 128+ supports chrome.* namespace and world: MAIN - Closes #10
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "KeyFinder",
|
|
"description": "Passively discovers API keys, tokens, and secrets leaked in page scripts, DOM, network responses, and browser storage.",
|
|
"version": "2.0.0",
|
|
"manifest_version": 3,
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "keyfinder@momenbasel.com",
|
|
"strict_min_version": "128.0"
|
|
}
|
|
},
|
|
"action": {
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
"default_popup": "popup.html"
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["js/patterns.js", "js/content.js"],
|
|
"run_at": "document_idle",
|
|
"all_frames": true
|
|
},
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["js/interceptor.js"],
|
|
"run_at": "document_start",
|
|
"world": "MAIN",
|
|
"all_frames": true
|
|
}
|
|
],
|
|
"background": {
|
|
"scripts": ["js/background.js"]
|
|
},
|
|
"permissions": ["activeTab", "storage"]
|
|
}
|