Add resourceTypes to condition

This commit is contained in:
Liam Steckler 2023-02-20 12:23:56 -08:00
parent 8053bce46c
commit 9bf5089c06

View file

@ -1,13 +1,21 @@
[{ [
"id" : 1, {
"id": 1,
"priority": 1, "priority": 1,
"action": { "action": {
"type": "modifyHeaders", "type": "modifyHeaders",
"requestHeaders": [{ "requestHeaders": [
{
"operation": "set", "operation": "set",
"header": "user-agent", "header": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
}] }
}, ]
"condition" : {} },
}] "condition": {
"resourceTypes": [
"main_frame"
]
}
}
]