brave/adblock-rust

Support standard and aggressive filter flags

Closed this issue · 1 comments

Support for $standard and/or $aggressive adblock filter switches. To allow a Brave-specific AdBlock filter to only apply in certain shield modes. Avoiding any hardcoded work arounds.

So something like @@||improving.duckduckgo.com^ would become @@||improving.duckduckgo.com^$~aggressive or @@||improving.duckduckgo.com^$standard.

Ref: brave/brave-browser#16133

@ryanbr this sounds like a good use-case for the $tag option, i.e. $tag=aggressive - then no new syntax is needed in adblock-rust.