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

Blocking handling of "Google Fonts" improved

This commit is contained in:
nobody
2020-07-12 15:45:20 +02:00
parent 4f823886dc
commit de6522534d
2 changed files with 2 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
validCandidate = requestAnalyzer.isValidCandidate(requestDetails, tab);
if (requestDetails.url.startsWith('https://fonts.googleapis.com/css?family')) {
if(interceptor.blockGoogleFonts) {
if(interceptor.blockGoogleFonts === true || interceptor.blockMissing === true) {
return {
'cancel': true
};