Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support other procedural filters #293

Closed
ryanbr opened this issue May 19, 2023 · 7 comments
Closed

Support other procedural filters #293

ryanbr opened this issue May 19, 2023 · 7 comments
Labels
uBO-parity pending features that are already available in uBO

Comments

@ryanbr
Copy link
Collaborator

ryanbr commented May 19, 2023

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
@laymonage
Copy link

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

@antonok-edm antonok-edm changed the title Support other procedual filters Support other procedural filters Sep 15, 2023
@superlex
Copy link

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

@chris-fj
Copy link

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

@Yuki2718
Copy link

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

@antonok-edm antonok-edm added the uBO-parity pending features that are already available in uBO label May 16, 2024
@CapSel
Copy link

CapSel commented Aug 23, 2024

In the mean time one can use "Stylebot" to match and hide elements using CSS matching.

@chris-fj
Copy link

chris-fj commented Aug 23, 2024 via email

@antonok-edm
Copy link
Collaborator

Added as of #388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
uBO-parity pending features that are already available in uBO
Projects
None yet
Development

No branches or pull requests

7 participants