[{
"id": 1,
"priority": 1,
"condition": {
"requestDomains": ["block.example"]
},
"action": {
"type": "block"
}
},
{
"id": 2,
"priority": 1,
"condition": {
"urlFilter": "||allowed-redirect.example/ad.js",
"resourceTypes": ["script"]
},
"action": {
"type": "redirect",
"redirect": {
"url": "https://redirect.example/test.js"
}
}
},
{
"id": 3,
"priority": 1,
"condition": {
"urlFilter": "||not-allowed-redirect.example/ad1.js",
"resourceTypes": ["script"]
},
"action": {
"type": "redirect",
"redirect": {
"url": "https://redirect.example/test.js"
}
}
}
]