mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-05 18:49:39 +02:00
Firefox: behind-the-scene request types
This commit is contained in:
parent
1dea28f558
commit
18a636305f
@ -1064,7 +1064,10 @@ var httpObserver = {
|
|||||||
var lastRequest = this.lastRequest;
|
var lastRequest = this.lastRequest;
|
||||||
|
|
||||||
if ( lastRequest.url === null ) {
|
if ( lastRequest.url === null ) {
|
||||||
this.handleRequest(channel, URI, {tabId: vAPI.noTabId, type: 1});
|
this.handleRequest(channel, URI, {
|
||||||
|
tabId: vAPI.noTabId,
|
||||||
|
type: channel.loadInfo && channel.loadInfo.contentPolicyType || 1
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user