mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 08:37:11 +02:00
this fixes #1403
This commit is contained in:
parent
e39efa32a0
commit
abb6d1a610
@ -211,8 +211,8 @@ var getHostnameDict = function(hostnameToCountMap) {
|
||||
domain: domain,
|
||||
blockCount: blockCount,
|
||||
allowCount: allowCount,
|
||||
totalBlockCount: 0,
|
||||
totalAllowCount: 0
|
||||
totalBlockCount: blockCount,
|
||||
totalAllowCount: allowCount
|
||||
};
|
||||
} else {
|
||||
de = r[domain];
|
||||
|
@ -286,7 +286,7 @@ housekeep itself.
|
||||
this.rawURL = stackEntry.url;
|
||||
this.normalURL = µb.normalizePageURL(this.tabId, this.rawURL);
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user