mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 01:29:39 +02:00
*** New procedural cosmetic operator: `:remove()` Related issue: - https://github.com/gorhill/uBlock/issues/2252 The purpose is to outright remove elements from the DOM tree. Since `:remove()` is an "action" operator, it must only be used as a trailing operator (just like the `:style()` operator). AdGuard's cosmetic filter syntax `{ remove: true; }` will be converted to uBO's `:remove()` operator internally. *** New procedural cosmetic operator: `:upward(...)` The purpose is to lookup an ancestor element. When used with an integer argument, it is synonym of `:nth-ancestor()`, which will be deprecated and which will no longer be supported once no longer used in mainstream filter lists. Filter lists maintainers must only use `:upward(int)` instead of `:nth-ancestor(int)` once the new operator become available in all stable releases of uBO. `:upward()` can also accept a CSS selector as argument, in which case the nearest ancestor which matches the CSS selector will be selected. |
||
---|---|---|
.. | ||
is-webrtc-supported.html | ||
is-webrtc-supported.js | ||
managed_storage.json | ||
manifest.json | ||
vapi-background.js | ||
vapi-client-extra.js | ||
vapi-client.js | ||
vapi-common.js | ||
vapi-usercss.js | ||
vapi-usercss.pseudo.js | ||
vapi-usercss.real.js | ||
vapi-webrequest.js | ||
vapi.js | ||
webext.js |