mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 10:52:43 +01:00
Restore behind-the-scene origin for docless secondary resources
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2515
This commit is contained in:
parent
4690885c85
commit
8f32bee8b9
@ -336,7 +336,9 @@ const µBlock = { // jshint ignore:line
|
||||
this.setDocOrigin(origin).setTabOrigin(origin);
|
||||
return this;
|
||||
}
|
||||
const origin = originFromURI(this.url);
|
||||
const origin = (this.itype & this.FRAME_ANY) !== 0
|
||||
? originFromURI(this.url)
|
||||
: this.tabOrigin;
|
||||
this.setDocOrigin(origin).setTabOrigin(origin);
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user