brave/adblock-rust

Support other procedural filters

ryanbr opened this issue ยท 6 comments

ryanbr commented

Coming from the post; https://www.reddit.com/r/brave_browser/comments/13lnfky/does_brave_now_fully_support_procedural_filtering/

https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters

Currently supporting :has

As of 19/05/2023, Popularity of filters in uBO:

Filter Number of filters used
has-text 494
upward 352
xpath 49
matches-css 48
matches-path 7
matches-media 3
matches-attr 2
watch-attr 1

Just noticed that Brave doesn't support has-text. Would be awesome to have that feature!

AdGuard lists use :contains() instead of :has-text(), Brave should support both of them.

Bumping this issue. It would be great to start supporting these selectors

Any news on this? Facebook ads (video pages or on mobile) are unblocked by the lack of has-text().