Updated Resources Library (markdown)

Raymond Hill 2024-07-20 11:03:43 -04:00
parent 6a05dca986
commit e727be6fb3

@ -1023,7 +1023,9 @@ https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName
Optionally, extra pairs of parameters (tokens) can be used to modify the behavior of the scriptlet.
Tokens:
- `condition, pattern`: A string or regex which must be found in the text content of the node
- `includes, pattern`: A string or regex which must be found in the text content of the node
in order for the removing to occur
- `excludes, pattern`: A string or regex which must **not** be found in the text content of the node
in order for the removing to occur
- `sedCount, n`: This will cause the scriptlet to stop after `n` instances of removing. Since a mutation oberver is used by the scriptlet, it's advised to stop it whenever it becomes pointless. Default to zero, which means the scriptlet never stops
- `stay, 1`: Force the scriptlet to stay at work forever