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