mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 09:06:56 +13:00
this fixes #795
This commit is contained in:
parent
a6dfe3f416
commit
0f629c9df8
1 changed files with 3 additions and 1 deletions
|
@ -149,7 +149,9 @@ const contentObserver = {
|
||||||
return this.ACCEPT;
|
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;
|
let parentFrameId;
|
||||||
|
|
||||||
if ( isTopLevel ) {
|
if ( isTopLevel ) {
|
||||||
|
|
Loading…
Reference in a new issue