Skip to content

Generic cosmetic filter doesn't get applied sometimes #3404

Closed Answered by gorhill
uBlock-user asked this question in General
Discussion options

You must be logged in to vote

Performance, it has been discussed in the issue tracker. There was one issue about a custom cosmetic filter on arstechnica.com suffering such issue, the poster thought it was caused by double dash --, but this was a attribute issue. I am having a hard time to find such old issues lately. I discussed that I was not comfortable with triggering the mutation observer on attribute changes. The solution is either inject uncondtionally (*##), or for procedural operator use :watch-attr operator.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@uBlock-user
Comment options

uBlock-user Oct 6, 2024
Collaborator Author

@gorhill
Comment options

@uBlock-user
Comment options

uBlock-user Oct 6, 2024
Collaborator Author

@gorhill
Comment options

Answer selected by uBlock-user
@uBlock-user
Comment options

uBlock-user Oct 6, 2024
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants