Open alkim0 opened 2 years ago
When running url_comsetic_resources, certain hide selectors are not being returned. For example, with ublock's filters.txt, on url_cosmetic_resources("https://google.com"), I would expect:
url_comsetic_resources
url_cosmetic_resources("https://google.com")
#atvcap > div:has(h3[role="heading"] > span:has-text(/^Ads/))
to be one of the hide selectors, but that is not returned. For url_cosmetic_resources("https://youtube.com"), I would expect:
url_cosmetic_resources("https://youtube.com")
ytd-display-ad-renderer:upward(ytd-rich-item-renderer)
to be one of the hide selectors, but that is not returned either.
Might be worth trying again now since I've updated the upstream library to 0.5.6.
0.5.6
No go. This seems to a current limitation of the upstream library https://github.com/brave/adblock-rust/issues/145
When running
url_comsetic_resources
, certain hide selectors are not being returned. For example, with ublock's filters.txt, onurl_cosmetic_resources("https://google.com")
, I would expect:to be one of the hide selectors, but that is not returned. For
url_cosmetic_resources("https://youtube.com")
, I would expect:to be one of the hide selectors, but that is not returned either.