Wrong NoScript rule syntax (#924)

This commit is contained in:
nobody 2022-04-04 06:17:40 +02:00
parent 5ec075ee32
commit dccc0b1574
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
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+$/, '');

View File

@ -29,6 +29,10 @@
<ul>
<li>corejs-typeahead v1.3.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/923">#923</a>)</li>
</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 id="generator-section">
<div class="topic-label">