mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
Fix window.open-defuser
Matching logic has been erronesouly reverse.
This commit is contained in:
parent
a992875c94
commit
3e53963be3
@ -22,7 +22,7 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
let result = parseInt('{{1}}', 10);
|
||||
result = isNaN(result) || result !== 0;
|
||||
result = isNaN(result) === false && result === 0;
|
||||
let needle = '{{2}}';
|
||||
if ( needle === '' || needle === '{{2}}' ) {
|
||||
needle = '.?';
|
||||
|
Loading…
Reference in New Issue
Block a user