| [ | |
| { | |
| "id": 1, | |
| "priority": 1, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "X-Frame-Options", "operation": "remove" }, | |
| { "header": "x-frame-options", "operation": "remove" }, | |
| { "header": "Frame-Options", "operation": "remove" }, | |
| { "header": "frame-options", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "fbcdn.net", | |
| "fbsbx.com", | |
| "fbsbx.net", | |
| "whatsapp.net", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "sub_frame", | |
| "xmlhttprequest", | |
| "main_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 2, | |
| "priority": 1, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "Content-Security-Policy", "operation": "remove" }, | |
| { "header": "content-security-policy", "operation": "remove" }, | |
| { "header": "Content-Security-Policy-Report-Only", "operation": "remove" }, | |
| { "header": "content-security-policy-report-only", "operation": "remove" }, | |
| { "header": "X-Frame-Ancestors", "operation": "remove" }, | |
| { "header": "x-frame-ancestors", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "fbcdn.net", | |
| "fbsbx.com", | |
| "fbsbx.net", | |
| "whatsapp.net", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "sub_frame", | |
| "main_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 3, | |
| "priority": 1, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "Cross-Origin-Resource-Policy", "operation": "remove" }, | |
| { "header": "cross-origin-resource-policy", "operation": "remove" }, | |
| { "header": "Cross-Origin-Embedder-Policy", "operation": "remove" }, | |
| { "header": "cross-origin-embedder-policy", "operation": "remove" }, | |
| { "header": "Cross-Origin-Opener-Policy", "operation": "remove" }, | |
| { "header": "cross-origin-opener-policy", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "fbcdn.net", | |
| "fbsbx.com", | |
| "fbsbx.net", | |
| "whatsapp.net", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "sub_frame", | |
| "xmlhttprequest", | |
| "image", | |
| "media" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 4, | |
| "priority": 10, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "Access-Control-Allow-Origin", "operation": "set", "value": "*" }, | |
| { "header": "access-control-allow-origin", "operation": "set", "value": "*" }, | |
| { "header": "Access-Control-Allow-Methods", "operation": "set", "value": "GET, POST, PUT, DELETE, OPTIONS, PATCH" }, | |
| { "header": "Access-Control-Allow-Headers", "operation": "set", "value": "*" }, | |
| { "header": "Access-Control-Allow-Credentials", "operation": "set", "value": "true" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "fbcdn.net", | |
| "fbsbx.com", | |
| "fbsbx.net", | |
| "whatsapp.net", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame", | |
| "media", | |
| "image" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 5, | |
| "priority": 20, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "Referer", "operation": "set", "value": "https://www.facebook.com/" }, | |
| { "header": "Origin", "operation": "set", "value": "https://www.facebook.com" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 6, | |
| "priority": 20, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "Referer", "operation": "set", "value": "https://web.whatsapp.com/" }, | |
| { "header": "Origin", "operation": "set", "value": "https://web.whatsapp.com" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.whatsapp.com/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 7, | |
| "priority": 15, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "X-Content-Type-Options", "operation": "remove" }, | |
| { "header": "x-content-type-options", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "fbcdn.net", | |
| "fbsbx.com", | |
| "fbsbx.net", | |
| "whatsapp.net", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "sub_frame", | |
| "xmlhttprequest", | |
| "image" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 8, | |
| "priority": 5, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "Cache-Control", "operation": "set", "value": "no-cache" }, | |
| { "header": "Pragma", "operation": "set", "value": "no-cache" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "fbcdn.net", | |
| "fbsbx.com", | |
| "fbsbx.net", | |
| "whatsapp.net", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 9, | |
| "priority": 25, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "Set-Cookie", "operation": "append", "value": "SameSite=None; Secure" }, | |
| { "header": "set-cookie", "operation": "append", "value": "SameSite=None; Secure" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 10, | |
| "priority": 20, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "Referer", "operation": "set", "value": "https://www.facebook.com/" }, | |
| { "header": "Origin", "operation": "set", "value": "https://www.facebook.com" }, | |
| { "header": "Sec-Fetch-Site", "operation": "set", "value": "same-origin" }, | |
| { "header": "Sec-Fetch-Mode", "operation": "set", "value": "navigate" }, | |
| { "header": "Sec-Fetch-Dest", "operation": "set", "value": "document" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/*", | |
| "resourceTypes": [ | |
| "sub_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 11, | |
| "priority": 20, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "Referer", "operation": "set", "value": "https://web.whatsapp.com/" }, | |
| { "header": "Origin", "operation": "set", "value": "https://web.whatsapp.com" }, | |
| { "header": "Sec-Fetch-Site", "operation": "set", "value": "same-origin" }, | |
| { "header": "Sec-Fetch-Mode", "operation": "set", "value": "navigate" }, | |
| { "header": "Sec-Fetch-Dest", "operation": "set", "value": "document" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.whatsapp.com/*", | |
| "resourceTypes": [ | |
| "sub_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 12, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/tr/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "image" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 13, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://connect.facebook.net/*/fbevents.js*", | |
| "resourceTypes": [ | |
| "script" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 14, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/browser_error/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 15, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/qp/log/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 16, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://web.whatsapp.com/logging*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 17, | |
| "priority": 30, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "Sec-Ch-Ua", "operation": "set", "value": "\"Google Chrome\";v=\"138\", \"Chromium\";v=\"138\", \"Not?A_Brand\";v=\"24\"" }, | |
| { "header": "Sec-Ch-Ua-Mobile", "operation": "set", "value": "?0" }, | |
| { "header": "Sec-Ch-Ua-Platform", "operation": "set", "value": "\"Windows\"" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame", | |
| "main_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 18, | |
| "priority": 35, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/logging/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 19, | |
| "priority": 35, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/bulk-logging/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 20, | |
| "priority": 35, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/mercury/delivery_receipts.php*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 21, | |
| "priority": 40, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "X-Requested-With", "operation": "remove" }, | |
| { "header": "x-requested-with", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame", | |
| "main_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 22, | |
| "priority": 35, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://web.whatsapp.com/crash*", | |
| "resourceTypes": [ | |
| "xmlhttprequest" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 23, | |
| "priority": 40, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "X-Forwarded-For", "operation": "remove" }, | |
| { "header": "Via", "operation": "remove" }, | |
| { "header": "X-Cloud-Trace-Context", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame", | |
| "main_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 24, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.whatsapp.net/statistics*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| }, | |
| { | |
| "id": 25, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.whatsapp.com/wa/v2/log*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| }, | |
| { | |
| "id": 26, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://graph.facebook.com/*logging*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| }, | |
| { | |
| "id": 27, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/error_reporting*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| }, | |
| { | |
| "id": 28, | |
| "priority": 30, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/bugreport*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| }, | |
| { | |
| "id": 29, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/bz*", | |
| "resourceTypes": ["xmlhttprequest", "ping", "other"] | |
| } | |
| }, | |
| { | |
| "id": 30, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/signals/*", | |
| "resourceTypes": ["xmlhttprequest", "ping", "other"] | |
| } | |
| }, | |
| { | |
| "id": 31, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/ajax/qe/*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| }, | |
| { | |
| "id": 32, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://web.whatsapp.com/telemetry*", | |
| "resourceTypes": ["xmlhttprequest", "ping"] | |
| } | |
| }, | |
| { | |
| "id": 33, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://web.whatsapp.com/analytics*", | |
| "resourceTypes": ["xmlhttprequest", "ping"] | |
| } | |
| }, | |
| { | |
| "id": 34, | |
| "priority": 50, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { "header": "CF-Connecting-IP", "operation": "remove" }, | |
| { "header": "True-Client-IP", "operation": "remove" }, | |
| { "header": "X-Real-IP", "operation": "remove" }, | |
| { "header": "X-Client-RateLimit-Bypass", "operation": "set", "value": "1" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*", | |
| "requestDomains": [ | |
| "facebook.com", | |
| "whatsapp.com", | |
| "web.facebook.com", | |
| "web.whatsapp.com" | |
| ], | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame", | |
| "main_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 35, | |
| "priority": 50, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "responseHeaders": [ | |
| { "header": "X-FB-Debug", "operation": "remove" }, | |
| { "header": "x-fb-debug", "operation": "remove" }, | |
| { "header": "X-FB-Rev", "operation": "remove" }, | |
| { "header": "x-fb-rev", "operation": "remove" } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/*", | |
| "resourceTypes": [ | |
| "xmlhttprequest", | |
| "sub_frame" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 36, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/signals/config/*", | |
| "resourceTypes": ["xmlhttprequest", "script"] | |
| } | |
| }, | |
| { | |
| "id": 37, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://*.facebook.com/privacy/sandbox/*", | |
| "resourceTypes": ["xmlhttprequest", "sub_frame"] | |
| } | |
| }, | |
| { | |
| "id": 38, | |
| "priority": 45, | |
| "action": { | |
| "type": "block" | |
| }, | |
| "condition": { | |
| "urlFilter": "*://web.whatsapp.com/debug*", | |
| "resourceTypes": ["xmlhttprequest"] | |
| } | |
| } | |
| ] |