From 4965909e49d9b2ba59c9bd4646da2e77b635588e Mon Sep 17 00:00:00 2001 From: gently <1243610+gentlyxu@users.noreply.github.com> Date: Thu, 13 Feb 2020 17:17:19 +0800 Subject: [PATCH] update white rules, fixed #38 --- anti-ad-easylist.txt | 5 +++-- tools/easylist-extend.php | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/anti-ad-easylist.txt b/anti-ad-easylist.txt index 808b27fa..824f6cf2 100644 --- a/anti-ad-easylist.txt +++ b/anti-ad-easylist.txt @@ -1,7 +1,7 @@ !TITLE=anti-AD -!VER=20200213025631 +!VER=20200213091608 !URL=https://github.com/privacy-protection-tools/anti-AD -!TOTAL_LINES=30092 +!TOTAL_LINES=30093 ||201*.myhard.com^ ||8*.tianya.cn^ ||a*.chajiaotong.com^ @@ -30094,3 +30094,4 @@ @@||tracking.epicgames.com^ @@||tracker.eu.org^ @@||1.itzmx.com^ +@@||stats.uptimerobot.com^ diff --git a/tools/easylist-extend.php b/tools/easylist-extend.php index 637e7b7e..5927da42 100644 --- a/tools/easylist-extend.php +++ b/tools/easylist-extend.php @@ -90,11 +90,12 @@ $ARR_REGEX_LIST = array( //对通配符匹配或正则匹配增加的额外赦免规则 $ARR_WHITE_RULE_LIST = array( '@@||tongji.*kuwo.cn^' => 0, - '@@||ntp.org^' => 1, //针对上面正则表达式的一个赦免规则,例如:2.android.pool.ntp.org + '@@||ntp.org^' => 1, //强制加白,针对上面正则表达式的一个赦免规则,例如:2.android.pool.ntp.org '@@||*push-apple.com.akadns.net^' => 1, //强制加白, 苹果推送2.courier-push-apple.com.akadns.net '@@||tracking.epicgames.com^' => 0, - '@@||tracker.eu.org^' => 1, //BT tracker + '@@||tracker.eu.org^' => 1, //强制加白,BT tracker,有形如2.tracker.eu.org的域 '@@||1.itzmx.com^' => 0, //PT tracker + '@@||stats.uptimerobot.com^' => 0, //uptimerobot监测相关 ); //针对上游赦免规则anti-AD不予赦免的规则,即赦免名单的黑名单