Add resourceTypes to condition

This commit is contained in:
Liam Steckler 2024-01-14 13:52:26 -08:00
parent 7aed8f6820
commit fe7acc9940

View file

@ -1,13 +1,21 @@
[{
"id" : 1,
[
{
"id": 1,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [{
"type": "modifyHeaders",
"requestHeaders": [
{
"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"
}]
},
"condition" : {}
}]
}
]
},
"condition": {
"resourceTypes": [
"main_frame"
]
}
}
]