diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-16 16:23:52 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-16 16:23:52 +0100 |
commit | a788813383213ac1257d47f0e9f566dc72750bcb (patch) | |
tree | f763f98466400401389b73619a719841631d7cdd /browser/modifyResponseHeaders.json | |
parent | e1de6f88fe1db5276cee3df2ef4feeca7fcab850 (diff) | |
download | Vencord-a788813383213ac1257d47f0e9f566dc72750bcb.tar.gz Vencord-a788813383213ac1257d47f0e9f566dc72750bcb.tar.bz2 Vencord-a788813383213ac1257d47f0e9f566dc72750bcb.zip |
VencordWeb: Migrate to manifest v3
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/*" + } + } +] |