1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Chromium: Remove option to block Google Fonts (#1085)

This commit is contained in:
nobody
2022-07-27 18:22:49 +02:00
parent 61957fb94f
commit f1fb6c9a17
7 changed files with 11 additions and 13 deletions

View File

@@ -57,12 +57,6 @@ requestAnalyzer.isValidCandidate = function (requestDetails, tabDetails) {
log.append(tabDetails.url, requestDetails.url, LogString.FONT_AWESOME, true);
return false;
}
if (requestAnalyzer.isGoogleMaterialIcons(requestedDomain, requestDetails.url)) {
// also valid for Google Material icons
console.warn(`${LogString.PREFIX} ${LogString.GOOGLE_MATERIAL_ICONS}`);
log.append(tabDetails.url, requestDetails.url, LogString.GOOGLE_MATERIAL_ICONS, true);
return false;
}
}
// Ignore requests if website is 'yandex.com' and CDN is 'yastatic.net', because website and CDN are the same.