Add an extension API which allows the extensions to whitelist top level URLs for declarative Net Request. The API would look as follows:
- chrome.declarativeNetRequest.whitelistPage([array of URL match patterns])
- chrome.declarativeNetRequest.removeWhitelistedPages([array of URL match patterns])
- chrome.declarativeNetRequest.getWhitelistedPages()
As per discussion, the current plan is to not support dynamic rules. Allowing extensions to whitelist pages/sites should suffice for most of the important use cases of dynamic rules.
Comment 1 by rdevlin....@chromium.org
, Feb 12 2018