declarativeNetRequest.MAX_NUMBER_OF_REGEX_RULES
扩展可以添加的正则表达式规则的最大数量。
在 Chrome 中,其值为 1000,此限制分别针对动态规则集和会话规则集以及在规则资源文件中指定的规则进行评估。
在 Firefox 中,此限制针对每个规则集单独进行评估。
在 Safari 中,没有关于 regexFilter
规则数量的单独限制。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.