diff options
author | Roman / Linnea Gräf <romangraef@gmail.com> | 2022-12-01 19:16:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 19:16:09 +0100 |
commit | 0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7 (patch) | |
tree | 5f742d86dc9995615a241a210fc70a62cd82ecd0 /browser/manifestv3.json | |
parent | 734054ff68a103482bff903bb384bc24576c5499 (diff) | |
download | Vencord-0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7.tar.gz Vencord-0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7.tar.bz2 Vencord-0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7.zip |
Add Firefox extension build (#277)
Diffstat (limited to 'browser/manifestv3.json')
-rw-r--r-- | browser/manifestv3.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/browser/manifestv3.json b/browser/manifestv3.json new file mode 100644 index 0000000..ea79d12 --- /dev/null +++ b/browser/manifestv3.json @@ -0,0 +1,40 @@ +{ + "manifest_version": 3, + "name": "Vencord Web", + "description": "Yeee", + "version": "1.0.0", + "author": "Vendicated", + "homepage_url": "https://github.com/Vendicated/Vencord", + + "host_permissions": [ + "*://*.discord.com/*", + "https://raw.githubusercontent.com/*" + ], + + "permissions": ["declarativeNetRequest"], + + "content_scripts": [ + { + "run_at": "document_start", + "matches": ["*://*.discord.com/*"], + "js": ["content.js"] + } + ], + + "web_accessible_resources": [ + { + "resources": ["dist/Vencord.js"], + "matches": ["*://*.discord.com/*"] + } + ], + + "declarative_net_request": { + "rule_resources": [ + { + "id": "modifyResponseHeaders", + "enabled": true, + "path": "modifyResponseHeaders.json" + } + ] + } +} |