Remove pgl yoyo hosts from reject domain list source

This commit is contained in:
SukkaW
2022-05-13 14:16:18 +08:00
parent c392c35a19
commit 9ca81d4ab7

View File

@@ -10,7 +10,7 @@ const threads = Math.max(require('os').cpus().length, 12);
// Parse from remote hosts & domain lists
(await Promise.all([
processHosts('https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext', true),
// processHosts('https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext', true),
processHosts('https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt'),
processHosts('https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt')
])).forEach(hosts => {
@@ -70,7 +70,8 @@ const threads = Math.max(require('os').cpus().length, 12);
'mixpanel.com',
'heapanalytics.com',
'segment.com',
'segmentify.com'
'segmentify.com',
't.co' // pgl yoyo add t.co to the blacklist
]);
(await Promise.all([