mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Typo fixed (#815)
This commit is contained in:
@@ -51,13 +51,13 @@ requestAnalyzer.isValidCandidate = function (requestDetails, tabDetails) {
|
||||
}
|
||||
|
||||
// Font Awesome injections in Chromium deactivated (https://gitlab.com/nobody42/localcdn/-/issues/67)
|
||||
if (BrowserType.CHROMIUM) {
|
||||
if (!BrowserType.FIREFOX) {
|
||||
if (requestDetails.url.includes('font-awesome') || requestDetails.url.includes('fontawesome')) {
|
||||
console.warn(`${LogString.PREFIX} ${LogString.FONT_AWESOME}`);
|
||||
log.append(tabDetails.url, requestDetails.url, LogString.FONT_AWESOME, true);
|
||||
return false;
|
||||
}
|
||||
if (requestAnalyzer._isGoogleMaterialIcons(requestedDomain, requestDetails.url)) {
|
||||
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);
|
||||
|
Reference in New Issue
Block a user