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') { } else if (key === 'AdGuard') {
content += `@@||${domain}^\n`; content += `@@||${domain}^\n`;
} else if (key === 'NoScript') { } else if (key === 'NoScript') {
content += `"$:${domain}",\n`; content += `"§:${domain}",\n`;
} }
} }
textArea.value = content.replace(/\n+$/, ''); textArea.value = content.replace(/\n+$/, '');

View File

@ -29,6 +29,10 @@
<ul> <ul>
<li>corejs-typeahead v1.3.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/923">#923</a>)</li> <li>corejs-typeahead v1.3.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/923">#923</a>)</li>
</ul> </ul>
<p>Fixed</p>
<ul>
<li>Wrong NoScript rule syntax (<a href="https://codeberg.org/nobody/LocalCDN/issues/924">#924</a>)</li>
</ul>
</div> </div>
<div id="generator-section"> <div id="generator-section">
<div class="topic-label"> <div class="topic-label">