You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
956 B
39 lines
956 B
2 years ago
|
[
|
||
|
{
|
||
|
"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/*"
|
||
|
}
|
||
|
}
|
||
|
]
|