mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
handle initiator === "null" (see https://issues.adblockplus.org/ticket/6586)
This commit is contained in:
parent
686171c315
commit
0458d01eb2
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ vAPI.net.registerListeners = function() {
|
|||
// the URL of the origin from which the network request was made.
|
||||
if (
|
||||
details.tabId === vAPI.noTabId &&
|
||||
typeof details.initiator === 'string'
|
||||
typeof details.initiator === 'string' &&
|
||||
details.initiator !== 'null'
|
||||
) {
|
||||
details.tabId = vAPI.anyTabId;
|
||||
details.documentUrl = details.initiator;
|
||||
|
|
Loading…
Reference in a new issue