From 2f909b712c23472f34daa3c6ef861146099438c9 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 20 May 2021 07:17:03 -0400 Subject: [PATCH] Keep example simple --- Procedural-cosmetic-filters.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Procedural-cosmetic-filters.md b/Procedural-cosmetic-filters.md index 3865182..1e12754 100644 --- a/Procedural-cosmetic-filters.md +++ b/Procedural-cosmetic-filters.md @@ -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)