Extension API Modification: Support CIDR blocks in urlFilter

2 views
Skip to first unread message

Chen Mor-Yosef

unread,
Sep 21, 2023, 9:20:25 AM9/21/23
to extension-...@chromium.org, rdevlin...@chromium.org, tjud...@chromium.org
Hey all,

Suggestion: Support CIDR blocks filter as part of the urlFilter flow.

As of today the urlFilter supports hostSuffix, hostEquals, ports filter and etc.

See full list here - https://developer.chrome.com/docs/extensions/reference/events/#type-UrlFilter.


It will be very useful to add an option to support CIDR blocks filter as well, this can be done via separated filter class (similar to ports filter) or as a URL matcher condition (similar to HostSuffix).


See relevant bug and PR below:

https://chromium-review.googlesource.com/c/chromium/src/+/4879438


Thanks,
Chen


Reply all
Reply to author
Forward
0 new messages