UNPKG

@gramercytech/gx-toolkit

Version:
61 lines (53 loc) 1.25 kB
{ "manifest_version": 3, "name": "JavaScript Proxy Extension", "version": "1.0", "description": "Redirect JavaScript files from production uploads to local development server", "permissions": [ "activeTab", "declarativeNetRequest", "storage", "notifications", "webRequest", "browsingData", "scripting" ], "host_permissions": [ "<all_urls>" ], "background": { "service_worker": "background.js" }, "content_scripts": [{ "matches": ["<all_urls>"], "js": ["content.js"], "run_at": "document_start" }], "action": { "default_popup": "popup.html", "default_title": "JavaScript Proxy", "default_icon": { "16": "icons/gx_off_16.png", "32": "icons/gx_off_32.png", "64": "icons/gx_off_64.png", "128": "icons/gx_off_128.png" } }, "icons": { "16": "icons/gx_off_16.png", "32": "icons/gx_off_32.png", "64": "icons/gx_off_64.png", "128": "icons/gx_off_128.png" }, "web_accessible_resources": [{ "resources": ["content.js"], "matches": ["<all_urls>"] }], "declarative_net_request": { "rule_resources": [{ "id": "proxy_rules", "enabled": true, "path": "rules.json" }] } }