Details of the action to take if a rule is matched, as the
action property of a
Values of this type are objects. They contain these properties:
declarativeNetRequest.Redirect. Describes how the redirect should be performed. Only valid for redirect rules.
declarativeNetRequest.ModifyHeaderInfo. The request headers to modify for the request. Only valid if
declarativeNetRequest.ModifyHeaderInfo. The response headers to modify for the request. Only valid if
string. The type of action to perform. Possible values are
"allowAllRequests". The use of the
"modifyHeaders"actions require host permissions for the request and request initiator. The "block" and "upgradeScheme" actions also require host permissions unless the "declarativeNetRequest" permission is specified. Without these permissions, matching rules are ignored. See Permissions at declarativeNetRequest for more information. More details about the effects of rule actions are provided in Matching precedents.
BCD tables only load in the browser