mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-14 02:00:37 +08:00
Update Reject Rule & Reject Keyword List
This commit is contained in:
parent
34850d1f19
commit
75e74827b5
@ -1,9 +1,6 @@
|
|||||||
const Piscina = require('piscina');
|
const Piscina = require('piscina');
|
||||||
// pre check if fullset domain is starts with a "."
|
|
||||||
// This avoid calling chatCodeAt repeatedly
|
|
||||||
const { canExcludeFromDedupe } = require('../lib/parse-filter')
|
const { canExcludeFromDedupe } = require('../lib/parse-filter')
|
||||||
|
|
||||||
// workerData is an array of string, sorted by length, short first
|
|
||||||
const fullsetDomainStartsWithADot = Piscina.workerData
|
const fullsetDomainStartsWithADot = Piscina.workerData
|
||||||
const totalLen = fullsetDomainStartsWithADot.length;
|
const totalLen = fullsetDomainStartsWithADot.length;
|
||||||
|
|
||||||
@ -45,11 +42,8 @@ module.exports.dedupe = ({ chunk }) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else if (domainFromInputLen > domainFromFullSetLen) {
|
||||||
|
// domainFromInput is now startsWith a "."
|
||||||
// domainFromInput is now startsWith a "."
|
|
||||||
|
|
||||||
if (domainFromInputLen >= domainFromFullSetLen) {
|
|
||||||
if (domainFromInput.endsWith(domainFromFullSet)) {
|
if (domainFromInput.endsWith(domainFromFullSet)) {
|
||||||
outputToBeRemoved[i] = 1;
|
outputToBeRemoved[i] = 1;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -617,6 +617,7 @@ analytics.slashdotmedia.com
|
|||||||
.collect.yinyuetai.com
|
.collect.yinyuetai.com
|
||||||
.sdklog.uu.cc
|
.sdklog.uu.cc
|
||||||
.tagtic.cn
|
.tagtic.cn
|
||||||
|
sa.holopin.io
|
||||||
|
|
||||||
.adjust.io
|
.adjust.io
|
||||||
.airbrake.io
|
.airbrake.io
|
||||||
|
|||||||
@ -35,6 +35,11 @@ DOMAIN-KEYWORD,49329d48d6c.
|
|||||||
DOMAIN-KEYWORD,vsvevvcca
|
DOMAIN-KEYWORD,vsvevvcca
|
||||||
DOMAIN-KEYWORD,envci.
|
DOMAIN-KEYWORD,envci.
|
||||||
DOMAIN-KEYWORD,aarsenvs.
|
DOMAIN-KEYWORD,aarsenvs.
|
||||||
|
DOMAIN-KEYWORD,.myjaas
|
||||||
|
DOMAIN-KEYWORD,eb.myja
|
||||||
|
DOMAIN-KEYWORD,eb.myje
|
||||||
|
DOMAIN-KEYWORD,eb.myjo
|
||||||
|
DOMAIN-KEYWORD,sb.myja
|
||||||
|
|
||||||
# --- End of Blacklist Section
|
# --- End of Blacklist Section
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user