declarativeNetRequest.MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES
The maximum number of dynamic and session-scoped rules an extension can add.
- Until Firefox 126, this property had a value of 5,000 and indicated that an extension could create up to 5,000 dynamic rules and up to 5,000 session-scope rules. This property was deprecated in Firefox 126, and the limits are now defined separately for each rule type by
declarativeNetRequest.MAX_NUMBER_OF_DYNAMIC_RULES
anddeclarativeNetRequest.MAX_NUMBER_OF_SESSION_RULES
. - Until Chrome 119, this property had a value of 5,000 and indicated that an extension could create any combination of dynamic and session-scope up to 5,000. This property was deprecated in Chrome 120. See rule limits in the Chrome documentation for information on limits in Chrome 120 and higher.
- In Safari, this property has a value of 30,000 and indicates an extension can create any combination of dynamic and session-scope rules up to 30,000.
Browser compatibility
BCD tables only load in the browser