mirror of https://github.com/gorhill/uBlock.git
code review: diregard letter case when validating popup filters as popunder ones
This commit is contained in:
parent
9b83033785
commit
d44c54a477
|
@ -664,7 +664,7 @@ vAPI.tabs.onPopupUpdated = (function() {
|
|||
if ( logData.token === µb.staticNetFilteringEngine.dotTokenHash ) {
|
||||
return result;
|
||||
}
|
||||
var re = new RegExp(logData.regex),
|
||||
var re = new RegExp(logData.regex, 'i'),
|
||||
matches = re.exec(popunderURL);
|
||||
if ( matches === null ) { return 0; }
|
||||
var beg = matches.index,
|
||||
|
|
Loading…
Reference in New Issue