mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
Fix regression in trusted-replace-node-text
scriptlet
Related commit:
8afd9e233d
This commit is contained in:
parent
f1c45a2800
commit
14d90418b8
@ -715,7 +715,7 @@ function replaceNodeTextFn(
|
||||
const rePattern = safe.patternToRegex(pattern, 'gms');
|
||||
const extraArgs = safe.getExtraArgs(Array.from(arguments), 3);
|
||||
const reIncludes = safe.patternToRegex(extraArgs.includes || extraArgs.condition || '', 'ms');
|
||||
const reExcludes = safe.patternToRegex(extraArgs.excludes || '', 'ms');
|
||||
const reExcludes = safe.patternToRegex(extraArgs.excludes || '.^', 'ms');
|
||||
const stop = (takeRecord = true) => {
|
||||
if ( takeRecord ) {
|
||||
handleMutations(observer.takeRecords());
|
||||
|
Loading…
Reference in New Issue
Block a user