mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
draft
This commit is contained in:
parent
43d08d7737
commit
ff8e63e31d
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ function patchRuleWithTo(rule) {
|
|||
const { urlFilter } = condition;
|
||||
if ( urlFilter === undefined ) { return; }
|
||||
if ( urlFilter.includes('*') === false ) { return; }
|
||||
if ( urlFilter.includes('/') === false ) { return; }
|
||||
if ( urlFilter.includes('^') ) { return; }
|
||||
condition.regexFilter = regexFilterFromUrlFilter(urlFilter);
|
||||
condition.urlFilter = undefined;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue