diff --git a/public/rules/figma.json b/public/rules/figma.json index 459d90f..06c8d31 100644 --- a/public/rules/figma.json +++ b/public/rules/figma.json @@ -2,7 +2,35 @@ { "id": 1, "priority": 1, - "action": { "type": "redirect", "redirect": { "extensionPath": "/figma.js" } }, - "condition": { "regexFilter": "/\\d+-[0-9a-f]+\\.min\\.js\\.br$", "resourceTypes": ["script"] } + "action": { + "type": "redirect", + "redirect": { + "extensionPath": "/figma.js" + } + }, + "condition": { + "regexFilter": "/\\d+-[0-9a-f]+\\.min\\.js\\.br$", + "resourceTypes": [ + "script" + ] + } + }, + { + "id": 2, + "priority": 1, + "action": { + "type": "modifyHeaders", + "responseHeaders": [ + { + "header": "Content-Security-Policy", + "operation": "remove" + } + ] + }, + "condition": { + "resourceTypes": [ + "main_frame" + ] + } } -] +] \ No newline at end of file