declarativeNetRequest.MAX_NUMBER_OF_ENABLED_STATIC_RULESETS

扩展可以启用的静态规则集的最大数量,即在清单(manifest)键 declarative_net_request.rule_resources 中具有 "enabled" 设置为 true 的值的数量。超过限制的静态规则集将被忽略。

扩展可以使用 updateEnabledRulesets 方法更改已启用的规则集的数量。

其值为 10

浏览器兼容性

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

Legend

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

Full support
Full support