Files
sciezka/manifest.json
T
avinal 669d39e1dd fix: postMessage security hardening and highlight grouping
Add per-session nonce to all postMessage exchanges between content
script and iframe, use targeted origin instead of wildcard, add explicit
CSP to manifest. Group consecutive matched characters into single mark
elements to fix visual spacing.

Assisted-by: Claude Code
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
2026-04-28 00:18:56 +05:30

48 lines
1016 B
JSON

{
"manifest_version": 3,
"name": "Sciezka",
"version": "0.1.0",
"description": "A browser extension to fuzzy search tabs, history and bookmarks.",
"icons": {
"48": "icons/border-48.png"
},
"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>"]
}
]
}