mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-20 02:44:25 +00:00
deploy: d195e90338bd5d4395f13b64a59637305d2a11d9
This commit is contained in:
@@ -90,7 +90,7 @@ async function processFilterRules(filterRulesUrl) {
|
|||||||
|| line.includes('!')
|
|| line.includes('!')
|
||||||
|| line.includes('*')
|
|| line.includes('*')
|
||||||
|| line.includes('/')
|
|| line.includes('/')
|
||||||
|| line.includes('$') && !line.startsWith('@@')
|
|| line.includes('$') && !line.startsWith('||')
|
||||||
|| line.trim() === ''
|
|| line.trim() === ''
|
||||||
|| isIP(line) !== 0
|
|| isIP(line) !== 0
|
||||||
) {
|
) {
|
||||||
@@ -98,7 +98,7 @@ async function processFilterRules(filterRulesUrl) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (line.startsWith('||') && line.endsWith('^$badfilter')) {
|
if (line.startsWith('||') && line.endsWith('^$badfilter')) {
|
||||||
const domain = line.replaceAll('||', '').replaceAll('^$badfilter', '').trim();
|
const domain = line.replace('||', '').replace('^$badfilter', '').trim();
|
||||||
if (rDomain.test(domain)) {
|
if (rDomain.test(domain)) {
|
||||||
whitelistDomainSets.add(domain);
|
whitelistDomainSets.add(domain);
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,7 @@
|
|||||||
<main class="container">
|
<main class="container">
|
||||||
<h1>Sukka Surge Ruleset Server</h1>
|
<h1>Sukka Surge Ruleset Server</h1>
|
||||||
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
|
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
|
||||||
<p>Last Updated: 2022-06-09T12:44:47.485Z</p>
|
<p>Last Updated: 2022-06-10T09:00:57.660Z</p>
|
||||||
<hr>
|
<hr>
|
||||||
<br>
|
<br>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user