1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00
This commit is contained in:
gorhill 2015-02-10 10:55:54 -05:00
parent 794e23a9c9
commit 7c08a4b259

View File

@ -311,7 +311,10 @@ var renderPrivacyExposure = function() {
// The root page domain must always be counted as connected: that's from
// where the root document was fetched.
if ( allDomains[popupData.pageDomain] !== true ) {
// https://github.com/gorhill/uBlock/issues/759
// The root page domain must be counted if and only if it was actually
// obtained through a network request.
if ( allDomainCount !== 0 && allDomains[popupData.pageDomain] !== true ) {
allDomains[popupData.pageDomain] = true;
touchedDomainCount += 1;
}