Add resourceTypes to condition
This commit is contained in:
parent
8053bce46c
commit
9bf5089c06
1 changed files with 17 additions and 9 deletions
|
@ -1,13 +1,21 @@
|
|||
[{
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"priority": 1,
|
||||
"action": {
|
||||
"type": "modifyHeaders",
|
||||
"requestHeaders": [{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue