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:
@@ -76,13 +76,6 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
|
||||
'cancel': false
|
||||
};
|
||||
}
|
||||
} else 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
|
||||
return {
|
||||
'cancel': interceptor.blockGoogleFonts === true && isListed === false
|
||||
};
|
||||
}
|
||||
|
||||
if (targetDetails['result'] === false) {
|
||||
|
Reference in New Issue
Block a user