Add resourceTypes to condition
This commit is contained in:
parent
7aed8f6820
commit
fe7acc9940
1 changed files with 17 additions and 9 deletions
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in a new issue