Blocking handling of "Google Fonts" improved
This commit is contained in:
parent
4f823886dc
commit
de6522534d
|
@ -35,7 +35,7 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
|
||||||
validCandidate = requestAnalyzer.isValidCandidate(requestDetails, tab);
|
validCandidate = requestAnalyzer.isValidCandidate(requestDetails, tab);
|
||||||
|
|
||||||
if (requestDetails.url.startsWith('https://fonts.googleapis.com/css?family')) {
|
if (requestDetails.url.startsWith('https://fonts.googleapis.com/css?family')) {
|
||||||
if(interceptor.blockGoogleFonts) {
|
if(interceptor.blockGoogleFonts === true || interceptor.blockMissing === true) {
|
||||||
return {
|
return {
|
||||||
'cancel': true
|
'cancel': true
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
<li>Implemented: Collapsible changelog for previous versions(reported by email)</li>
|
<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: 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>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>
|
</ul>
|
||||||
<div class="topic-label">
|
<div class="topic-label">
|
||||||
Generate rule sets for uBlock or uMatrix
|
Generate rule sets for uBlock or uMatrix
|
||||||
|
|
Loading…
Reference in New Issue