declarativeNetRequest.MAX_NUMBER_OF_REGEX_RULES

The maximum number of regular expression rules that an extension can add.

In Chrome, its value is 1000, and this limit is evaluated separately for the set of dynamic and session-scoped rules, and those specified in the rule resources file.

In Firefox, this limit is evaluated separately per ruleset.

In Safari, there is no separate limit on the number of regexFilter rules.

Browser compatibility

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

Legend

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

Full support
Full support
No support
No support