Browse Source

Remove pgl yoyo hosts from reject domain list source

SukkaW 3 years ago
parent
commit
9ca81d4ab7
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Build/build-reject-domainset.js

+ 3 - 2
Build/build-reject-domainset.js

@@ -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([