File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -573,14 +573,12 @@ housekeep itself.
573
573
} catch {
574
574
return ;
575
575
}
576
- if (
577
- Array . isArray ( openerDetails ) === false ||
578
- openerDetails . length !== 2 ||
579
- openerDetails [ 1 ] === null ||
580
- openerDetails [ 1 ] . url === 'about:newtab'
581
- ) {
582
- return ;
583
- }
576
+ if ( Array . isArray ( openerDetails ) === false ) { return ; }
577
+ if ( openerDetails . length !== 2 ) { return ; }
578
+ if ( openerDetails [ 1 ] === null ) { return ; }
579
+ if ( openerDetails [ 1 ] . url === 'about:newtab' ) { return ; }
580
+ // https://github.com/uBlockOrigin/uBlock-issues/issues/2227
581
+ if ( openerDetails [ 1 ] . url . startsWith ( 'chrome:' ) ) { return ; }
584
582
popupCandidates . set (
585
583
tabId ,
586
584
new PopupCandidate ( createDetails , openerDetails )
You can’t perform that action at this time.
0 commit comments