[Declarative Net Request] Feature announcement: Global Rule Limit and Session Scoped Rules

204 views
Skip to first unread message

Kelvin Jiang

unread,
Feb 17, 2021, 8:35:08 PM2/17/21
to Chromium Extensions

Hi,

We are excited to announce the following new features for the declarativeNetRequest API:


Global Rules

As of Chrome 89, extensions will always be able to enable up to a certain number of static rules, and any additional rules enabled will count towards a global limit that is shared between all extensions. We anticipate that this will enable extensions to specify more powerful rulesets for content blocking and other purposes, while mitigating performance concerns. Documentation is available here.


Session scoped rules

As of Chrome 90, extensions will be able to add session scoped rules in a similar fashion to adding dynamic rules. Unlike dynamic rules, session scoped rules are not persisted across browser sessions. Dynamic and session scoped rules will both count towards a common rule limit. Documentation is available here.

Both of these changes are available today in Chrome Canary. Please experiment with these new features and report feedback using crbug.com/new.

Thanks,

Kelvin

On behalf of the Chrome Extensions team


Reply all
Reply to author
Forward
0 new messages