aboutsummaryrefslogtreecommitdiff
path: root/browser/modifyResponseHeaders.json
blob: ed39075966f80cde8c54494b58dafc92303b4cca (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
[
    {
        "id": 1,
        "action": {
            "type": "modifyHeaders",
            "responseHeaders": [
                {
                    "header": "content-security-policy",
                    "operation": "remove"
                },
                {
                    "header": "content-security-policy-report-only",
                    "operation": "remove"
                }
            ]
        },
        "condition": {
            "resourceTypes": ["main_frame"]
        }
    },
    {
        "id": 2,
        "action": {
            "type": "modifyHeaders",
            "responseHeaders": [
                {
                    "header": "content-type",
                    "operation": "set",
                    "value": "text/css"
                }
            ]
        },
        "condition": {
            "resourceTypes": ["stylesheet"],
            "urlFilter": "https://raw.githubusercontent.com/*"
        }
    }
]