mirror of https://github.com/gorhill/uBlock.git
parent
b779f1f7c9
commit
18e6f30c1c
|
@ -358,7 +358,7 @@ const onBeforeBehindTheSceneRequest = function(fctxt) {
|
||||||
// way to know for sure which exact page triggered a tabless network
|
// way to know for sure which exact page triggered a tabless network
|
||||||
// request.
|
// request.
|
||||||
|
|
||||||
onBeforeBehindTheSceneRequest.journalAddRequest = (( ) => {
|
{
|
||||||
let hostname = '';
|
let hostname = '';
|
||||||
let pageStores = new Set();
|
let pageStores = new Set();
|
||||||
let pageStoresToken = 0;
|
let pageStoresToken = 0;
|
||||||
|
@ -376,7 +376,7 @@ onBeforeBehindTheSceneRequest.journalAddRequest = (( ) => {
|
||||||
gcTimer = vAPI.setTimeout(gc, 30011);
|
gcTimer = vAPI.setTimeout(gc, 30011);
|
||||||
};
|
};
|
||||||
|
|
||||||
return function(fctxt, result) {
|
onBeforeBehindTheSceneRequest.journalAddRequest = (fctxt, result) => {
|
||||||
const { docHostname } = fctxt;
|
const { docHostname } = fctxt;
|
||||||
if (
|
if (
|
||||||
docHostname !== hostname ||
|
docHostname !== hostname ||
|
||||||
|
@ -398,7 +398,7 @@ onBeforeBehindTheSceneRequest.journalAddRequest = (( ) => {
|
||||||
pageStore.journalAddRequest(fctxt.hostname, result);
|
pageStore.journalAddRequest(fctxt.hostname, result);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue