1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-01 02:02:29 +02:00

Better live page where watch-attr is useful (also works faster than "chain :style(...) operator to procedural operators" version for this page); vivre pages was change layout/mechanism few times, so for a dozen weeks worked too vivrehome.pl##+js(set, appShell.guest, false) and now may don't have this pop-up.

strict-block 2021-05-20 12:46:26 +02:00
parent d87bf331e6
commit afc8deab2e

@ -168,9 +168,17 @@ Experimental.
- _subject_: Can be a plain CSS selector, or a procedural cosmetic filter.
- _arg_: comma-separate list of attribute names. No argument means watch changes of any one attribute.
- Examples:
- `www.vivrehome.pl##.js-popup-register:not([style]):watch-attr(style):has(.js-title-default.is-hidden:watch-attr(class))` blocks the "Register" overlay when first visiting the site, but yet allow the "Register" overlay when clicking "rejestracja".
- `hrkgame.com##.dimmable, .dimmed:style(overflow: auto !important;)`
`hrkgame.com##.modals.dimmer > .gdpr.ui:style(visibility: hidden !important;)`
`hrkgame.com##.modals.dimmer > .gdpr.visible:upward(1):watch-attr([class])`
Filters try hide GDPR pop-up without break other pop-ups for logged users like enable/disable 2FA.
- `ameshkov.github.io###testdiv:watch-attr(id):has(p)` demo, detects `id` changes.
Introduced in uBO [1.17.5rc3](https://github.com/gorhill/uBlock/commit/8a88e9d93174badd6855c0e782737158c9ccd6f8)
Solves [uBlockOrigin/uBlock-issues#341 (comment)](https://github.com/uBlockOrigin/uBlock-issues/issues/341#issuecomment-449764612) (overlay dialog used for two purposes, differ only by class name in child node).