mirror of
https://github.com/avinal/sciezka.git
synced 2026-07-03 23:30:09 +05:30
8bd3577be2
SVG source icon with generated PNGs at 48/96/128px. Add browser_specific_settings with gecko ID for Firefox Add-ons. Restrict CSP img-src to self and data URIs. Assisted-by: Claude Code Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Sciezka",
|
|
"version": "0.1.0",
|
|
"description": "A browser extension to fuzzy search tabs, history and bookmarks.",
|
|
"icons": {
|
|
"48": "icons/icon-48.png",
|
|
"96": "icons/icon-96.png",
|
|
"128": "icons/icon-128.png"
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "ripple@avinal.space",
|
|
"strict_min_version": "109.0"
|
|
}
|
|
},
|
|
"permissions": [
|
|
"tabs",
|
|
"history",
|
|
"bookmarks",
|
|
"sessions",
|
|
"storage"
|
|
],
|
|
"content_security_policy": {
|
|
"extension_pages": "script-src 'self'; object-src 'self'; img-src 'self' data:;"
|
|
},
|
|
"background": {
|
|
"scripts": ["dist/background.js"]
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["dist/content.js"],
|
|
"run_at": "document_idle"
|
|
}
|
|
],
|
|
"commands": {
|
|
"toggle-sciezka": {
|
|
"suggested_key": {
|
|
"default": "Alt+K"
|
|
},
|
|
"description": "Toggle Sciezka search"
|
|
}
|
|
},
|
|
"options_ui": {
|
|
"page": "options/options.html",
|
|
"open_in_tab": true
|
|
},
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["sciezka.html", "sciezka.css", "dist/sciezka.js"],
|
|
"matches": ["<all_urls>"]
|
|
}
|
|
]
|
|
}
|