[{
"id" : 3,
"priority": 1,
"action": { "type" : "redirect", "redirect" : { "url": "http://abc.com" } },
"condition" : { "urlFilter" : "redir2.com", "resourceTypes" : [ "main_frame" ] }
},
{
"id" : 4,
"priority": 1,
"action": { "type" : "allow" },
"condition" : { "urlFilter" : "abcde.com", "resourceTypes" : [ "main_frame" ] }
},
{
"id" : 5,
"priority": 1,
"action": { "type" : "redirect", "redirect" : { "url": "http://nomatch.com" } },
"condition" : { "urlFilter" : "abcde.com", "resourceTypes" : [ "main_frame" ] }
},
{
"_comment": [
"Add a rule to block any thirdParty frames, content inside sandboxed iframes will be considered thirdParty even if the origin is the same."
],
"id" : 6,
"priority": 1,
"action": { "type" : "block" },
"condition" : { "domainType": "thirdParty", "urlFilter" : "blocked_frame.html", "resourceTypes" : [ "sub_frame" ] }
}]