mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 00:25:15 +01:00
Added examples for the allow list Google Fonts (#585)
This commit is contained in:
parent
4ad47aad2c
commit
ef1d2eba3d
@ -150,7 +150,10 @@
|
||||
<div class="description-option" data-i18n-content="blockGoogleFontsDescription">If you use the rules of the rule generator, requests to "fonts.googleapis.com" are allowed to substitute "Google Material Icons" automatically. If you want to block the other requests, enable this option.</div>
|
||||
<div id="div-domains-allowlist-google-fonts">
|
||||
<div class="description-option"><textarea rows="7" id="allowedDomainsGoogleFonts" class="input-text without-checkbox" data-option="allowedDomainsGoogleFonts" type="text"></textarea></div>
|
||||
<div class="description-option" data-i18n-content="labelDomainsAllowlistGoogleFonts">These domains are allowed to load Google Fonts. One domain per line.</div>
|
||||
<div class="description-option">
|
||||
<span data-i18n-content="labelDomainsAllowlistGoogleFonts">These domains are allowed to load Google Fonts. One domain per line.</span><br>
|
||||
<span class="monoblock">✅ example.com<br>✅ sub.example.com<br>❌ https://example.com<br>❌ https://*.example.com<br>❌ https://example.com/page/example.html</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="option">
|
||||
@ -180,7 +183,11 @@
|
||||
<div id="html-filter-domains-title-exclude" class="title-option without-checkbox" data-i18n-content="htmlFilterDomainsTitleExclude">Do not apply HTML filter to these domains:</div>
|
||||
<div id="html-filter-domains-title-include" class="title-option without-checkbox" data-i18n-content="htmlFilterDomainsTitleInclude">Apply HTML filter to these domains:</div>
|
||||
<textarea rows="7" id="domainsManipulateDOM" class="input-text without-checkbox" data-option="domainsManipulateDOM" type="text"></textarea>
|
||||
<div class="description-option without-checkbox" data-i18n-content="htmlFilterDomainsDescription">Enter the domains to be handled or ignored by the HTML filter. One domain per line.</div>
|
||||
<!-- <div class="description-option without-checkbox" data-i18n-content="htmlFilterDomainsDescription">Enter the domains to be handled or ignored by the HTML filter. One domain per line.</div> -->
|
||||
<div class="description-option without-checkbox">
|
||||
<span data-i18n-content="htmlFilterDomainsDescription">Enter the domains to be handled or ignored by the HTML filter. One domain per line.</span><br>
|
||||
<span class="monoblock">✅ example.com<br>✅ sub.example.com<br>❌ https://example.com<br>❌ https://*.example.com<br>❌ https://example.com/page/example.html</span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="option">
|
||||
<div class="title-option">
|
||||
|
@ -56,6 +56,7 @@
|
||||
<p>Improved</p>
|
||||
<ul>
|
||||
<li>FAQ and options page about generated rules (<a href="https://codeberg.org/nobody/LocalCDN/commit/edad875768e00d72ca64cb36d0aa700636e1b0e8">#edad875768</a>)</li>
|
||||
<li>Examples for the allow list Google Fonts(<a href="https://codeberg.org/nobody/LocalCDN/issue/585">#585</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
|
Loading…
Reference in New Issue
Block a user