mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
fixed using uninitialized var
This commit is contained in:
parent
12fc8faf3a
commit
3d38285100
1 changed files with 2 additions and 1 deletions
|
|
@ -176,6 +176,8 @@ var onBeforeRequest = function(details) {
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
var onBeforeRootFrameRequest = function(details) {
|
var onBeforeRootFrameRequest = function(details) {
|
||||||
|
var requestURL = details.url;
|
||||||
|
|
||||||
mostRecentRootDocURL = requestURL;
|
mostRecentRootDocURL = requestURL;
|
||||||
mostRecentRootDocURLTimestamp = Date.now();
|
mostRecentRootDocURLTimestamp = Date.now();
|
||||||
|
|
||||||
|
|
@ -184,7 +186,6 @@ var onBeforeRootFrameRequest = function(details) {
|
||||||
// This must be executed regardless of whether the request is
|
// This must be executed regardless of whether the request is
|
||||||
// behind-the-scene
|
// behind-the-scene
|
||||||
var µb = µBlock;
|
var µb = µBlock;
|
||||||
var requestURL = details.url;
|
|
||||||
var requestHostname = details.hostname;
|
var requestHostname = details.hostname;
|
||||||
var requestDomain = µb.URI.domainFromHostname(requestHostname);
|
var requestDomain = µb.URI.domainFromHostname(requestHostname);
|
||||||
var context = {
|
var context = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue