1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 18:32:45 +01:00
uBlock/assets
Raymond Hill 2bb446797a
Add remove-node-text.js scriptlet
The scriptlet remove the *whole* text of a DOM node. Usage:

    example.com##+js(remote-node-text, nodeName, condition, ...)

Where `condition` is a pattern to find in the target node for the
removal to occur. Since the text of the node is wholly removed,
this is not a scriplet which requires a trusted-source, as it is
virtually a similar capability as removing DOM nodes through
procedural cosmetic operator `:remove()` (which can't target
`#text` nodes), which does not require trusted-source.

Alias: `rmnt`

The extra parameters are the same as those documented for
`replace-node-text`.

For consistency, the alias for `replace-node-text` has been renamed
`rpnt`.
2023-05-25 08:51:26 -04:00
..
resources Add remove-node-text.js scriptlet 2023-05-25 08:51:26 -04:00
assets.dev.json Add easylist-chat to Annoyances/Easylist -- Annoyances section 2023-05-21 21:23:02 -04:00
assets.json Use non-minified lists for stable release of assets.json 2023-05-20 22:01:55 -04:00