Blocking handling of "Google Fonts" improved

This commit is contained in:
nobody 2020-07-12 15:45:20 +02:00
parent 4f823886dc
commit de6522534d
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
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
};

View File

@ -32,6 +32,7 @@
<li>Implemented: Collapsible changelog for previous versions(reported by email)</li>
<li>Added: Jets.js v0.14.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/56">#56</a>)</li>
<li>Added: Vanilla-Lazyload v17.1.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/56">#56</a>)</li>
<li>Fixed: Blocking handling of "Google Fonts" improved</li>
</ul>
<div class="topic-label">
Generate rule sets for uBlock or uMatrix