| [ |
| { |
| "action": { |
| "type": "block" |
| }, |
| "trigger": { |
| "url-filter": "should_be_blocked_1" |
| } |
| }, |
| { |
| "action": { |
| "type": "block" |
| }, |
| "trigger": { |
| "url-filter": "should_be_blocked_2", |
| "if-top-url": ["^https?://127.0.0.1.*/contentex", "^should.not*match"] |
| } |
| }, |
| { |
| "action": { |
| "type": "block" |
| }, |
| "trigger": { |
| "url-filter": "should_be_blocked_3", |
| "unless-top-url": ["should?not.match"] |
| } |
| }, |
| { |
| "action": { |
| "type": "block" |
| }, |
| "trigger": { |
| "url-filter": "should_not_be_blocked_1", |
| "if-top-url": ["also.should?not+match"] |
| } |
| }, |
| { |
| "action": { |
| "type": "block" |
| }, |
| "trigger": { |
| "url-filter": "should_not_be_blocked_2", |
| "unless-top-url": ["127.0.0.1.*/top-url\\.html"] |
| } |
| } |
| ] |