mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-27 18:42:33 +01:00
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);
|
||||
|
||||
if (requestDetails.url.startsWith('https://fonts.googleapis.com/css?family')) {
|
||||
if(interceptor.blockGoogleFonts) {
|
||||
if(interceptor.blockGoogleFonts === true || interceptor.blockMissing === true) {
|
||||
return {
|
||||
'cancel': true
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user