aboutsummaryrefslogtreecommitdiff
path: root/browser/manifest.json
blob: 69bf0cec04532a1b2899f4c972bcaa4e9536c764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
    "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"],
            "all_frames": true
        }
    ],

    "web_accessible_resources": [
        {
            "resources": ["dist/*", "third-party/*"],
            "matches": ["*://*.discord.com/*"]
        }
    ],

    "declarative_net_request": {
        "rule_resources": [
            {
                "id": "modifyResponseHeaders",
                "enabled": true,
                "path": "modifyResponseHeaders.json"
            }
        ]
    }
}