3 ms·
As someone who does some (but not a lot of) web development, I guess the only thing I care about is: can I turn this off with uBlock Origin?
by bityard 2y ago
As someone who does some (but not a lot of) web development, I guess the only thing I care about is: can I turn this off with uBlock Origin?
- tootie 2y agoNope. Not if the pop-up is first party.
- anamexis 2y agoYes you can - uBlock Origin lets you apply CSS rules, and popovers can easily be hidden with the [popover] selector.
- KMnO4 2y agoThat’s like asking if you can turn off <form>s. Not sure why you’d want to. It’s a perfectly reasonable component that doesn’t need to be abused for ads.
- limbero 2y agoSeems 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.
- clementmas 2y agoI use <dialog> a lot when building websites. I don't run any ads nor promotional content so if that element was blocked it would break lots of features.