1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-01-09 16:53:29 +01:00

Typo fixed (#815)

This commit is contained in:
nobody 2021-12-18 09:49:24 +01:00
parent 6271e3e188
commit c6c3f0bb88
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 4 additions and 4 deletions

View File

@ -51,13 +51,13 @@ requestAnalyzer.isValidCandidate = function (requestDetails, tabDetails) {
}
// Font Awesome injections in Chromium deactivated (https://gitlab.com/nobody42/localcdn/-/issues/67)
if (BrowserType.CHROMIUM) {
if (!BrowserType.FIREFOX) {
if (requestDetails.url.includes('font-awesome') || requestDetails.url.includes('fontawesome')) {
console.warn(`${LogString.PREFIX} ${LogString.FONT_AWESOME}`);
log.append(tabDetails.url, requestDetails.url, LogString.FONT_AWESOME, true);
return false;
}
if (requestAnalyzer._isGoogleMaterialIcons(requestedDomain, requestDetails.url)) {
if (requestAnalyzer.isGoogleMaterialIcons(requestedDomain, requestDetails.url)) {
// also valid for Google Material icons
console.warn(`${LogString.PREFIX} ${LogString.GOOGLE_MATERIAL_ICONS}`);
log.append(tabDetails.url, requestDetails.url, LogString.GOOGLE_MATERIAL_ICONS, true);

View File

@ -25,9 +25,9 @@
<h2>New in LocalCDN:</h2>
</div>
<div class="release-notes-area">
<p></p>
<p>Fixed</p>
<ul>
<li></li>
<li>Typo in the name of a function (<a href="https://codeberg.org/nobody/LocalCDN/issues/815">#815</a>)</li>
</ul>
</div>
<div id="generator-section">