Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems like you could, since it has an attribute and a pseudo class to select on. document.querySelectorAll("[popover]:popover-open") should select all visible popovers. AFAIK uBlock uses regular CSS selectors.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: