Hacker News new | ask | show | jobs
by stimpson_j_cat 1553 days ago
> added support for the <dialog> element

Might as well get started on those uBlock filters!

    dialog[class*="newsletter" i]
    dialog[id*="newsletter" i]
    dialog[class*="social" i]
    dialog[id*="social" i]
    dialog[id*="mailchimp" i]
2 comments

Every so often I daydream about a magical web browser with my preferred settings:

[x] Block javascript popups and scrollovers

[x] Block newsletter and notification solicitations

[x] Really block all forms of auto-playing video in a way that actually works

A „JavaScript popup“ is indistinguishable from a div (or other block element) or its visibility being toggled.
Not true in most cases. Usually popups have use position:fixed so they can be “easily” targeted. I remember seeing some extension that disabled position:fixed across the board (I assume it had terrible perf though)
how about just dialog*
Because you might just need that dialog to edit an entry in a table?