mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-19 02:04:26 +00:00
deploy: 5f8ab47dd607eda3a1a0c1844f81f5ac6fbbd14e
This commit is contained in:
@@ -227,11 +227,20 @@ function canExcludeFromDedupe (domain) {
|
||||
if (
|
||||
// starts with a dot
|
||||
domain.charCodeAt(0) === 46
|
||||
&& domain.length === 23
|
||||
&& domain.endsWith('.duckdns.org')
|
||||
) {
|
||||
return true;
|
||||
if (
|
||||
domain.endsWith('.web.app')
|
||||
|| domain.endsWith('.duckdns.org')
|
||||
|| domain.endsWith('.firebaseapp.app')
|
||||
|| domain.endsWith('.workers.dev')
|
||||
|| domain.endsWith('.weeblysite.com')
|
||||
|| domain.endsWith('.github.io')
|
||||
|| domain.endsWith('.repl.co')
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user