declarativeNetRequest.MAX_NUMBER_OF_REGEX_RULES

扩展可以添加的正则表达式规则的最大数量。

在 Chrome 中,其值为 1000,此限制分别针对动态规则集和会话规则集以及在规则资源文件中指定的规则进行评估。

在 Firefox 中,此限制针对每个规则集单独进行评估。

在 Safari 中,没有关于 regexFilter 规则数量的单独限制。

浏览器兼容性

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