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

Selectors separated with , in ext-CSS part not working #170

Open
BlazDT opened this issue May 12, 2023 · 2 comments
Open

Selectors separated with , in ext-CSS part not working #170

BlazDT opened this issue May 12, 2023 · 2 comments
Assignees

Comments

@BlazDT
Copy link

BlazDT commented May 12, 2023

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

@slavaleleka
Copy link
Contributor

@AdamWr
Copy link
Member

AdamWr commented May 12, 2023

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"]))

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

No branches or pull requests

6 participants