2022-11-16 16:23:52 +01:00
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"id": 1,
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "modifyHeaders",
|
|
|
|
|
"responseHeaders": [
|
|
|
|
|
{
|
|
|
|
|
"header": "content-security-policy",
|
|
|
|
|
"operation": "remove"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"header": "content-security-policy-report-only",
|
|
|
|
|
"operation": "remove"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"condition": {
|
2025-12-20 01:02:43 +01:00
|
|
|
"resourceTypes": ["main_frame", "sub_frame"],
|
|
|
|
|
"urlFilter": "||discord.com^"
|
2022-11-16 16:23:52 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "modifyHeaders",
|
|
|
|
|
"responseHeaders": [
|
|
|
|
|
{
|
|
|
|
|
"header": "content-type",
|
|
|
|
|
"operation": "set",
|
|
|
|
|
"value": "text/css"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"condition": {
|
|
|
|
|
"resourceTypes": ["stylesheet"],
|
2025-12-20 01:02:43 +01:00
|
|
|
"urlFilter": "||raw.githubusercontent.com^"
|
2022-11-16 16:23:52 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|