mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Resources Library (markdown)
parent
43d4ec7045
commit
6a05dca986
1 changed files with 3 additions and 1 deletions
|
|
@ -979,7 +979,9 @@ https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName
|
|||
matches the pattern. Cannot be omitted if extra pairs of parameters have to be used (see below)
|
||||
|
||||
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 substitution to occur
|
||||
- `excludes, pattern`: A string or regex which must **not** be found in the text content of the node
|
||||
in order for the substitution to occur
|
||||
- `sedCount, n`: This will cause the scriptlet to stop after `n` instances of substitution. 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