Skip to main content

Module rule

Module rule 

Source
Expand description

Declarative interception rules.

Each rule pairs a matcher (a UrlPattern, or a HostMatcher for BlockHosts) with one of six actions (Block, Redirect, Respond, Modify, ModifyResponse, BlockHosts). The actor in T6 walks the rule list in registration order on each Fetch.requestPaused event; the first rule that matches the request URL wins.

Enumsยง

Rule
A single interception rule.