declarativeNetRequest.MAX_NUMBER_OF_ENABLED_STATIC_RULESETS
The maximum number of static rulesets an extension can have enabled, i.e., the number of values in the declarative_net_request.rule_resources manifest key with "enabled" set to true. Static rulesets exceeding the limit are ignored.
An extension can change the number of enabled rulesets using the updateEnabledRulesets method.
Its value is 10.
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
MAX_NUMBER_OF_ENABLED_STATIC_RULESETS |
94 | 94 | No | ? | 80 | preview | ? | ? | No | ? | No | ? |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/MAX_NUMBER_OF_ENABLED_STATIC_RULESETS