ExtendedCss icon indicating copy to clipboard operation
ExtendedCss copied to clipboard

Selectors separated with , in ext-CSS part not working

Open BlazDT opened this issue 2 years ago • 2 comments

https://m.timesofindia.com/entertainment/telugu/movies/news?curpg=10

m.timesofindia.com#?##newslisting .story_left:has(> div[data-ad-id], div[id^="div-gpt"]) should hide about 21 elements (Chrome's ext-CSS is selecting those elements just fine).

image

Chrome Extension 4.1.55

BlazDT avatar May 12 '23 06:05 BlazDT

look like one of the known issues https://github.com/AdguardTeam/ExtendedCss#known-issues

slavaleleka avatar May 12 '23 08:05 slavaleleka

If I'm not wrong, as a workaround :is() can be used, something like:

m.timesofindia.com#?##newslisting .story_left:has(> :is(div[data-ad-id], div[id^="div-gpt"]))

AdamWr avatar May 12 '23 09:05 AdamWr