mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
this fixes #795
This commit is contained in:
parent
5ab41b67a9
commit
551308455c
@ -149,7 +149,9 @@ const contentObserver = {
|
||||
return this.ACCEPT;
|
||||
}
|
||||
|
||||
let isTopLevel = context === context.top;
|
||||
// https://github.com/gorhill/uBlock/issues/795
|
||||
// Only the top main frame can be an orphan
|
||||
let isTopLevel = context === context.top && type === this.MAIN_FRAME;
|
||||
let parentFrameId;
|
||||
|
||||
if ( isTopLevel ) {
|
||||
|
Loading…
Reference in New Issue
Block a user