mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 16:47:15 +02:00
this fixes #1403
This commit is contained in:
parent
e39efa32a0
commit
abb6d1a610
@ -211,8 +211,8 @@ var getHostnameDict = function(hostnameToCountMap) {
|
|||||||
domain: domain,
|
domain: domain,
|
||||||
blockCount: blockCount,
|
blockCount: blockCount,
|
||||||
allowCount: allowCount,
|
allowCount: allowCount,
|
||||||
totalBlockCount: 0,
|
totalBlockCount: blockCount,
|
||||||
totalAllowCount: 0
|
totalAllowCount: allowCount
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
de = r[domain];
|
de = r[domain];
|
||||||
|
@ -286,7 +286,7 @@ housekeep itself.
|
|||||||
this.rawURL = stackEntry.url;
|
this.rawURL = stackEntry.url;
|
||||||
this.normalURL = µb.normalizePageURL(this.tabId, this.rawURL);
|
this.normalURL = µb.normalizePageURL(this.tabId, this.rawURL);
|
||||||
this.rootHostname = µb.URI.hostnameFromURI(this.normalURL);
|
this.rootHostname = µb.URI.hostnameFromURI(this.normalURL);
|
||||||
this.rootDomain = µb.URI.domainFromHostname(this.rootHostname);
|
this.rootDomain = µb.URI.domainFromHostname(this.rootHostname) || this.rootHostname;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Called whenever a candidate root URL is spotted for the tab.
|
// Called whenever a candidate root URL is spotted for the tab.
|
||||||
|
Loading…
Reference in New Issue
Block a user