mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Resources Library (markdown)
parent
6a05dca986
commit
e727be6fb3
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue