Does uBO de-dupe cosmetic-HTML filters if no-script? #3395
-
If example.com##^.ad-unit-wrapper Then the following cosmetic-filters are useless for ! generic: has to stay in memory, but
! `example.com` can be whitelisted
##.ad-unit-wrapper
! specific: can be deduped
example.com##.ad-unit-wrapper
! very specific: not identical, but can be discarded anyways
example.com##.ad-unit-wrapper > .example-ad This optimization is valid for all host-names, as long as the HTML-filter's CSS-selector is identical (or "broader") than the cosmetic counterpart. I understand that static-filters are parsed+de-duped independently of rules (dynamic or switch). But what if the user blocks all scripts using a static-filter? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
I don't understand what you are asking. Cosmetic filters are unrelated to |
Beta Was this translation helpful? Give feedback.
-
CSS can be useful if HTML Filtering fails on the first visit #3222 (I assume that disabling JS by any method does not help to reported error 3222). |
Beta Was this translation helpful? Give feedback.
Then no.