Improved: Handling with blocked resources
This commit is contained in:
parent
e8445ccde4
commit
b35ab41f5e
|
@ -35,11 +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 === true || interceptor.blockMissing === true) {
|
||||
return {
|
||||
'cancel': true
|
||||
};
|
||||
} else {
|
||||
if(interceptor.blockGoogleFonts !== false && interceptor.blockMissing !== false) {
|
||||
return {
|
||||
'cancel': false
|
||||
};
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
New in LocalCDN:
|
||||
</div>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Improved: Handling with blocked resources (reported by email)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue