1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Chromium: Remove option to block Google Fonts (#1085)

This commit is contained in:
nobody
2022-07-27 18:22:49 +02:00
parent 61957fb94f
commit f1fb6c9a17
7 changed files with 11 additions and 13 deletions

View File

@@ -38,6 +38,11 @@ ruleGenerator.openRuleSet = function ({target}) {
textArea.style.display = 'block';
btnCopy.style.display = 'block';
if (!BrowserType.FIREFOX) {
delete urls['fonts.googleapis.com'];
delete urls['fonts.gstatic.com'];
}
for (const domain in urls) {
if (key === 'uMatrix') {
content += `* ${domain} script allow\n`;