declarativeNetRequest.MatchedRule

An object describing the matched rule. This type may be returned by the declarativeNetRequest.getMatchedRules or declarativeNetRequest.testMatchOutcome methods, or observed through the declarativeNetRequest.onRuleMatchedDebug event.

Type

Values of this type are objects. They contain these properties:

extensionId

A string. The ID of the extension, if this rule belongs to a different extension. This property is only available when used with declarativeNetRequest.testMatchOutcome, with the includeOtherExtensions option set to true.

ruleId

A number. The matching rule's ID.

rulesetId

A string. The ID of the ruleset this rule belongs to. The value returned is:

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
MatchedRule
extensionId

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support