{ "$schema": "https://json.schemastore.org/chrome-manifest.json", "manifest_version": 3, "name": "星际公民盒子浏览器拓展", "version": "0.0.11", "description": "为星际公民网站及工具站提供汉化", "author": "xkeyC", "icons": { "16": "icon.png", "48": "icon.png", "192": "icon.png" }, "host_permissions": [ "https://git.scbox.xkeyc.cn/*" ], "permissions": [ "storage", "contextMenus" ], "action": { "default_popup": "popup.html" }, "background": { "chromium:service_worker": "background.js", "firefox:scripts": ["background.js"] }, "content_scripts": [ { "matches": [ "*://*/*" ], "exclude_matches": [ "https://robertsspaceindustries.com/spectrum/*" ], "js": [ "core.js", "thirdparty/timeago.full.min.js" ], "run_at": "document_end" }, { "matches": [ "https://www.erkul.games/*" ], "js": [ "thirdparty/jquery.min.js" ], "run_at": "document_end" }, { "matches": [ "https://robertsspaceindustries.com/*" ], "js": [ "rsi_hangar_fix.js" ], "run_at": "document_idle" } ] }