mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Implemented: Rules for AdGuard (#105)
This commit is contained in:
@@ -41,6 +41,8 @@ ruleGenerator.openRuleSet = function ({ target }) {
|
||||
content += '* ' + domain + ' css allow' + '\n';
|
||||
} else if (key === 'uBlock') {
|
||||
content += '* ' + domain + ' * noop' + '\n';
|
||||
} else if (key === 'AdGuard') {
|
||||
content += '@@||' + domain + '^\n';
|
||||
}
|
||||
}
|
||||
textArea.value = content.replace(/\n+$/, '');
|
||||
|
Reference in New Issue
Block a user