mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-12 18:04:16 +01:00
Keep example simple
parent
afc8deab2e
commit
2f909b712c
1 changed files with 2 additions and 10 deletions
|
@ -167,17 +167,9 @@ Experimental.
|
|||
- Chainable: Yes.
|
||||
- _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:
|
||||
- `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.
|
||||
|
||||
Example:
|
||||
- [Test case](https://ameshkov.github.io/web/watchattr.html) to detect `id`changes using filter `ameshkov.github.io###testdiv:watch-attr(id):has(p)`
|
||||
|
||||
Introduced in uBO [1.17.5rc3](https://github.com/gorhill/uBlock/commit/8a88e9d93174badd6855c0e782737158c9ccd6f8)
|
||||
|
||||
|
|
Loading…
Reference in a new issue