From 399305fd8a51de8f0e14d1898d9dd904c540f062 Mon Sep 17 00:00:00 2001 From: Ven Date: Thu, 26 Jan 2023 22:38:02 +0100 Subject: Automatic extension publishing (#453) --- browser/manifest.json | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 browser/manifest.json (limited to 'browser/manifest.json') diff --git a/browser/manifest.json b/browser/manifest.json new file mode 100644 index 0000000..c20770e --- /dev/null +++ b/browser/manifest.json @@ -0,0 +1,51 @@ +{ + "manifest_version": 3, + "minimum_chrome_version": "91", + + "name": "Vencord Web", + "description": "The cutest Discord mod now in your browser", + "author": "Vendicated", + "homepage_url": "https://github.com/Vendicated/Vencord", + "icons": { + "128": "icon.png" + }, + + "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", "dist/Vencord.css"], + "matches": ["*://*.discord.com/*"] + } + ], + + "declarative_net_request": { + "rule_resources": [ + { + "id": "modifyResponseHeaders", + "enabled": true, + "path": "modifyResponseHeaders.json" + } + ] + }, + + "applications": { + "gecko": { + "id": "vencord-firefox@vendicated.dev", + "strict_min_version": "109.0" + } + } +} -- cgit