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

Wrong NoScript rule syntax (#924)

This commit is contained in:
nobody
2022-04-04 06:17:40 +02:00
parent 5ec075ee32
commit dccc0b1574
2 changed files with 5 additions and 1 deletions

View File

@ -47,7 +47,7 @@ ruleGenerator.openRuleSet = function ({target}) {
} else if (key === 'AdGuard') {
content += `@@||${domain}^\n`;
} else if (key === 'NoScript') {
content += `"$:${domain}",\n`;
content += `"§:${domain}",\n`;
}
}
textArea.value = content.replace(/\n+$/, '');