From 428bd38e58b5168c240f2631021ff06b565ef9e3 Mon Sep 17 00:00:00 2001 From: nobody Date: Sun, 30 Jan 2022 09:37:42 +0100 Subject: [PATCH] Firefox part fixed (#857) --- core/interceptor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/interceptor.js b/core/interceptor.js index 2dd73d28..6d1e2fb4 100644 --- a/core/interceptor.js +++ b/core/interceptor.js @@ -52,7 +52,7 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) { isGoogleFont = requestAnalyzer.isGoogleFont(targetDomain); isGoogleMaterialIcons = requestAnalyzer.isGoogleMaterialIcons(requestDetails.url); - if (BrowserType.FIREFOX && (isGoogleFont || !isGoogleMaterialIcons)) { + if (BrowserType.FIREFOX && isGoogleFont && !isGoogleMaterialIcons) { initiatorDomain = helpers.extractDomainFromUrl(tab.url, true); isListed = helpers.checkAllowlisted(initiatorDomain, interceptor.allowedDomainsGoogleFonts); // Check if the website is allowed to load Google Fonts