diff options
Diffstat (limited to 'browser/modifyResponseHeaders.json')
-rw-r--r-- | browser/modifyResponseHeaders.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/browser/modifyResponseHeaders.json b/browser/modifyResponseHeaders.json new file mode 100644 index 0000000..ed39075 --- /dev/null +++ b/browser/modifyResponseHeaders.json @@ -0,0 +1,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/*" + } + } +] |