mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Add support for regexSubstitution from uritransform
Related commit:
aaf35d9d71
This commit is contained in:
parent
b7b5d926f0
commit
fad0af591f
1 changed files with 1 additions and 0 deletions
|
|
@ -297,6 +297,7 @@ const isRedirect = rule => {
|
|||
if ( rule.action.type !== 'redirect' ) { return false; }
|
||||
if ( rule.action.redirect?.extensionPath !== undefined ) { return true; }
|
||||
if ( rule.action.redirect?.transform?.path !== undefined ) { return true; }
|
||||
if ( rule.action.redirect?.regexSubstitution !== undefined ) { return true; }
|
||||
return false;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue